https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
8bae2a9 Python 3.10.0a3 07 December 2020, 19:34:10 UTC
c0afb7f bpo-39825: Fixes sysconfig.get_config_var('EXT_SUFFIX') on Windows to match distutils (GH-22088) 07 December 2020, 17:33:20 UTC
0ef96c2 bpo-30459: Cast the result of PyCell_SET to void (GH-23654) 07 December 2020, 10:56:20 UTC
c266736 bpo-41889: [Enum] fix multiple-inheritance regression (GH-22487) 07 December 2020, 08:17:31 UTC
2123373 Update macos installer ReadMe for 3.10.0a3 (GH-23671) 07 December 2020, 03:55:12 UTC
57e5113 bpo-42508: Keep IDLE running on macOS (GH-23577) Remove obsolete workaround that prevented running files with shortcuts when using new universal2 installers built on macOS 11. Ignore buggy 2nd run_module_event call. 07 December 2020, 03:22:33 UTC
752cdf2 bpo-38843: Document behavior of default when the attribute is already set (GH-23653) 07 December 2020, 02:29:08 UTC
8a62887 bpo-42582: Remove asyncio._all_tasks_compat(). (GH-23664) It was used to implement now removed asyncio.Task.all_tasks(). 06 December 2020, 16:54:33 UTC
6a7fb9d bpo-42576: Clarify only debug builds are affected in news (GH-23663) 06 December 2020, 16:37:59 UTC
c598a04 bpo-42532: Check if NonCallableMock's spec_arg is not None instead of call its __bool__ function (GH23613) Check if NonCallableMock's spec_arg is not None instead of call its __bool__ function 06 December 2020, 09:59:36 UTC
804d689 bpo-42576: Raise TypeError when passing in keyword arguments to GenericAlias (GH-23656) Use `_PyArg_NoKeywords` instead of `_PyArg_NoKwnames` when checking the `kwds` tuple when creating `GenericAlias`. This fixes an interpreter crash when passing in keyword arguments to `GenericAlias`'s constructor. Needs backport to 3.9. Automerge-Triggered-By: GH:gvanrossum 05 December 2020, 16:02:14 UTC
da3d2ab GH-5054: CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed (#23638) 05 December 2020, 13:26:24 UTC
556d97f bpo-30459: Cast the result of PyList_SET_ITEM() to void (GH-19975) Do the same for PyTuple_SET_ITEM(). 05 December 2020, 10:34:51 UTC
29afab6 bpo-41116: Fix setup.py test for macOS Tcl/Tk frameworks (GH-23649) If no explicit macOS SDK was specified, setup.py should check for Tcl and TK frameworks in /Library/Frameworks; the previous commit inadvertently broke that test. 05 December 2020, 04:02:09 UTC
226a012 bpo-42536: GC track recycled tuples (GH-23623) Several built-in and standard library types now ensure that their internal result tuples are always tracked by the garbage collector: - collections.OrderedDict.items - dict.items - enumerate - functools.reduce - itertools.combinations - itertools.combinations_with_replacement - itertools.permutations - itertools.product - itertools.zip_longest - zip Previously, they could have become untracked by a prior garbage collection. 05 December 2020, 03:45:57 UTC
2de5097 bpo-26131: Deprecate usage of load_module() (GH-23469) Raise an ImportWarning when the import system falls back on load_module(). As for implementations of load_module(), raise a DeprecationWarning. 04 December 2020, 23:39:21 UTC
79c1849 bpo-42545: Improve the error message in the stable API script (GH-23648) 04 December 2020, 23:19:21 UTC
85f1ded bpo-42545: Check that all symbols in the limited ABI are exported (GH-23616) 04 December 2020, 22:05:58 UTC
2e0760b bpo-17735: inspect.findsource now raises OSError when co_lineno is out of range (GH-23633) This can happen when a file was edited after it was imported. 04 December 2020, 21:22:03 UTC
8d4f57d bpo-31904: fix test_doctest.py failures for VxWorks (GH-23419) Fix test_doctest.py failures for VxWorks by avoiding exact error message checks. (better for everyone all around) 04 December 2020, 20:19:32 UTC
6e1eec7 bpo-42116: Fix inspect.getsource handling of trailing comments (GH-23630) 04 December 2020, 16:45:38 UTC
0663940 bpo-41473: Reenable test_gdb on gdb 9.2 and newer (GH-23637) https://bugzilla.redhat.com/show_bug.cgi?id=1866884 is fixed in gdb 10.1 (failed to reproduce on gdb-10.1-1.fc34.aarch64). 04 December 2020, 15:23:56 UTC
eaccc12 bpo-42246: Don't forget the entry block when ensuring that all exits have a line number (GH-23636) Don't forget the entry block when ensuring that all exits have a line number. 04 December 2020, 15:22:12 UTC
f24b810 bpo-42562: Fix issue when dis failed to parse function that has no line numbers (GH-23632) Fix issue when dis failed to parse function that has only annotations 04 December 2020, 15:20:53 UTC
db68544 bpo-42523: Fix supported versions in "Using Python on Windows" (GH-23603) 03 December 2020, 17:22:04 UTC
8b6c4a9 bpo-42262: Py_NewRef() casts its argument to PyObject* (GH-23626) Write also unit tests on Py_NewRef() and Py_XNewRef(). 03 December 2020, 13:01:10 UTC
7e5e13d bpo-42553: Fix test_asyncio.test_call_later() (GH-23627) Fix test_asyncio.test_call_later() race condition: don't measure asyncio performance in the call_later() unit test. The test failed randomly on the CI. 03 December 2020, 12:56:41 UTC
2ad9382 bpo-42431: Fix outdated bytes comments (GH-23458) Also move definitions of internal macros F_LJUST etc to private header. 03 December 2020, 10:46:16 UTC
f3c3ea9 bpo-42328: Skip some tests with themes vista and xpnative on Windows 7 (GH-23612) 03 December 2020, 08:48:26 UTC
3ec9d01 Remove the conditional for setting query. (#23604) 03 December 2020, 03:48:14 UTC
5291639 bpo-42504: fix for MACOSX_DEPLOYMENT_TARGET=11 (GH-23556) macOS releases numbering has changed as of macOS 11 Big Sur. Previously, major releases were of the form 10.x, 10.x+1, 10.x+2, etc; as of Big Sur, they are now x, x+1, etc, so, for example, 10.15, 10.15.1, ..., 10.15.7, 11, 11.0.1, 11.1, ..., 12, 12.1, etc. Allow Python to build with single-digit deployment target values. Patch provided by FX Coudert. 03 December 2020, 03:20:18 UTC
dedc2cd bpo-41625: Do not add os.splice on AIX due to compatibility issues (GH-23608) 02 December 2020, 17:57:18 UTC
99b5944 bpo-42521: Add note about 'Python -d' only working on debug builds (GH-23607) 02 December 2020, 17:56:17 UTC
5977a79 bpo-42246: Make sure that line number is correct after a return, as required by PEP 626 (GH-23495) Make sure that line number is correct after a return, as defined by PEP 626. 02 December 2020, 13:31:40 UTC
4e7a69b bpo-42500: Fix recursion in or after except (GH-23568) * Use counter, rather boolean state when handling soft overflows. 02 December 2020, 13:30:55 UTC
93a0ef7 Correct return type in Modules/_ssl.c::sslmodule_legacy (GH-23609) 02 December 2020, 06:07:56 UTC
46bd5ed bpo-40939: Restore some stable API functions incorrectly deleted (GH-23606) 02 December 2020, 05:16:31 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
back to top