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

sort by:
Revision Author Date Message Commit Date
69c37a6 bpo-41625: Include 'socket.h' in aix 02 December 2020, 03:31:13 UTC
e483d28 bpo-31904: Fix test_netrc for VxWorks RTOS (GH-21675) Fix test_netrc on VxWorks: create temporary directories using temp_cwd(). 01 December 2020, 20:34:42 UTC
1867b46 bpo-37221: PyCode_New() didn't change in Python 3.8 (GH-23595) 01 December 2020, 15:22:25 UTC
8acd0e0 build(deps): bump actions/upload-artifact from v2.2.0 to v2.2.1 (GH-23583) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.0 to v2.2.1. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.0...726a6dcd0199f578459862705eed35cda05af50b) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 01 December 2020, 15:00:11 UTC
a43fea8 build(deps): bump actions/cache from v2.1.2 to v2.1.3 (23582) Bumps [actions/cache](https://github.com/actions/cache) from v2.1.2 to v2.1.3. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.2...0781355a23dac32fd3bac414512f4b903437991a) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 01 December 2020, 14:59:12 UTC
bc662c0 [doc] Fix abc.update_abstractmethods markup (GH-23576) Add link to ABCMeta while at it. 01 December 2020, 09:45:11 UTC
80a429e Fix bz2 examples markup (#23580) 01 December 2020, 09:41:12 UTC
32bd68c bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587) No longer use deprecated aliases to functions: * Replace PyObject_MALLOC() with PyObject_Malloc() * Replace PyObject_REALLOC() with PyObject_Realloc() * Replace PyObject_FREE() with PyObject_Free() * Replace PyObject_Del() with PyObject_Free() * Replace PyObject_DEL() with PyObject_Free() 01 December 2020, 09:37:39 UTC
00d7abd bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586) No longer use deprecated aliases to functions: * Replace PyMem_MALLOC() with PyMem_Malloc() * Replace PyMem_REALLOC() with PyMem_Realloc() * Replace PyMem_FREE() with PyMem_Free() * Replace PyMem_Del() with PyMem_Free() * Replace PyMem_DEL() with PyMem_Free() Modify also the PyMem_DEL() macro to use directly PyMem_Free(). 01 December 2020, 08:56:42 UTC
b2d0c66 bpo-31904: Fix fifo test cases for VxWorks (GH-20254) 01 December 2020, 08:20:50 UTC
cc061d0 bpo-38200: Add itertools.pairwise() (GH-23549) 01 December 2020, 04:42:54 UTC
427613f bpo-42482: remove reference to exc_traceback from TracebackException (GH-23531) 01 December 2020, 01:35:25 UTC
1244c81 bpo-31904: Support signal module on VxWorks (GH-23391) 30 November 2020, 21:48:33 UTC
5c73afc bpo-28468: Add platform.freedesktop_os_release() (GH-23492) Add platform.freedesktop_os_release() function to parse freedesktop.org os-release files. Signed-off-by: Christian Heimes <christian@python.org> Co-authored-by: Victor Stinner <vstinner@python.org> 30 November 2020, 21:34:45 UTC
9bdc40e Refactor the grammar to match the language specification docs (GH-23574) 30 November 2020, 19:42:38 UTC
bcc9579 bpo-42485: [Doc] Link to PEP 617 from full grammar specification (GH-23532) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> 30 November 2020, 19:08:26 UTC
7f82f22 bpo-42501: Revise the usage note for Enums with the choices (GH-23563) 30 November 2020, 17:55:13 UTC
e41bfd1 bpo-42508: Remove bogus idlelib.pyshell.ModifiedInterpreter attribute (GH-23570) restart_subprocess is a method of self, the pyshell.InteractiveInterpreter instance. The latter does not have an interp attribute redundantly referring to itself. (The PyShell instance does have an interp attribute, referring to the InteractiveInterpreter instance.) 30 November 2020, 17:09:43 UTC
0be9ce3 bpo-42487: don't call __getitem__ of underlying maps in ChainMap.__iter__ (GH-23534) 30 November 2020, 16:34:15 UTC
9f00463 bpo-42451: Indicate that PyTuple_GetItem does not support negative indices (GH-23529) 30 November 2020, 09:53:11 UTC
9654592 bpo-42506: Fix unexpected output in test_format (GH-23564) 30 November 2020, 08:39:12 UTC
6cc2c41 bpo-42142: Try to fix timeouts in ttk tests (GH-23474) Instead of using wait_visibility() which waits event <VisibilityNotify> in dead loop use update() which should proceed all queued events. 30 November 2020, 08:24:07 UTC
fc40b30 bpo-42450: Minor updates to the itertools recipes (GH-23555) 29 November 2020, 18:47:22 UTC
8668431 bpo-42406: Fix whichmodule() with multiprocessing (GH-23403) * bpo-42406: Fix whichmodule() with multiprocessing Signed-off-by: Renato L. de F. Cunha <renatoc@br.ibm.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> 29 November 2020, 18:23:15 UTC
86150d3 bpo-42392: Remove deprecated loop parameter from docs (GH-23552) 29 November 2020, 12:50:57 UTC
c642374 bpo-39096: Improve description of 'e', 'f' and 'g' presentation types (#23537) * Improve description of 'e', 'f' and 'g' presentation types * Drop the 'E' from Scientific 'E' notation; remove >= 0 qualifications * Fix false statement that the alternate form is valid for Decimal * Nitpick: remove the Harvard/Oxford comma * Add note that the decimal point is also removed if no digits follow it, except in alternate form 29 November 2020, 09:34:36 UTC
00a6568 bpo-31904: remove libnet dependency from detect_socket() for VxWorks (GH-23394) Previously on VxWorks compiling socket extension module needs the libnet to link. Now VxWorks has moved the replied functions to libc. So removing libnet from setup.py. 28 November 2020, 22:14:16 UTC
6a273fd bpo-31904: skip some tests related to fifo on VxWorks (GH-23473) On VxWork RTOS, FIFO must be created under directory "/fifos/". Some test cases related to fifo is invalid on VxWorks. So skip them. 28 November 2020, 22:06:36 UTC
a86a274 bpo-31904: add shell requirement for test_pipes (GH-23489) VxWorks has no user space shell provided so it can't support pipes module. Also add shell requirement for running test_pipes. 28 November 2020, 22:04:50 UTC
996a1ef skip test_test of test_mailcap on VxWorks (GH-23507) 28 November 2020, 21:49:47 UTC
64c8f81 skip test_getaddrinfo_ipv6_scopeid_symbolic and test_getnameinfo_ipv6_scopeid_symbolic on VxWorks (GH-23518) 28 November 2020, 21:48:38 UTC
7a240ae Fix an error in the news entry for _posixsubprocess multiphase init (GH-23516) Commit 035deee265c7fb227ddc87222fa48761231d8bd7 converted the _posixsubprocess module to multiphase initialization, but the news entry mentions the _posixshmem module. 28 November 2020, 21:46:30 UTC
fa840cc Fix dis markup (GH-23524) 28 November 2020, 21:43:22 UTC
4b44472 Fix multiprocessing markup (GH-23525) 28 November 2020, 21:42:23 UTC
74311ae bpo-41818: Fix test_master_read() so that it succeeds on all platforms that either raise OSError or return b"" upon reading from master (GH-23536) Signed-off-by: Soumendra Ganguly <soumendraganguly@gmail.com> 28 November 2020, 21:04:20 UTC
aa1b8a1 bpo-31904: Fix test_os.test_getcwd_long_path() failure for VxWorks (GH-20256) 28 November 2020, 20:21:30 UTC
d41ec65 bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538) 28 November 2020, 14:53:39 UTC
8085f74 bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925) Co-Authored-By: Tyler Bell <mrbell321@gmail.com> 28 November 2020, 14:27:28 UTC
5b0194e bpo-41241: Unnecessary Type casting in 'if condition' (GH-21396) This is my first issue! So, if there's anything wrong, please tell me! Also, thank you always for all the contributors! Automerge-Triggered-By: GH:asvetlov 28 November 2020, 11:37:08 UTC
e4fe303 bpo-42392: Remove loop parameter from asyncio.tasks and asyncio.subprocess (GH-23521) 28 November 2020, 08:21:17 UTC
f919531 bpo-42452: Improve colorsys.rgb_to_hls code (GH-23306) Cache repeated sum and difference to make code slightly faster and easier to read. 28 November 2020, 07:11:19 UTC
44ca05a bpo-42474: test TracebackException comparison to non-equal instances (GH-23522) Closes bpo-42474 27 November 2020, 16:38:54 UTC
f5a19ea bpo-41818: Make test_openpty() avoid unexpected success due to number of rows and/or number of columns being == 0. (GH-23526) 27 November 2020, 10:16:41 UTC
c8aaf71 bpo-17852: Doc: Fix the tutorial about closing files (GH-23135) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 27 November 2020, 00:41:32 UTC
a1652da Document optional 'task'/'asyncgen' fields in call_exception_handler (#21735) 26 November 2020, 13:24:48 UTC
e3ef4d7 bpo-41332: Added missing connect_accepted_socket() to AbstractEventLoop (GH-21533) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> Co-authored-by: Kyle Stanley <aeros167@gmail.com> 26 November 2020, 10:09:12 UTC
f533cb8 bpo-42392: Remove loop parameter from asyncio.streams (GH-23517) 26 November 2020, 07:36:37 UTC
87f7ab5 bpo-41818: test_openpty succeed on Gentoo, don't expect to fail on this platform (GH-23514) 25 November 2020, 17:06:12 UTC
9d09e17 Typo: fix inverted sense of statement (GH-23288) Looks like a "not" was inadvertently omitted in commit e6a7ea4. Classmethods are useful when data stored in specific instances are *not* needed. Automerge-Triggered-By: GH:JulienPalard 25 November 2020, 14:12:17 UTC
c13d899 bpo-41818: Updated tests for the standard pty library (GH-22962) 25 November 2020, 13:41:25 UTC
be319c0 bpo-42299: Remove formatter module (GH-23476) 25 November 2020, 13:17:30 UTC
b9127dd bpo-42392: Improve removal of *loop* parameter in asyncio primitives (GH-23499) * Update code after merge review from 1st1 * Use a sentinel approach for loop parameter Remove unnecessary _get_running_loop patching * Use more clear function name (_verify_parameter_is_marker -> _verify_no_loop) * Add init method to _LoopBoundMixin to check that loop param wasn't used 25 November 2020, 11:50:44 UTC
7301979 bpo-42202: Store func annotations as a tuple (GH-23316) Reduce memory footprint and improve performance of loading modules having many func annotations. >>> sys.getsizeof({"a":"int","b":"int","return":"int"}) 232 >>> sys.getsizeof(("a","int","b","int","return","int")) 88 The tuple is converted into dict on the fly when `func.__annotations__` is accessed first. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Inada Naoki <songofacandy@gmail.com> 25 November 2020, 10:43:18 UTC
85c8492 Add more tests to the descriptor howto guide (GH-23506) 25 November 2020, 09:54:24 UTC
4fedd71 bpo-12800: tarfile: Restore fix from 011525ee9 (GH-21409) Restore fix from 011525ee92eb1c13ad1a62d28725a840e28f8160. 25 November 2020, 09:23:17 UTC
c9c6e9f bpo-42238: Doc: Remove make suspicious from the CI and docs builds. (GH-23313) It probably helped a lot a while back, but may not be as usefull today. We'll continue monitoring it before deletion, so true positives can be migrated to rstlint. 25 November 2020, 09:18:00 UTC
8d17d2b Doc: Minor fixes (GH-23422) 25 November 2020, 04:59:59 UTC
2d44a6b Add doctests to the descriptor HowTo (GH-23500) 25 November 2020, 04:57:02 UTC
ed1a5a5 bpo-40170: Hide impl detail of Py_TRASHCAN_BEGIN macro (GH-23235) The Py_TRASHCAN_BEGIN macro no longer accesses PyTypeObject attributes, but now can get the condition by calling the new private _PyTrash_cond() function which hides implementation details. 24 November 2020, 22:03:31 UTC
0ec34ca bpo-42392: Remove loop parameter form asyncio locks and Queue (#23420) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> 24 November 2020, 18:08:54 UTC
b0b4285 bpo-42370: Check element before making mouse click in ttk tests (GH-23491) 24 November 2020, 17:35:39 UTC
ac7d016 bpo-42212: smelly.py also checks the dynamic library (GH-23423) The smelly.py script now also checks the Python dynamic library and extension modules, not only the Python static library. Make also the script more verbose: explain what it does. The GitHub Action job now builds Python with the libpython dynamic library. 24 November 2020, 12:38:08 UTC
14d81dc bpo-42260: Improve error handling in _PyConfig_FromDict (GH-23488) 24 November 2020, 12:07:32 UTC
c0c23ea bpo-41100: in test_platform, ignore 10.16 (GH-23485) 24 November 2020, 06:20:35 UTC
936533c bpo-41100: minor build installer fixes (GH-23480) 24 November 2020, 00:04:40 UTC
989af25 Typo (#23482) 23 November 2020, 23:56:30 UTC
79d2e62 Added support for negative indexes to PurePath.parents (GH-21799) This commit also fixes up some of the overlapping documentation changed in bpo-35498, which added support for indexing with slices. Fixes bpo-21041. https://bugs.python.org/issue21041 Co-authored-by: Paul Ganssle <p.ganssle@gmail.com> Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr> 23 November 2020, 20:06:22 UTC
ffae932 Descriptor HowTo: Improve the fidelity of the member object simulation (GH-23475) 23 November 2020, 18:56:59 UTC
2f2f9d0 bpo-15450: Allow subclassing of dircmp (GH-23424) (#23424) Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com> 23 November 2020, 16:29:37 UTC
ff420f0 bpo-28850: Fix PrettyPrinter.format overrides ignored for contents of small containers (GH-22120) 23 November 2020, 13:31:31 UTC
dd844a2 bpo-42328: Fix tkinter.ttk.Style.map(). (GH-23300) The function accepts now the representation of the default state as empty sequence (as returned by Style.map()). The structure of the result is now the same on all platform and does not depend on the value of wantobjects. 22 November 2020, 20:48:52 UTC
313467e bpo-42435: Speed up comparison of bytes and bytearray object (GH--23461) * Speed up comparison of bytes objects with non-bytes objects when option -b is specified. * Speed up comparison of bytarray objects with non-buffer object. 22 November 2020, 20:00:53 UTC
5ef53a8 Doc: fix typo in typing.Type docs (GH-23460) 22 November 2020, 14:54:19 UTC
686c203 bpo-42423: Accept single base class in PyType_FromModuleAndSpec() (GH-23441) 22 November 2020, 11:25:02 UTC
c4d45ee bpo-42427: Use the errno attribute of OSError instead of args[0] (GH-23449) 22 November 2020, 08:28:34 UTC
bd8c22e bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348) Removing 'evaluate' makes it more consistent with other assertX entries. 22 November 2020, 05:59:48 UTC
404a719 bpo-41116: Ensure system supplied libraries are found on macOS 11 (GH-23301) On macOS system provided libraries are in a shared library cache and not at their usual location. This PR teaches distutils to search in the SDK, even if there was no "-sysroot" argument in the compiler flags. 22 November 2020, 05:14:25 UTC
453bc1d bpo-42426: IDLE: Fix reporting offset of the RE error in searchengine (GH-23447) 22 November 2020, 05:06:51 UTC
442746a bpo-41100: Stripping '-arch arm64' didn't work after all (GH-23280) 22 November 2020, 02:17:18 UTC
690a5fa bpo-42361: Use Tcl/Tk 8.6.10 when building the installer on recent macOS (GH-23293) Building on older versions, and in particular macOS 10.9 still use Tk 8.6.8 because of build problems on that version of macOS. 22 November 2020, 02:05:34 UTC
0f20bd9 bpo-38443: Check that the specified universal architectures work (GH-22910) As [bpo-38443]() says the error message from configure when specifying --enable-universalsdk with a set of architectures that is not supported by the compiler is not very helpful. This PR explicitly checks if the compiler works and bails out if it doesn't. 22 November 2020, 01:13:11 UTC
68f68fa Clarify that Set._from_iterable is not required to be a classmethod. (GH-23272) 21 November 2020, 19:56:24 UTC
ea97eba bpo-1635741: Port select module to multiphase init (GH-23409) 21 November 2020, 19:29:26 UTC
035deee bpo-1635741: Port _posixsubprocess module to multiphase init (GH-23406) 21 November 2020, 19:28:14 UTC
ed1007c bpo-42425: Fix possible leak in initialization of errmap for OSError (GH-23446) 21 November 2020, 17:17:46 UTC
0e62efc bpo-42232: mmap module add Darwin specific madvise options. (GH-23076) 21 November 2020, 11:39:56 UTC
1db7639 bpo-42412: Fix possible leaks and check arguments in PyType_FromModuleAndSpec() (GH-23410) * There were leaks if Py_tp_bases is used more than once or if some call is failed before setting tp_bases. * There was a crash if the bases argument or the Py_tp_bases slot is not a tuple. * The documentation was not accurate. 21 November 2020, 10:02:53 UTC
01a202a bpo-40550: Fix time-of-check/time-of-action issue in subprocess.Popen.send_signal. (GH-20010) send_signal() now swallows the exception if the process it thought was still alive winds up not to exist anymore (always a plausible race condition despite the checks). Co-authored-by: Gregory P. Smith <greg@krypto.org> 21 November 2020, 09:22:08 UTC
3172936 bpo-40791: Make compare_digest more constant-time. (GH-20444) * bpo-40791: Make compare_digest more constant-time. The existing volatile `left`/`right` pointers guarantee that the reads will all occur, but does not guarantee that they will be _used_. So a compiler can still short-circuit the loop, saving e.g. the overhead of doing the xors and especially the overhead of the data dependency between `result` and the reads. That would change performance depending on where the first unequal byte occurs. This change removes that optimization. (This is change #1 from https://bugs.python.org/issue40791 .) 21 November 2020, 08:55:23 UTC
aa3a352 bpo-42419: Correct 'deprecatations' is What's New 3.9 (GH-23421) 21 November 2020, 04:07:22 UTC
6edf06b bpo-42407: Use possessive appostrophe in multiprocessing doc (GH-23400) 21 November 2020, 02:37:54 UTC
9f02b47 bpo-36876: [c-analyzer tool] Tighten up the results and output. (GH-23431) We also update the "ignored" file with a temporary list of all known globals. 20 November 2020, 22:39:28 UTC
a993e90 bpo-28002: Roundtrip f-strings with ast.unparse better (#19612) By attempting to avoid backslashes in f-string expressions. We also now proactively raise errors for some backslashes we can't avoid while unparsing FormattedValues Co-authored-by: hauntsaninja <> Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com> Co-authored-by: Batuhan Taskaya <isidentical@gmail.com> 20 November 2020, 21:16:42 UTC
9fc319d bpo-42360: Add advice to help avoid pickling issues. (GH-23305) 20 November 2020, 20:49:32 UTC
4c24b08 Fix wrong availability for signal.SIGCHLD (#23285) I believe this is a mistake. SIGCHLD is only available on Unix systems, not Windows. 20 November 2020, 18:16:46 UTC
4520584 bpo-35498: Added slice support to PathLib parents attribute. (GH-11165) Added slice support to the `pathlib.Path.parents` sequence. For a `Path` `p`, slices of `p.parents` should return the same thing as slices of `tuple(p.parents)`. 20 November 2020, 15:40:39 UTC
d20b7ed bpo-42212: Check if generated files are up-to-date in GitHub Actions (GH-23042) See https: //github.com/python/core-workflow/issues/380 Signed-off-by: Filipe Laíns <lains@archlinux.org> 20 November 2020, 14:14:16 UTC
3be8e22 bpo-42403: Use @staticmethod in importlib (GH-23395) Use @staticmethod on methods using @classmethod but don't use their cls parameter on the following classes: * BuiltinImporter * FrozenImporter * WindowsRegistryFinder * PathFinder Leave methods using @_requires_builtin or @_requires_frozen unchanged, since this decorator requires the wrapped method to have an extra parameter (cls or self). 20 November 2020, 13:44:02 UTC
a6109ef bpo-1635741: Convert _sre types to heap types and establish module state (PEP 384) (GH-23393) 20 November 2020, 12:36:23 UTC
2db8e35 bpo-1635741: Enhance _datetime error handling (GH-23139) 20 November 2020, 10:39:40 UTC
back to top