https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
6202d85 Python 3.9.0a2 18 December 2019, 21:09:19 UTC
673c393 bpo-38546: Fix concurrent.futures test_ressources_gced_in_workers() (GH-17652) Fix test_ressources_gced_in_workers() of test_concurrent_futures: explicitly stop the manager to prevent leaking a child process running in the background after the test completes. 18 December 2019, 14:50:04 UTC
75bb07e bpo-39028: Performance enhancement in keyword extraction (GH-17576) All keywords should first be checked for pointer identity. Only after that failed for all keywords (unlikely) should unicode equality be used. The original code would call unicode equality on any non-matching keyword argument. Meaning calling it often e.g. when a function has many kwargs but only the last one is provided. 18 December 2019, 06:51:22 UTC
50d4f12 bpo-39080: Starred Expression's column offset fix when inside a CALL (GH-17645) Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com> 18 December 2019, 00:20:55 UTC
a9d0a6a bpo-36500: Simplify PCbuild/build.bat and prevent path separator changing in comments (GH-17644) 17 December 2019, 22:14:13 UTC
9e36589 bpo-36500: Add --regen option to PCbuild/build.bat so Windows users can regen grammar, opcodes, tokens and symbols (GH-12654) 17 December 2019, 21:21:20 UTC
9707e8e bpo-38546: multiprocessing tests stop the resource tracker (GH-17641) Multiprocessing and concurrent.futures tests now stop the resource tracker process when tests complete. Add ResourceTracker._stop() method to multiprocessing.resource_tracker. Add _cleanup_tests() helper function to multiprocessing.util: share code between multiprocessing and concurrent.futures tests. 17 December 2019, 17:37:26 UTC
630c8df bpo-38858: Small integer per interpreter (GH-17315) Each Python subinterpreter now has its own "small integer singletons": numbers in [-5; 257] range. It is no longer possible to change the number of small integers at build time by overriding NSMALLNEGINTS and NSMALLPOSINTS macros: macros should now be modified manually in pycore_pystate.h header file. For now, continue to share _PyLong_Zero and _PyLong_One singletons between all subinterpreters. 17 December 2019, 12:02:18 UTC
f501db2 Add whatsnew for removal of asyncio.loop.create_datagram_endpoint()'s *reuse_address* parameter (#17595) 16 December 2019, 21:50:34 UTC
6a263cf bpo-39041: Add GitHub Actions badge to README.rst (GH-17628) Also skip build for doc-only changes and enable on push 16 December 2019, 19:15:08 UTC
a76ba36 bpo-39041: Add GitHub Actions support (GH-17594) 16 December 2019, 18:35:22 UTC
814d687 bpo-38348: Extend command line options of ast parsing tool (GH-16540) Add -i and --indent (indentation level), and --no-type-comments (type comments) command line options to ast parsing tool. 16 December 2019, 18:23:27 UTC
a322f50 bpo-38870: Remove dead code related with argument unparsing (GH-17613) 16 December 2019, 12:26:58 UTC
092435e bpo-38811: Check for presence of os.link method in pathlib (GH-17225) Commit 6b5b013bcc22 ("bpo-26978: Implement pathlib.Path.link_to (Using os.link) (GH-12990)") introduced a new link_to method in pathlib. However, this makes pathlib crash when the 'os' module is missing a 'link' method. Fix this by checking for the presence of the 'link' method on pathlib module import, and if it's not present, turn it into a runtime error like those emitted when there is no lchmod() or symlink(). Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com> 16 December 2019, 12:23:55 UTC
1ca8fb1 Add tests and design notes for Counter subset/superset operations. (GH-17625) 16 December 2019, 09:54:14 UTC
79f02fe bpo-39033: Fix NameError in zipimport during hash validation (GH-17588) Patch by Karthikeyan Singaravelan. 15 December 2019, 23:34:12 UTC
d587272 bpo-38316: Fix co_stacksize documentation (GH-16983) 15 December 2019, 22:02:47 UTC
cb8b946 bpo-38629: implement __floor__ and __ceil__ for float type (GH-16985) 15 December 2019, 22:00:28 UTC
b08d3f7 The comment in ast_for_namedexpr shouldn't include if_stmt (GH-17586) Automerge-Triggered-By: @gvanrossum 15 December 2019, 18:00:33 UTC
39afa2d bpo-38021: Modify AIX platform_tag so it covers PEP 425 needs (GH-17303) Provides a richer platform tag for AIX that we expect to be sufficient for PEP 425 binary distribution identification. Any backports to earlier Python versions will be handled via setuptools. Patch by Michael Felt. 15 December 2019, 14:17:53 UTC
94d2c8d bpo-39035: travis: Don't use beta group (GH-17602) 14 December 2019, 11:10:15 UTC
40c01c3 Fix typo in site module (GH-17597) 14 December 2019, 10:37:58 UTC
5936a4c Fix elif start column offset when there is an else following (GH-17596) 14 December 2019, 10:24:57 UTC
95826c7 Add PYTHONUTF8 to commandline usage. (GH-17587) Co-Authored-By: Victor Stinner <vstinner@python.org> 14 December 2019, 05:27:32 UTC
8289e27 bpo-36406: Handle namespace packages in doctest (GH-12520) 13 December 2019, 18:06:53 UTC
025a602 bpo-39031: Include elif keyword when producing lineno/col-offset info for if_stmt (GH-17582) When parsing an "elif" node, lineno and col_offset of the node now point to the "elif" keyword and not to its condition, making it consistent with the "if" node. https://bugs.python.org/issue39031 Automerge-Triggered-By: @pablogsal 12 December 2019, 21:40:21 UTC
1988344 Fix warnings in test_asyncio.test_base_events (#17577) Co-authored-by: tirkarthi 12 December 2019, 13:48:20 UTC
7772b1a bpo-38614: Use support timeout constants (GH-17572) 11 December 2019, 21:17:04 UTC
0d63bac bpo-38614: Use test.support.SHORT_TIMEOUT constant (GH-17566) Replace hardcoded timeout constants in tests with SHORT_TIMEOUT of test.support, so it's easier to ajdust this timeout for all tests at once. SHORT_TIMEOUT is 30 seconds by default, but it can be longer depending on --timeout command line option. The change makes almost all timeouts longer, except test_reap_children() of test_support which is made 2x shorter: SHORT_TIMEOUT should be enough. If this test starts to fail, LONG_TIMEOUT should be used instead. Uniformize also "from test import support" import in some test files. 11 December 2019, 10:30:03 UTC
b7a0109 bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 (GH-17568) * bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 including improved docs for custom finders and better serialization support in EntryPoints. * 📜🤖 Added by blurb_it. * Correct module reference 11 December 2019, 01:05:10 UTC
d0802d0 bpo-39012: Fix RC version suffix for nuget release files (GH-17564) 10 December 2019, 23:19:03 UTC
1d0f9b3 bpo-38614: Use test.support.INTERNET_TIMEOUT constant (GH-17565) Replace hardcoded timeout constants in tests with INTERNET_TIMEOUT of test.support, so it's easier to ajdust this timeout for all tests at once. 10 December 2019, 21:09:23 UTC
c98b019 bpo-38614: Use test.support.LONG_TIMEOUT constant (GH-17562) Replace hardcoded timeout constants in tests with LONG_TIMEOUT of test.support, so it's easier to ajdust this timeout for all tests at once. LONG_TIMEOUT is 5 minutes by default, but it can be longer depending on --timeout command line option. 10 December 2019, 20:12:26 UTC
bbc8b79 bpo-38614: Use default join_thread() timeout in tests (GH-17559) Tests no longer pass a timeout value to join_thread() of test.support: use the default join_thread() timeout instead (SHORT_TIMEOUT constant of test.support). 10 December 2019, 19:41:23 UTC
07871b2 bpo-38614: Use test.support.LOOPBACK_TIMEOUT constant (GH-17554) Replace hardcoded timeout constants in tests with LOOPBACK_TIMEOUT of test.support, so it's easier to ajdust this timeout for all tests at once. 10 December 2019, 19:32:59 UTC
680068c Minor fixes to the NEWS entries (GH-17556) 10 December 2019, 16:09:58 UTC
8237497 bpo-39004: increment large sendfile() test timeout (GH-17552) 10 December 2019, 09:31:06 UTC
abdeb57 Fix Windows release builds (GH-17550) 10 December 2019, 05:10:22 UTC
e9df88e Clean imports in test_unparse (GH-17545) 10 December 2019, 00:37:47 UTC
bbc4162 bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416) This has happened on some versions of Ubuntu. 10 December 2019, 00:30:01 UTC
232689b bpo-38944: Escape key now closes IDLE completion windows. (GH-17419) 09 December 2019, 23:22:16 UTC
2ad7651 bpo-39009: Fix typo in test__locale (GH-17544) 09 December 2019, 22:16:00 UTC
a2ff283 bpo-27961: Replace PY_ULLONG_MAX with ULLONG_MAX (GH-17539) 09 December 2019, 20:22:19 UTC
ee17e37 bpo-39007: Add auditing events to functions in winreg (GH-17541) Also allows winreg.CloseKey() to accept same types as other functions. 09 December 2019, 19:18:12 UTC
b8cbe74 bpo-39008: Require Py_ssize_t for PySys_Audit formats rather than raise a deprecation warning (GH-17540) 09 December 2019, 19:05:39 UTC
ac22911 bpo-39003: Make sure all test are the same when using -R in test_unparse (GH-17537) 09 December 2019, 17:57:50 UTC
c18b805 bpo-39002: Fix simple typo: tranlation -> translation (GH-17517) 09 December 2019, 17:42:17 UTC
e89e159 Fix APPX registry key generation (GH-17489) 09 December 2019, 16:43:13 UTC
a1a99b4 bpo-20443: No longer make sys.argv[0] absolute for script (GH-17534) In Python 3.9.0a1, sys.argv[0] was made an asolute path if a filename was specified on the command line. Revert this change, since most users expect sys.argv to be unmodified. 09 December 2019, 16:34:02 UTC
d219cc4 bpo-34776: Fix dataclasses to support __future__ "annotations" mode (#9518) 09 December 2019, 14:54:20 UTC
bba873e bpo-38992: avoid fsum test failure from constant-folding (GH-17513) * Issue 38992: avoid fsum test failure * Add NEWS entry 09 December 2019, 14:36:34 UTC
ab513a3 bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR (#17311) 09 December 2019, 14:21:10 UTC
82b4950 bpo-39006: Fix asyncio when the ssl module is missing (GH-17524) Fix asyncio when the ssl module is missing: only check for ssl.SSLSocket instance if the ssl module is available. 09 December 2019, 14:02:03 UTC
0131aba bpo-38916: array.array: remove fromstring() and tostring() (GH-17487) array.array: Remove tostring() and fromstring() methods. They were aliases to tobytes() and frombytes(), deprecated since Python 3.2. 09 December 2019, 13:09:14 UTC
a1838ec bpo-38547: Fix test_pty if the process is the session leader (GH-17519) Fix test_pty: if the process is the session leader, closing the master file descriptor raises a SIGHUP signal: simply ignore SIGHUP when running the tests. 09 December 2019, 10:57:05 UTC
109fc27 bpo-38673: dont switch to ps2 if the line starts with comment or whitespace (GH-17421) https://bugs.python.org/issue38673 09 December 2019, 04:36:27 UTC
3ae4ea1 bpo-38708: email: Fix a potential IndexError when parsing Message-ID (GH-17504) Fix a potential IndexError when passing an empty value to the message-id parser. Instead, HeaderParseError should be raised. 09 December 2019, 01:37:34 UTC
68157da bpo-38698: Add a new InvalidMessageID token to email header parser. (GH-17503) This adds a new InvalidMessageID token to the email header parser which can be used to represent invalid message-id headers in the parse tree. 09 December 2019, 01:35:38 UTC
080ee5a bpo-38858: Fix ref leak in pycore_interp_init() (GH-17512) bpo-38858, bpo-38997: _PySys_Create() returns a strong reference to the sys module: Py_DECREF() is needed when we are done with the module. 08 December 2019, 20:55:58 UTC
526606b bpo-38994: Implement __class_getitem__ for PathLike (GH-17498) https://bugs.python.org/issue38994 08 December 2019, 20:31:15 UTC
cd90a52 bpo-38669: patch.object now raises a helpful error (GH17034) This means a clearer message is now shown when patch.object is called with two string arguments, rather than a class and a string argument. 08 December 2019, 20:14:38 UTC
28c9163 bpo-38979: fix ContextVar "__class_getitem__" method (GH-17497) now contextvars.ContextVar "__class_getitem__" method returns ContextVar class, not None. https://bugs.python.org/issue38979 Automerge-Triggered-By: @asvetlov 08 December 2019, 11:35:59 UTC
00ada2c bpo-38852: Set thread stack size to 8 Mb for debug builds on android platforms (GH-17337) 08 December 2019, 07:40:14 UTC
6cac113 bpo-38991: Remove test.support.strip_python_stderr() (GH-17490) test.support: run_python_until_end(), assert_python_ok() and assert_python_failure() functions no longer strip whitespaces from stderr. 08 December 2019, 07:38:16 UTC
2b7de66 bpo-38820: OpenSSL 3.0.0 compatibility. (GH-17190) test_openssl_version now accepts version 3.0.0. getpeercert() no longer returns IPv6 addresses with a trailing new line. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38820 07 December 2019, 16:59:36 UTC
15fb7fa bpo-29636: json.tool: Add document for indentation options. (GH-17482) And updated test to use subprocess.run 07 December 2019, 14:14:40 UTC
4443450 bpo-38652: Remove provisional note for asyncio.BufferedProtocol (GH-17047) https://bugs.python.org/issue38652 07 December 2019, 12:53:12 UTC
892f9e0 bpo-37404: Raising value error if an SSLSocket is passed to asyncio functions (GH-16457) https://bugs.python.org/issue37404 07 December 2019, 11:52:35 UTC
969ae7a Make repr of C accelerated TaskWakeupMethWrapper the same as of pure Python version (GH-17484) 07 December 2019, 11:23:21 UTC
7ddcd0c bpo-38529: Fix asyncio stream warning (GH-17474) 07 December 2019, 11:22:00 UTC
dec3672 bpo-38978: Implement __class_getitem__ for asyncio objects (GH-17491) https://bugs.python.org/issue38978 07 December 2019, 11:05:07 UTC
723f71a bpo-37931: Fix crash on OSX re-initializing os.environ (GH-15428) On most platforms, the `environ` symbol is accessible everywhere. In a dylib on OSX, it's not easily accessible, you need to find it with _NSGetEnviron. The code was caching the *value* of environ. But a setenv() can change the value, leaving garbage at the old value. Fix: don't cache the value of environ, just read it every time. 06 December 2019, 19:15:03 UTC
e76ee1a bpo-38982: Fix asyncio PidfdChildWatcher on waitpid() error (GH-17477) If waitpid() is called elsewhere, waitpid() call fails with ChildProcessError: use return code 255 in this case, and log a warning. It ensure that the pidfd file descriptor is closed if this error occurs. 06 December 2019, 15:32:41 UTC
b64334c bpo-36820: Break unnecessary cycle in socket.py, codeop.py and dyld.py (GH-13135) Break cycle generated when saving an exception in socket.py, codeop.py and dyld.py as they keep alive not only the exception but user objects through the ``__traceback__`` attribute. https://bugs.python.org/issue36820 Automerge-Triggered-By: @pablogsal 06 December 2019, 14:27:38 UTC
efefe25 bpo-27413: json.tool: Add --no-ensure-ascii option. (GH-17472) 06 December 2019, 06:44:01 UTC
d863ade bpo-38858: Add pycore_interp_init() code to factorize code (GH-17483) Add a new pycore_interp_init() function called by new_interpreter() and pyinit_config(). 06 December 2019, 02:37:07 UTC
81fe5bd bpo-38858: new_interpreter() reuses _PySys_Create() (GH-17481) new_interpreter() now calls _PySys_Create() to create a new sys module isolated from the main interpreter. It now calls _PySys_InitCore() and _PyImport_FixupBuiltin(). init_interp_main() now calls _PySys_InitMain(). 06 December 2019, 01:43:30 UTC
44ea525 Fix unquoted YAML in Windows release build (GH-17479) 05 December 2019, 23:32:04 UTC
4da4400 Remove unused variable in Python/pylifecycle.c (GH-17475) 05 December 2019, 16:18:27 UTC
1f9f69d bpo-27961: Replace PY_LLONG_MAX, PY_LLONG_MIN and PY_ULLONG_MAX with standard macros (GH-15385) Use standard constants LLONG_MIN, LLONG_MAX and ULLONG_MAX. 05 December 2019, 14:55:28 UTC
99eb70a bpo-38951: Use threading.main_thread() check in asyncio (GH-17433) https://bugs.python.org/issue38951 05 December 2019, 12:40:12 UTC
bb81549 bpo-38698: Prevent UnboundLocalError to pop up in parse_message_id (GH-17277) parse_message_id() was improperly using a token defined inside an exception handler, which was raising `UnboundLocalError` on parsing an invalid value. https://bugs.python.org/issue38698 05 December 2019, 03:14:26 UTC
8b78796 bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 (GH-17467) Use the "volatile" keyword to prevent tail call optimization on any compiler, rather than relying on compiler specific pragma. 04 December 2019, 20:10:06 UTC
7105319 bpo-38634: Allow non-apple build to cope with libedit (GH-16986) The readline module now detects if Python is linked to libedit at runtime on all platforms. Previously, the check was only done on macOS. If Python is used as a library by a binary linking to libedit, the linker resolves the rl_initialize symbol required by the readline module against libedit instead of libreadline, which leads to a segfault. Take advantage of the existing supporting code to have readline module being compatible with both situations. 04 December 2019, 16:02:57 UTC
ac0e1c2 bpo-38962: Fix reference leak in the per-subinterpreter gc (GH-17457) https://bugs.python.org/issue38962 Automerge-Triggered-By: @pablogsal 04 December 2019, 11:51:03 UTC
b96c6b0 bpo-38962: Fix reference leak in new_interpreter() (GH-17453) https://bugs.python.org/issue38962 Automerge-Triggered-By: @pablogsal 04 December 2019, 11:19:59 UTC
808769f bpo-33684: json.tool: Use utf-8 for infile and outfile. (GH-17460) 04 December 2019, 09:39:31 UTC
24f5cac bpo-38962: Fix reference leak in test_httpservers (GH-17454) 04 December 2019, 09:29:10 UTC
edd5b38 Add setobject.c (GH-17463) 04 December 2019, 09:07:02 UTC
83f1449 add @ethanfurman for tarfile (GH-17461) 04 December 2019, 08:18:31 UTC
0325794 bpo-29636: Add --(no-)indent arguments to json.tool (GH-345) 04 December 2019, 06:15:19 UTC
eb48a45 bpo-27873: Update docstring for multiprocessing.Pool.map (GH-17436) Update docstring for `multiprocessing.Pool.map` to mention `pool.starmap()`. Prev PR: https://github.com/python/cpython/pull/17367 @aeros https://bugs.python.org/issue27873 03 December 2019, 23:30:53 UTC
8943318 bpo-38270: Fix indentation of test_hmac assertions (GH-17446) Since https://github.com/python/cpython/commit/c64a1a61e6fc542cada40eb069a239317e1af36e two assertions were indented and thus ignored when running test_hmac. This PR fixes it. As the change is quite trivial I didn't add a NEWS entry. https://bugs.python.org/issue38270 03 December 2019, 15:35:54 UTC
a62ad47 bpo-38945: UU Encoding: Don't let newline in filename corrupt the output format (#17418) 02 December 2019, 22:25:21 UTC
016b028 Fix compiler warning in Objects/unicodeobject.c (GH-17440) 02 December 2019, 18:09:43 UTC
34864d1 bpo-38815: Accept TLSv3 default in min max test (GH-NNNN) (GH-17437) Make ssl tests less strict and also accept TLSv3 as the default maximum version. This change unbreaks test_min_max_version on Fedora 32. https://bugs.python.org/issue38815 02 December 2019, 16:15:42 UTC
2fe4c48 bpo-38449: Add URL delimiters test cases (#16729) * bpo-38449: Add tricky test cases * bpo-38449: Reflect codereview 01 December 2019, 23:06:28 UTC
fdafa1d document threading.Lock.locked() (GH-17427) 01 December 2019, 20:07:39 UTC
575d0b4 Fix typos (GH-17423) 01 December 2019, 05:44:21 UTC
8d62df6 bpo-37523: Raise ValueError for I/O operations on a closed zipfile.ZipExtFile. (GH-14658) Raises ValueError when calling the following on a closed zipfile.ZipExtFile: read, readable, seek, seekable, tell. 30 November 2019, 08:30:47 UTC
back to top