Branch: master
-
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-40061: Fix a possible refleak in _asynciomodule.c (GH-19748)
tup should be decrefed in the unlikely event of a PyList_New() failure.
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 -
closes bpo-29017: Update the bindings for Qt information with PySide2 (β¦
β¦GH-20149) Reference to PySide has been removed has it is for Qt 4, which has reached end of life.
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-39885: Make IDLE context menu cut and copy work again (GH-18951)
Leave selection when right click within. This exception to clearing selections when right-clicking was omitted from the previous commit, 4ca060d. I did not realize that this completely disabled the context menu entries, and I should have merged a minimal fix immediately. An automated test should follow.
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-29882: Add an efficient popcount method for integers (#771)
* bpo-29882: Add an efficient popcount method for integers * Update 'sign bit' and versionadded in docs * Add entry to whatsnew document * Doc: use positive example, mention population count * Minor cleanups of the core code * Move popcount_digit closer to where it's used * Use z instead of self after conversion * Add 'absolute value' and 'population count' to docstring * Fix clinic error about missing summary line * Ensure popcount_digit is portable with 64-bit ints Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
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 -
Further de-linting of zoneinfo module (#20499)
* Remove unused imports in zoneinfo * Remove unused variables in zoneinfo * Remove else after raise
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 -
Indicate that abs() method accept argument that implement __abs__(), β¦
β¦just like call() method in the docs (GH-20509)
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-39040: Fix parsing of email mime headers with whitespace between β¦
β¦encoded-words. (gh-17620) * bpo-39040: Fix parsing of email headers with encoded-words inside a quoted string. It is fairly common to find malformed mime headers (especially content-disposition headers) where the parameter values, instead of being encoded to RFC standards, are "encoded" by doing RFC 2047 "encoded word" encoding, and then enclosing the whole thing in quotes. The processing of these malformed headers was incorrectly leaving the spaces between encoded words in the decoded text (whitespace between adjacent encoded words is supposed to be stripped on decoding). This changeset fixes the encoded word processing inside quoted strings (bare-quoted-string) to do correct RFC 2047 decoding by stripping that whitespace.
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-40474: Updated coverage.yml to better report coverage stats (#19851)
Currently modules which are imported early are misreported in coverage. A fix is documented in the devguide, but the fix wasn't being used in CI.
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-1294959: Try to clarify the meaning of platlibdir (GH-20332)
Try to make the meaning of platlibdir clear. The previous wording could be misinterpreted to suggest that it will be used to find all shared libraries on the system, and not just Python extensions. Furthermore, it was unclear whether it affects third-party (site-packages) extensions or not. The new wording tries to make its dual purpose clear, and provide the additional example of extensions in site-packages.
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-37878: PyThreadState_DeleteCurrent() was not removed (GH-20489)
Update What's New in Python 3.9. PyThreadState_DeleteCurrent was not removed, but excluded from the limited C API.
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-25920: Remove socket.getaddrinfo() lock on macOS (GH-20177)
On macOS, socket.getaddrinfo() no longer uses an internal lock to prevent race conditions when calling getaddrinfo(). getaddrinfo is thread-safe is macOS 10.5, whereas Python 3.9 requires macOS 10.6 or newer. The lock was also used on FreeBSD older than 5.3, OpenBSD older than 201311 and NetBSD older than 4.
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-40275: Fix test.support.threading_helper (GH-20488)
* Add missing sys import * Get verbose and gc_collect() from test.support * Remove unused starttime variable. Issues spotted by pyflakes.
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-40275: Remove test.support.TESTFN_ENCODING (GH-20482)
Replace test.support.TESTFN_ENCODING with sys.getfilesystemencoding().
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-30064: Fix unstable asyncio "racing" socket tests (GH-20485)
Skip new "racing" socket tests which fail randomly until someone fix them, to ease analysis of buildbot failures (skip tests which are known to be broken/unstable).
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 -
Revert "Upgrade bundled versions of pip & setuptools (#16782)" (GH-20484
) This reverts commit feb0846.
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-40792: Make the result of PyNumber_Index() always having exact tyβ¦
β¦pe int. (GH-20443) Previously, the result could have been an instance of a subclass of int. Also revert bpo-26202 and make attributes start, stop and step of the range object having exact type int. Add private function _PyNumber_Index() which preserves the old behavior of PyNumber_Index() for performance to use it in the conversion functions like PyLong_AsLong().
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 -
Improve IO tutorial's "Old string formatting" section (GH-16251)
* Use a more universal explanation of string interpolation rather than specifically referencing sprintf(), which depends on the reader having a C background. Co-authored-by: Kyle Stanley <aeros167@gmail.com>
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-40275: test.support imports subprocess lazily (GH-20471)
test.support module now imports the platform and subprocess modules lazily to reduce the number of modules imported by "import test.support". With this change, the threading module is no longer imported indirectly by "import test.support". Use sys.version rather than platform.machine() to detect the Windows ARM32 buildbot.
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-40275: test.support.check_impl_detail() uses sys.implementation (Gβ¦
β¦H-20468) check_impl_detail() of test.support now uses sys.implementation.name, instead of platform.python_implementation().lower(). This change prepares test.support to import the platform module lazily.
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-40795: ctypes calls unraisablehook with an exception (GH-20452)
If ctypes fails to convert the result of a callback or if a ctypes callback function raises an exception, sys.unraisablehook is now called with an exception set. Previously, the error was logged into stderr by PyErr_Print().
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 -
Fix compiler warnings in _zoneinfo.c (GH-20342)
``` D:\a\cpython\cpython\Modules\_zoneinfo.c(903,52): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_zoneinfo.vcxproj] D:\a\cpython\cpython\Modules\_zoneinfo.c(904,44): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_zoneinfo.vcxproj] D:\a\cpython\cpython\Modules\_zoneinfo.c(1772,31): warning C4244: '=': conversion from 'ssize_t' to 'uint8_t', possible loss of data [D:\a\cpython\cpython\PCbuild\_zoneinfo.vcxproj] ```
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-40614: Respect feature version for f-string debug expressions (GHβ¦
β¦-20196) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
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