Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
37126e7 bpo-40164: Update Windows to OpenSSL 1.1.1f (GH-19359) 04 April 2020, 14:47:40 UTC
1533772 bpo-38689: avoid IDLE hanging when calltip fails getting a signature (GH-17152) Inspect.signature failed on the test case because its isinstance call raised. (cherry picked from commit 52013e5b6d5ca32eef5a3d65ecdf7db89cefc2fd) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 04 April 2020, 03:25:06 UTC
e6685ad bpo-40158: Fix CPython MSBuild Properties in NuGet Package (GH-19343) Fix default Python home path relative to the NuGet package (cherry picked from commit 6e623ff9d251e0ce86e9b18a01bfd6f067079d7a) Co-authored-by: Chris Martinez <sydefekt@hotmail.com> 03 April 2020, 22:20:12 UTC
e678398 bpo-40131: Fix source and target order in zipapp example (GH-19290) (GH-19339) (cherry picked from commit bd6a4c3d72828d3d0e13922e165998539d24f8bc) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 03 April 2020, 17:13:58 UTC
77c623b bpo-40122: Updated documentation for dis.findlabels() (GH-19274) (cherry picked from commit b74468e233a5137ff518e61eff65ca2d8833e38a) Co-authored-by: laike9m <laike9m@users.noreply.github.com> 03 April 2020, 08:07:16 UTC
f2296ef bpo-40146: Update OpenSSL to 1.1.1f in Azure Pipelines (GH-19320) Update also OpenSSL version in Ubuntu and Coverage jobs. (cherry picked from commit 1767a0490f80c7b90d81051db24ef2b82cd9434f) Co-authored-by: Victor Stinner <vstinner@python.org> 03 April 2020, 01:25:51 UTC
1c325c4 bpo-40162: Update Travis CI config to OpenSSL 1.1.1f (GH-19319) (cherry picked from commit b1ffb8b72307a556442d09b427c3b29badb9878c) Co-authored-by: Victor Stinner <vstinner@python.org> 03 April 2020, 01:21:54 UTC
745bd91 bpo-40140: test_builtin.PtyTests registers SIGHUP handler (GH-19314) (GH-19316) test_builtin.PtyTests now registers an handler for SIGHUP signal. Closing the PTY file descriptor can emit a SIGHUP signal: just ignore it. run_child() now also closes the PTY file descriptor before waiting for the process completition, otherwise the test hangs on AIX. (cherry picked from commit 7a51a7e19f0143f75f8fc9ff68f93ed40937aec6) 03 April 2020, 00:11:54 UTC
1098671 lib2to3: Support named assignment expressions (GH-12702) There are two copies of the grammar -- the one used by Python itself as Grammar/Grammar, and the one used by lib2to3 which has necessarily diverged at Lib/lib2to3/Grammar.txt because it needs to support older syntax an we want it to be reasonable stable to avoid requiring fixer rewrites. This brings suport for syntax like `if x:= foo():` to match what the live Python grammar does. This should've been added at the time of the walrus operator itself, but lib2to3 being independent is often overlooked. So we do consider this a bugfix rather than enhancement. (cherry picked from commit 3c3aa4516c70753de06bb142b6793d01330fcf0f) Co-authored-by: Tim Hatch <tim@timhatch.com> 02 April 2020, 23:03:09 UTC
b7345c2 bpo-38972: Link to instructions to change PowerShell execution policy (GH-19131) (cherry picked from commit 45217af29c7f380089af17beb48a5ea0560bbb9d) Co-authored-by: Derek Keeler <d3r3kk@users.noreply.github.com> 02 April 2020, 19:19:41 UTC
ea9e240 bpo-39503: CVE-2020-8492: Fix AbstractBasicAuthHandler (GH-18284) (GH-19296) The AbstractBasicAuthHandler class of the urllib.request module uses an inefficient regular expression which can be exploited by an attacker to cause a denial of service. Fix the regex to prevent the catastrophic backtracking. Vulnerability reported by Ben Caller and Matt Schwager. AbstractBasicAuthHandler of urllib.request now parses all WWW-Authenticate HTTP headers and accepts multiple challenges per header: use the realm of the first Basic challenge. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> (cherry picked from commit 0b297d4ff1c0e4480ad33acae793fbaf4bf015b4) 02 April 2020, 10:15:55 UTC
40fff1f bpo-40146: Update OpenSSL to 1.1.1f in Azure Pipelines (GH-19288) (cherry picked from commit 224e1c34d677ef42fe665ac008a000d4dcec1398) Co-authored-by: Victor Stinner <vstinner@python.org> 02 April 2020, 01:26:09 UTC
267afc2 bpo-40094: Enhance os.WIFEXITED documentation (GH-19244) (GH-19277) (cherry picked from commit 7c72383f95b0cdedf390726069428d7b69ed2597) Co-authored-by: Victor Stinner <vstinner@python.org> 01 April 2020, 23:26:55 UTC
fc03640 bpo-38527: fix configure script for Solaris (GH-16845) On Solaris, the regular "grep" command may be an old version that fails to search a binary file. We need to use the correct command (ggrep, in our case), which is found by the configure script earlier. Automerge-Triggered-By: @pablogsal (cherry picked from commit 5dd836030e0e399b21ab0865ae0d93934bdb3930) Co-authored-by: Arnon Yaari <wiggin15@yahoo.com> 01 April 2020, 15:38:17 UTC
f971c8c bpo-40121: Fix exception type in test (GH-19267) (cherry picked from commit 3ef4a7e5a7c29e17d5152d1fa6ceeb1fee269699) Co-authored-by: Steve Dower <steve.dower@python.org> 01 April 2020, 13:02:55 UTC
6acafee Handle when IOCTL_VM_SOCKETS_GET_LOCAL_CID does not exist in "socket" (GH-19270) Running `test_socket` or anything that depends on it (like python -m test.pythoninfo) crashes if IOCTL_VM_SOCKETS_GET_LOCAL_CID does not exist in the socket module. Automerge-Triggered-By: @pablogsal (cherry picked from commit 6eb9619c88612565b424be14196a8adae6d51978) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 01 April 2020, 01:25:34 UTC
40e1b04 Document most common signals (GH-19245) (GH-19257) Document individual signals (only the most common signals): description, default action, availability. (cherry picked from commit 400e1dbcad93061f1f7ab4735202daaa5e731507) 31 March 2020, 17:44:28 UTC
4ced9a7 bpo-40019: Skip test_gdb if Python was optimized (GH-19081) test_gdb now skips tests if it detects that gdb failed to read debug information because the Python binary is optimized. (cherry picked from commit 7bf069b6110278102c8f4719975a5eb5a5af25f9) Co-authored-by: Victor Stinner <vstinner@python.org> 31 March 2020, 17:27:41 UTC
fb6e04b closes bpo-40125: Update multissltests.py to use OpenSSL 1.1.1f. (GH-19248) (cherry picked from commit cd16661f903153ecac55f190ed682e576c5deb24) Co-authored-by: Benjamin Peterson <benjamin@python.org> 31 March 2020, 16:08:49 UTC
572ef74 bpo-39689: Do not use native packing for format "?" with standard size (GH-18969) (cherry picked from commit 472fc843ca816d65c12f9508ac762ca492165c45) Co-authored-by: Stefan Krah <skrah@bytereef.org> 31 March 2020, 12:26:05 UTC
6a0ee60 bpo-40121: Fixes audit event raised on creating a new socket (GH-19238) (cherry picked from commit 63ba5cccf484b9ec23dfbf4cf7ffdc833eda98c3) Co-authored-by: Steve Dower <steve.dower@python.org> 31 March 2020, 11:57:06 UTC
6c9a2a8 fix comma location in various places (GH-19233) (cherry picked from commit c49016e67c3255b37599b354a8d7995d40663991) Co-authored-by: Mathieu Dupuy <deronnax@users.noreply.github.com> 30 March 2020, 21:34:31 UTC
8c3ab18 bpo-38002: Use False/True for IDLE pyshell bools (GH-19203) Change 0/1 assignments to 'executing', 'canceled', 'reading', 'endoffile'. These are not used outside of pyshell. Other bools already use False/True. Add comment about int needed for Windows call. Remove self.more, unused in idlelib and code.InteractiveInterpreter. The latter uses 'more' as a local. (cherry picked from commit 34a49aa3e4d023b5f9e9029f4f1ec68f1a8a8120) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 March 2020, 17:16:03 UTC
bb85226 bpo-40045: Make "dunder" method documentation easier to locate (GH-19153) (GH-19198) * issue 40045 * Update lexical_analysis.rst Make "dunder" method documentation easier(GH-19153) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> (cherry picked from commit 5f9c131c099d6675d1a9d0228497865488afd548) Co-authored-by: Javad Mokhtari <javadmokhtari@outlook.com> Co-authored-by: Javad Mokhtari <javadmokhtari@outlook.com> 27 March 2020, 19:15:11 UTC
9c5c497 bpo-38237: Use divmod for positional arguments whatsnew example (GH-19171) (cherry picked from commit 5a58c5280b8df4ca5d6a19892b24fff96e9ea868) Co-authored-by: Ammar Askar <ammar@ammaraskar.com> 27 March 2020, 16:45:05 UTC
8dad09a bpo-19698: Document when importlib.machinery.FrozenImporter gained spec-related methods (GH-19158) (#19164) (cherry picked from commit 302e5a8f79514fd84bafbc44b7c97ec636302322) Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> 26 March 2020, 17:15:05 UTC
b05fbe9 bpo-1812: Fix newline conversion when doctest.testfile loads from a package whose loader has a get_data method (GH-17385) This pull request fixes the newline conversion bug originally reported in bpo-1812. When that issue was originally submitted, the open builtin did not default to universal newline mode; now it does, which makes the issue fix simpler, since the only code path that needs to be changed is the one in doctest._load_testfile where the file is loaded from a package whose loader has a get_data method. (cherry picked from commit e0b8101492f6c61dee831425b4d3dae39a953599) Co-authored-by: Peter Donis <peterdonis@alum.mit.edu> 26 March 2020, 16:18:52 UTC
96686c7 bpo-39879: Update datamodel docs to include dict ordering (GH-19006) Co-authored-by: furkanonder <furkantahaonder@gmail.com> (cherry picked from commit 59c644eaa72b0cc48302f59d66852c4ea8332eba) Co-authored-by: Lahfa Samy <lahfa121999@gmail.com> 26 March 2020, 15:00:46 UTC
686d508 bpo-40016: re docstring: Clarify relationship of inline and argument flags (GH-19078) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 89a2209ae6fc5f39868621799730e16f931eb497) Co-authored-by: Ram Rachum <ram@rachum.com> 25 March 2020, 19:01:31 UTC
2227c1a bpo-40013: Clarify documentation of restval in csv.DictReader (GH-19099) (GH-19141) (cherry picked from commit 4b3252cb764807fdb3a661b458d43e4af55cf4df) Co-authored-by: Juhana Jauhiainen <juhana.jauhiainen@gmail.com> 25 March 2020, 07:00:53 UTC
af6fd1f bpo-40014: Fix os.getgrouplist() (GH-19126) Fix os.getgrouplist(): if getgrouplist() function fails because the group list is too small, retry with a larger group list. On failure, the glibc implementation of getgrouplist() sets ngroups to the total number of groups. For other implementations, double the group list size. (cherry picked from commit f5c7cabb2be4e42a5975ba8aac8bb458c8d9d6d7) Co-authored-by: Victor Stinner <vstinner@python.org> 24 March 2020, 17:40:31 UTC
8cd48b6 Clarify a guarantee of the logging module. (GH-19132) When no additional arguments are passed to logging.debug() and related methods, no % operation is performed on the passed in message. (cherry picked from commit 9b8e74ca77da7167033917d155e5f55c67b92f14) Co-authored-by: Gregory P. Smith <greg@krypto.org> 24 March 2020, 16:54:40 UTC
e97c8b0 bpo-20526: Fix PyThreadState_Clear(): don't decref frame (GH-19120) (GH-19136) PyThreadState.frame is a borrowed reference, not a strong reference: PyThreadState_Clear() must not call Py_CLEAR(tstate->frame). Remove test_threading.test_warnings_at_exit(): we cannot warranty that the Python thread state of daemon threads is cleared in a reliable way during Python shutdown. (cherry picked from commit 5804f878e779712e803be927ca8a6df389d82cdf) 24 March 2020, 16:12:19 UTC
21bee0b bpo-40014: Fix os.getgrouplist() on macOS (GH-19118) On macOS, getgrouplist() returns a non-zero value without setting errno if the group list is too small. Double the list size and call it again in this case. (cherry picked from commit 8ec7370c89aa522602eb9604086ce9f09770953d) Co-authored-by: Victor Stinner <vstinner@python.org> 23 March 2020, 19:18:41 UTC
c959fa9 bpo-22490: Remove __PYVENV_LAUNCHER__ from environment during launch (GH-9516) (GH-19110) * bpo-22490: Remove "__PYVENV_LAUNCHER__" from the shell environment on macOS This changeset removes the environment varialbe "__PYVENV_LAUNCHER__" during interpreter launch as it is only needed to communicate between the stub executable in framework installs and the actual interpreter. Leaving the environment variable present may lead to misbehaviour when launching other scripts. * Actually commit the changes for issue 22490... * Correct typo Co-Authored-By: Nicola Soranzo <nicola.soranzo@gmail.com> * Run make patchcheck Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com> (cherry picked from commit 044cf94f610e831464a69a8e713dad89878824ce) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> 22 March 2020, 18:56:26 UTC
687f592 bpo-39652: Truncate the column name after '[' only if PARSE_COLNAMES is set. (GH-18942) (cherry picked from commit b146568dfcbcd7409c724f8917e4f77433dd56e4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 21 March 2020, 14:32:25 UTC
ba26bf3 [3.8] bpo-27807: Skip test_site.test_startup_imports() if pth file (GH-19060) (GH-19090) test_site.test_startup_imports() is now skipped if a path of sys.path contains a .pth file. Sort test_site imports. 20 March 2020, 14:10:14 UTC
2972336 bpo-39797 Changes to socketserver.BaseServer's shutdown() method. (GH-18929) Automerge-Triggered-By: @ned-deily (cherry picked from commit 2de7ac97981c30e9c1001b05a771f52a41772c54) Co-authored-by: amaajemyfren <32741226+amaajemyfren@users.noreply.github.com> 20 March 2020, 08:08:52 UTC
2477aed Fix "versionchanged" for pow named arguments (GH-19042) (GH-19079) The ability to use named arguments in "pow" was introduced in Python 3.8, not Python 3.9. See https://bugs.python.org/issue38237 (cherry picked from commit c691f209523e20797c7b696c3f171b37429f5b3f) Co-authored-by: Mark Dickinson <mdickinson@enthought.com> 19 March 2020, 18:35:02 UTC
ec8a973 bpo-39562: Allow executing asynchronous comprehensions in the asyncio REPL (GH-18968) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> (cherry picked from commit 9052f7a41b90f2d34011c8da68f9a4facebc8a97) Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com> 19 March 2020, 11:54:16 UTC
da1fe76 bpo-39973: Fix the docs for PyObject_GenericSetDict() (GH-19026) PyObject_GenericSetDict() takes three arguments, not two. (cherry picked from commit a45b695b9fcfbbb0a087222abc5c8d691a7d2770) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 17 March 2020, 08:25:34 UTC
046255c bpo-35370: PyEval_SetTrace() logs unraisable error (GH-18977) (GH-19029) If PySys_Audit() fails in PyEval_SetProfile() or PyEval_SetTrace(), log the error as an unraisable exception. (cherry picked from commit f6a58507820c67e8d0fb07875cd1b1d9f5e510a8) 16 March 2020, 17:18:20 UTC
7f5302f bpo-39360: Ensure all workers exit when finalizing a multiprocessing Pool (GH-19009) When the pull is not used via the context manager or terminate() is called, there is a system in multiprocessing.util that handles finalization of all pools via an atexit handler (the Finalize) class. This class registers the _terminate_pool handler in the registry of finalizers of the module, and that registry is called on interpreter exit via _exit_function. The problem is that the "happy" path with the context manager or manual call to finalize() does some extra steps that _terminate_pool does not. The step that is not executed when the atexit() handler calls _terminate_pool is pinging the _change_notifier queue to unblock the maintenance threads. This commit moves the notification to the _terminate_pool function so is called from both code paths. Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> (cherry picked from commit ac10e0c93218627d1a639db0b7b41714c5f6a883) Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com> 15 March 2020, 21:26:43 UTC
890dcfe Fix a possible refleak in tupleobject.c (GH-19018) (cherry picked from commit c81609e44eed641d3b8a137daa31ef35501c1f85) Co-authored-by: Hai Shi <shihai1992@gmail.com> 15 March 2020, 19:55:39 UTC
f7e32fc bpo-39965: Correctly raise SyntaxError if await is used outside async functions when PyCF_ALLOW_TOP_LEVEL_AWAIT is set (GH-19010) (cherry picked from commit 90235810ec28ca954bbf4b61a5ae5df7a00db409) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 15 March 2020, 04:46:26 UTC
4abe77c bpo-39869: Fix typo in 'Instance objects' section. (GH-18889) (cherry picked from commit e5e56328afac50aad6d8893185d8e7ba8928afe2) Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com> 14 March 2020, 22:13:18 UTC
9c63cd8 Link to list of keywords in the laguage reference (GH-18024) (cherry picked from commit 33238ec2af379e837cabc3945db5df8e23bf43e9) Co-authored-by: Борис Верховский <boris.verk@gmail.com> 14 March 2020, 19:14:57 UTC
ff69c9d bpo-38576: Disallow control characters in hostnames in http.client (GH-18995) Add host validation for control characters for more CVE-2019-18348 protection. (cherry picked from commit 9165addc22d05e776a54319a8531ebd0b2fe01ef) Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com> 14 March 2020, 19:13:32 UTC
a927e91 bpo-39677: dis: rename the operand of MAKE_FUNCTION from `argc` to `flags` for 3.6+ (GC-18550) (cherry picked from commit 6672c16b1d7f83789bf3a2016bd19edfd3568e71) Co-authored-by: Taine Zhao <twshere@outlook.com> 14 March 2020, 14:45:23 UTC
9644702 bpo-39582: ossaudiodev module update helpers signature for ioctl calls. (GH-18412) (cherry picked from commit b81f40f0adae3b1d1e57f9a89940ba827b9ede70) Co-authored-by: David CARLIER <devnexen@gmail.com> 14 March 2020, 14:43:53 UTC
e634a8a [3.8] bpo-39871: Fix possible SystemError in atan2, copysign and remainder (GH-18806) (GH-18989) In math_2(), the first PyFloat_AsDouble() call should be checked for failure before the second call. Co-authored-by: Mark Dickinson <dickinsm@gmail.com>. (cherry picked from commit 5208b4b37953a406db0ed6a9db545c2948dde989) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 14 March 2020, 11:38:52 UTC
f6bdac1 bpo-39915: Ensure await_args_list is updated according to the order in which coroutines were awaited (GH-18927) Create call objects with awaited arguments instead of using call_args which has only last call value. (cherry picked from commit e553f204bf0e39b1d701a364bc71b286acb9433f) Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com> 14 March 2020, 07:12:57 UTC
d3af92e [3.8] Doc: Fix grammar in PyErr_ResourceWarning (GH-18879) (GH-18976) (cherry picked from commit fdcd53f) Co-authored-by: Daniel Hahler <git@thequod.de> 13 March 2020, 15:32:38 UTC
f8ce3e2 bpo-39689: Do not test undefined casts to _Bool (GH-18964) (#18966) - When casting to _Bool, arrays should only contain zeros or ones. (cherry picked from commit 1ae9cde4b2323235b5f9ff4bc76e4175a2257172) Co-authored-by: Stefan Krah <skrah@bytereef.org> 12 March 2020, 18:56:18 UTC
35ae5d9 bpo-39930: Fix MSBuild detection for Build Tools (GH-18938) Ensure we detect Build Tools installs using the newer logic, and skip looking in the registry for VS 2017. (cherry picked from commit 894adc18b4fb7246b762276a50a332c0e4f0e0f0) Co-authored-by: Steve Dower <steve.dower@python.org> 12 March 2020, 16:47:53 UTC
03ac090 bpo-39884: Add method name in "bad call flags" error (GH-18944) (GH-18956) PyDescr_NewMethod() and PyCFunction_NewEx() now include the method name in the SystemError "bad call flags" error message to ease debug. (cherry picked from commit c7d2d69d95b263ee5f83511bc6fbe53acdc24ea3) 12 March 2020, 12:37:02 UTC
ab9c729 [3.8] bpo-38643: Raise SystemError instead of crashing when PyNumber_ToBase is called with invalid base. (GH-18863). (GH-18954) (cherry picked from commit e5ccc94bbb153431698b2391df625e8d47a93276) 12 March 2020, 07:30:56 UTC
99ef1ac Fix syntax error in an example in the ast documentation and sync docstrings (GH-18946) (cherry picked from commit c00c86b90443dbf3534cc4786a0b42b58db6e8af) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 12 March 2020, 01:06:53 UTC
60b1b5a bpo-39847: EnterNonRecursiveMutex() uses GetTickCount64() (GH-18780) The 32-bit (49-day) TickCount relied on in EnterNonRecursiveMutex can overflow in the gap between the 'target' time and the 'now' time WaitForSingleObjectEx returns, causing the loop to think it needs to wait another 49 days. This is most likely to happen when the machine is hibernated during WaitForSingleObjectEx. This makes acquiring a lock/event/etc from the _thread or threading module appear to never timeout. Replace with GetTickCount64 - this is OK now Python no longer supports XP which lacks it, and is in use for time.monotonic(). Co-authored-by: And Clover <and.clover@bromium.com> (cherry picked from commit 64838ce7172c7a92183b39b22504b433a33a884d) Co-authored-by: bobince <and+github@doxdesk.com> 11 March 2020, 23:57:16 UTC
cd07b4d bpo-39520: Fix un-parsing of ext slices with no dimensions (GH-18304) (cherry picked from commit 185903de12de8837bf0dc0008a16e5e56c66a019) Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com> 11 March 2020, 20:18:01 UTC
c228799 bpo-39916: Use os.scandir() as context manager in Path.glob(). (GH-18880) (cherry picked from commit 704e2065f8b8021a4a6999470fb6ed3453f7679e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 11 March 2020, 17:07:04 UTC
17571c5 bpo-39930: Convert error to warning for more silent failure (GH-18921) Makes it an error to create a layout without vcruntime DLL (cherry picked from commit fde44ae6d08d3df79554155b1cf079e73a8fabdd) Co-authored-by: Steve Dower <steve.dower@python.org> 11 March 2020, 14:31:07 UTC
d01c550 bpo-39930: Ensure vcruntime140.dll is included in all Windows packages (GH-18918) Also adds GitHub CI test for Windows installer changes (cherry picked from commit 2dd41740c97bd77695ddcc590caa7f53e76dc35a) Co-authored-by: Steve Dower <steve.dower@python.org> 11 March 2020, 11:38:18 UTC
6ce36ed Fix download.html (GH-18902) `<tt>` is not allowed. Co-authored-by: Kyle Stanley <aeros167@gmail.com> (cherry picked from commit 39c34933fc958fd773ebf14ccd2e0224450b17ed) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 11 March 2020, 04:40:04 UTC
212acf5 bpo-38662: ensurepip invokes pip via runpy (GH-18901) The ensurepip module now invokes pip via the runpy module. Hence it is no longer tightly coupled with the internal API of the bundled pip version, allowing easier updates to a newer pip version both internally and for distributors. This way, any changes to the internal pip API won't mean ensurepip needs to be changed as well. Also, distributors can update their pip wheels independent on CPython release schedule. Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> Co-Authored-By: Miro Hrončok <miro@hroncok.cz> (cherry picked from commit 88f82b2b9ea3514359cb6e3218121f75334063ac) Co-authored-by: Miro Hrončok <miro@hroncok.cz> 10 March 2020, 21:37:50 UTC
b26ccfe tracemalloc: 'pretty top' example no longer changes the filename (GH-18903) I've used this recipe a couple times and the filename editing has always been less than useful and something I've removed. This is because many modules end up losing which package they are located in, e.g. `util/date.py`. (cherry picked from commit d06eec218eac81225f9017951cddfc211fed9325) Co-authored-by: Adam Johnson <me@adamj.eu> 10 March 2020, 18:26:20 UTC
caec8a0 [3.8] bpo-39828: Fix json.tool to catch BrokenPipeError (GH-18779). (GH-18894) (cherry picked from commit 700cb587303461d5a96456c56902cfdd8ad50e2d) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> Automerge-Triggered-By: @vstinner 10 March 2020, 08:14:08 UTC
cadfe52 bpo-27115: Use Query subclass for IDLE editor Goto (GH-18871) Replace tkinter tkSimpleDialog.askinteger with a standard IDLE query dialog. The new box checks for positivity before returning. (cherry picked from commit 363fab83b8a0e6d924c7a7c577feec6a2812bb8c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 09 March 2020, 23:45:19 UTC
5854d45 bpo-36184: Port python-gdb.py to FreeBSD (GH-18873) python-gdb.py now checks for "take_gil" function name to check if a frame tries to acquire the GIL, instead of checking for "pthread_cond_timedwait" which is specific to Linux and can be a different condition than the GIL. (cherry picked from commit 6d0ee60740f2862a878f009671b1aaa75aeb0c2a) Co-authored-by: Victor Stinner <vstinner@python.org> 09 March 2020, 18:52:27 UTC
3ede1bc [3.8] bpo-39850: Add support for abstract sockets in multiprocessing (GH-18866) (GH-18876) (cherry picked from commit 6012f30beff7fa8396718dfb198ccafc333c565b) 09 March 2020, 14:48:03 UTC
97bbdb2 bpo-39903: Fix double decref in _elementtree.Element.__getstate__ (GH-18850) (cherry picked from commit 88944a44aa84b0f3674939019b1befbc7a9dc874) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 09 March 2020, 12:55:17 UTC
f3f0c7a bpo-27115: Move IDLE Query error blanking (GH-18868) Move required blanking of error text to non-overridden entry_ok(). (Omit news item.) (cherry picked from commit e53a3932cb01683b0fa8a7448ca25a2e658c39e6) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 09 March 2020, 05:56:28 UTC
0687bdf bpo-39517: Allow runpy.run_path() to accept path-like objects (GH-18699) (cherry picked from commit 0911ea5c172264eaefa3efe4a1788159c160920d) Co-authored-by: Maor Kleinberger <kmaork@gmail.com> 08 March 2020, 20:59:59 UTC
b2e8240 bpo-39885: IDLE context menu clears selection (GH-18859) Since clicking to get an IDLE context menu moves the cursor, any text selection should be and now is cleared. (cherry picked from commit 4ca060d8ad7c6df1fd4df30f9a14f6aa35380c09) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 08 March 2020, 19:47:05 UTC
a5e821c bpo-39852: IDLE 'Go to line' deletes selection, updates status (GH-18801) It appears standard that moving the text insert cursor away from a selection clears the selection. Clearing prevents accidental deletion of a possibly off-screen bit of text. The update is for Ln and Col on the status bar. (cherry picked from commit 2522db11df102be3baf25ce9e816ebe8ffdb7fcc) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 08 March 2020, 18:49:44 UTC
765117d fix typo: add space (GH-18853) Fix typo in cmdline.rst Add space between the `-m` option and the module name (`timeit`). (cherry picked from commit c580981ba01c4d9f721dbdd88208ba37704e0217) Co-authored-by: Julin S <48789920+ju-sh@users.noreply.github.com> 08 March 2020, 17:58:19 UTC
928b4dd bpo-38894: Fix pathlib.Path.glob in the presence of symlinks and insufficient permissions (GH-18815) Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net> (cherry picked from commit eb7560a73d46800e4ade4a8869139b48e6c92811) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 07 March 2020, 18:11:24 UTC
92b7278 [3.8] bpo-39889: Fix unparse.py for subscript. (GH-18824). (GH-18826) (cherry picked from commit c4928fc1a853f3f84e2b4ec1253d0349137745e5) 07 March 2020, 16:55:32 UTC
d692d52 bpo-39837: Disable macOS tests on Azure Pipelines (GH-18818) (cherry picked from commit 31350f9af09dcff7cf6ff4b0a0a7ea595942372e) Co-authored-by: Steve Dower <steve.dower@python.org> 07 March 2020, 00:30:09 UTC
6df0c47 bpo-17422: slightly more precise language (GH-18682) (cherry picked from commit e59334ebc9308b0f3ad048ef293c6b49e6456d1a) Co-authored-by: Caleb Donovick <cdonovick@users.noreply.github.com> 06 March 2020, 18:26:52 UTC
0c71770 bpo-39868: Update Language Reference for PEP 572. (GH-18793) (cherry picked from commit 8bae21962bab2fac7630982abd73676b89930902) Co-authored-by: Brandt Bucher <brandtbucher@gmail.com> 06 March 2020, 05:25:15 UTC
da9ee00 IDLE doc: improve Startup failure subsection. (GH-18771) Eliminate repeat of 'Options', reported by Jules Lasne, and improve wording elsewhere. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit ce305d641074931e4e790f7a83e28f74910644e5) Co-authored-by: Jules Lasne (jlasne) <jules.lasne@gmail.com> 06 March 2020, 01:35:43 UTC
7b39c47 [3.8] bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719) (GH-18783) (cherry picked from commit 67152d0ed670227b61b5df683655b196ab04ca1a) Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> Automerge-Triggered-By: @brettcannon 05 March 2020, 18:36:54 UTC
6b452ff bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread safety. (GH-18786) `list(sys.modules.items())` was apparently not immune to "dictionary changed size during iteration" errors. Tested internally using an integration test that has run into this a couple of times in the past two years. With this patch applied, the test is no longer flaky. (cherry picked from commit 85cf1d514b84dc9a4bcb40e20a12e1d82ff19f20) Co-authored-by: Gregory P. Smith <gps@google.com> 05 March 2020, 01:04:38 UTC
5a3926d Add a missing space after a period in 'typing.TypedDict' documentation (GH-18784) (cherry picked from commit d4a09c13ddd91a9bc1b4ba76ff4e8a153334a1e2) Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> 05 March 2020, 00:18:22 UTC
6c8cc0d Fix misleading statement about mixed-type numeric comparisons (GH-18615) (#18773) (cherry picked from commit 9f1cb1bb49476246de5d9ed5fe680301cf7f7571) Co-authored-by: Mark Dickinson <mdickinson@enthought.com> Co-authored-by: Mark Dickinson <dickinsm@gmail.com> 04 March 2020, 11:52:56 UTC
57fb292 bpo-39831: Remove outdated comment. (GH-18764) (cherry picked from commit ae75a294352e9b9487f5dc8e88f068e7e6974dc2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 03 March 2020, 18:01:09 UTC
2aa694d bpo-39674: Update collections ABC deprecation doc (GH-18748) 03 March 2020, 16:31:24 UTC
5a92f42 bpo-39776: Lock ++interp->tstate_next_unique_id. (GH-18746) (#18746) (#18752) - Threads created by PyGILState_Ensure() could have a duplicate tstate->id. (cherry picked from commit b3b9ade4a3d3fe00d933bcd8fc5c5c755d1024f9) 03 March 2020, 08:18:55 UTC
1827fc3 bpo-39778: Add clarification about tp_traverse and ownership (GH-18754) Automerge-Triggered-By: @pablogsal (cherry picked from commit 6df421fe87a9418d6c59f89dbc5d5573b6826855) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 03 March 2020, 03:04:13 UTC
394dc0d [3.8] bpo-39831: Fix a reference leak in PyErr_WarnEx(). (GH-18750) (GH-18761) (cherry picked from commit 2d2f855) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 03 March 2020, 01:13:10 UTC
0d20364 bpo-38597: Never statically link extension initialization code on Windows (GH-18724) (cherry picked from commit ce3a4984089b8e0ce5422ca32d75ad057b008074) Co-authored-by: Steve Dower <steve.dower@python.org> 03 March 2020, 00:30:18 UTC
9ddcb91 [3.8] bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and tp_clear (GH-18749) (GH-18756) Objects do not own weak references to them directly through the __weakref__ list so these do not need to be traversed by the GC. (cherry picked from commit 0c2b509) 02 March 2020, 23:55:20 UTC
7ad9982 bpo-38380: Update macOS & Windows builds to SQLite v3.31.1 (GH-18678) Automerge-Triggered-By: @zooba (cherry picked from commit 1382c3289bcfd34ac6811fdf9aa5bc09ca8c320e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 02 March 2020, 15:02:03 UTC
43932dc bpo-39764: Make Task.get_stack accept ag_frame (GH-18669) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 4482337decdbd0c6e2150346a68b3616bda664aa) Co-authored-by: Lidi Zheng <scallopsky@gmail.com> 02 March 2020, 13:03:50 UTC
f28b0c7 bpo-38971: Open file in codecs.open() closes if exception raised. (GH-17666) Open issue in the BPO indicated a desire to make the implementation of codecs.open() at parity with io.open(), which implements a try/except to assure file stream gets closed before an exception is raised. (cherry picked from commit 2565edec2c974b2acca03b4cc5025e83f903ddd7) Co-authored-by: Chris A <christopher.aporta@gmail.com> 02 March 2020, 08:03:08 UTC
87a4cd5 bpo-38410: Properly handle PySys_Audit() failures (GH-18658) _PyEval_SetAsyncGenFinalizer() and _PyEval_SetAsyncGenFirstiter() didn't include proper error handling for their PySys_Audit() calls. Co-authored-by: Zackery Spytz <zspytz@gmail.com> 02 March 2020, 07:58:48 UTC
a7b8a96 [3.8] bpo-38913: Fix segfault in Py_BuildValue("(sGH-O)", ...) if entered with exception raised. (GH-18656). (GH-18732) (cherry picked from commit 28d0bcac8b7e6dbd28311f1283dabb6a4d649fcb) 02 March 2020, 07:54:43 UTC
5f2ade2 bpo-39378: partial of PickleState struct should be traversed. (GH-18046) (cherry picked from commit 1f577ce363121d590b51abf5c41d1bcf3d751436) Co-authored-by: Hai Shi <shihai1992@gmail.com> 02 March 2020, 06:47:23 UTC
12b7143 [3.8] bpo-39815: add cached_property to all (GH-18726) (GH-18728) Automerge-Triggered-By: @pablogsal. (cherry picked from commit 217dce9ee6e3cf27a0cedbe1e4a6455776373ec2) Co-authored-by: Hakan Çelik <hakancelik96@outlook.com> 02 March 2020, 00:08:29 UTC
back to top