master
Commits on Oct 7, 2020
-
Fix comment about PyObject_IsTrue. (GH-22343)
The `for` statement doesn't use a condition and this function, the `while` statement does.
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Oct 6, 2020
-
bpo-38605: Make 'from __future__ import annotations' the default (GH-β¦
β¦20434) The hard part was making all the tests pass; there are some subtle issues here, because apparently the future import wasn't tested very thoroughly in previous Python versions. For example, `inspect.signature()` returned type objects normally (except for forward references), but strings with the future import. We changed it to try and return type objects by calling `typing.get_type_hints()`, but fall back on returning strings if that function fails (which it may do if there are future references in the annotations that require passing in a specific namespace to resolve).
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
bpo-41905: Add abc.update_abstractmethods() (GH-22485)
This function recomputes `cls.__abstractmethods__`. Also update `@dataclass` to use it.
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
bpo-41944: No longer call eval() on content received via HTTP in the β¦
β¦UnicodeNames tests (GH-22575) Similarly to GH-22566, those tests called eval() on content received via HTTP in test_named_sequences_full. This likely isn't exploitable because unicodedata.lookup(seqname) is called before self.checkletter(seqname, None) - thus any string which isn't a valid unicode character name wouldn't ever reach the checkletter method. Still, it's probably better to be safe than sorry.
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
bpo-41944: No longer call eval() on content received via HTTP in the β¦
β¦CJK codec tests (GH-22566)
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Oct 5, 2020
-
Verified
This commit was signed with a verified signature.pablogsal Pablo Galindo
GPG key ID: FFE87404168BD847 Learn about signing commits -
pablogsal committed
Oct 5, 2020 Verified
This commit was signed with a verified signature.pablogsal Pablo Galindo
GPG key ID: FFE87404168BD847 Learn about signing commits -
bpo-41584: clarify when the reflected method of a binary arithemtic oβ¦
β¦perator is called (#22505)
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
bpo-41939: Fix test_site.test_license_exists_at_url() (#22559)
Call urllib.request.urlcleanup() to reset the global urllib.request._opener.
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
bpo-41774: Tweak new programming FAQ entry (GH-22562)
Remove mention of space in "remove multiple items from list".
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Oct 4, 2020
-
bpo-41892: Clarify that an example in the ElementTree docs explicitlyβ¦
β¦ avoids modifying an XML tree while iterating over it. (GH-22464)
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
bpo-41909: Enable previously disabled recursion checks. (GH-22536)
Enable recursion checks which were disabled when get __bases__ of non-type objects in issubclass() and isinstance() and when intern strings. It fixes a stack overflow when getting __bases__ leads to infinite recursion. Originally recursion checks was disabled for PyDict_GetItem() which silences all errors including the one raised in case of detected recursion and can return incorrect result. But now the code uses PyDict_GetItemWithError() and PyDict_SetDefault() instead.
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Multiple typo fixes in code comments Automerge-Triggered-By: @Mariatta
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
bpo-41887: omit leading spaces/tabs on ast.literal_eval (#22469)
Also document that eval() does this (the same way).
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Oct 3, 2020
-
[doc] Use list[int] instead of List[int] (etc.) in a few more places (Gβ¦
β¦H-22524) This changes a few occurrences left behind by #22340. Automerge-Triggered-By: @gvanrossum
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
bpo-41840: Report module-level globals as both local and global in thβ¦
β¦e symtable module (GH-22391)
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
[doc] Fix link to abc.collections.Iterable (GH-22520)
Missed this occurrence before, sorry. Also changed "the PEP" to "PEP". Automerge-Triggered-By: @gvanrossum
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
bpo-40564: Avoid copying state from extant ZipFile. (GH-22371)
bpo-40564: Avoid copying state from extant ZipFile.
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
bpo-41826: Fix compiler warnings in test_peg_generator (GH-22455)
Co-authored-by: Skip Montanaro
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
bpo-41900: C14N 2.0 serialisation failed for unprefixed attributes whβ¦
β¦en a default namespace was defined. (GH-22474)
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
Commits on Oct 2, 2020
-
[doc] Fix link to abc.collections.Iterable (GH-22502)
Automerge-Triggered-By: @gvanrossum
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Typo fix - "mesasge" should be "message" (GH-22498)
* Correct at 2 places in email module
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
bpo-41692: Deprecate PyUnicode_InternImmortal() (GH-22486)
The PyUnicode_InternImmortal() function is now deprecated and will be removed in Python 3.12: use PyUnicode_InternInPlace() instead.
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHubβs key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits