Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Sync whatsnew with the edit I made in the 3.12 backport PR. (#109807) | Gregory P. Smith | 2023-09-24 | 1 | -1/+3 | |
| | | | | | | A post main merge edit to the text was added in the 3.12 backport PR. https://github.com/python/cpython/pull/109773/commits/e38d7104b8f245e5db6d487932c44edf0d2c4762 This includes that in main. It's a minor edit over #109767 to resolve the comment there. | |||||
* | gh-109653: Avoid a top-level import of `types` in `functools` (#109804) | Alex Waygood | 2023-09-24 | 2 | -1/+4 | |
| | ||||||
* | GH-109190: Copyedit 3.12 What's New: Use the ``:file:`` role (#109756) | Adam Turner | 2023-09-24 | 1 | -11/+11 | |
| | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | |||||
* | gh-109653: Remove unused imports in the `Lib/` directory (#109803) | Alex Waygood | 2023-09-24 | 20 | -25/+6 | |
| | ||||||
* | gh-101100: Fix sphinx warnings in `Doc/library/xml.etree.elementtree.rst` ↵ | Nikita Sobolev | 2023-09-24 | 2 | -2/+6 | |
| | | | | | (#109799) gh-101100: Fix shpinx warnings in `Doc/library/xml.etree.elementtree.rst` | |||||
* | gh-109653: Improve `enum` import time by avoiding import of `functools` ↵ | Alex Waygood | 2023-09-23 | 2 | -3/+3 | |
| | | | | (GH-109789) | |||||
* | gh-109653: `typing.py`: improve import time by creating soft-deprecated ↵ | Alex Waygood | 2023-09-23 | 3 | -8/+24 | |
| | | | | | members on demand (#109651) Co-authored-by: Thomas Grainger <tagrain@gmail.com> | |||||
* | gh-109521: Fix obscure cases handling in PyImport_GetImporter() (GH-109522) | Serhiy Storchaka | 2023-09-23 | 2 | -5/+26 | |
| | | | | | | | | PyImport_GetImporter() now sets RuntimeError if it fails to get sys.path_hooks or sys.path_importer_cache or they are not list and dict correspondingly. Previously it could return NULL without setting error in obscure cases, crash or raise SystemError if these attributes have wrong type. | |||||
* | gh-109611: Add convenient C API function _PyFile_Flush() (GH-109612) | Serhiy Storchaka | 2023-09-23 | 11 | -97/+54 | |
| | ||||||
* | gh-109634: Use :samp: role (GH-109635) | Serhiy Storchaka | 2023-09-23 | 30 | -95/+99 | |
| | ||||||
* | gh-100228: Document the os.fork threads DeprecationWarning. (#109767) | Gregory P. Smith | 2023-09-23 | 4 | -4/+58 | |
| | | | | | | | | Document the `os.fork` posix threads detected `DeprecationWarning` in 3.12 What's New, os, multiprocessing, and concurrent.futures docs. Many reviews and doc cleanup edits by Adam & Hugo. 🥳 Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | |||||
* | gh-109505: Remove unnecessary `hasattr` checks from `test_asyncio` (#109506) | Nikita Sobolev | 2023-09-23 | 2 | -7/+3 | |
| | ||||||
* | GH-95913: Add the release date for Python 3.11 (#109750) | Adam Turner | 2023-09-23 | 2 | -2/+1 | |
| | ||||||
* | Fix indentation in 3.13 What's New (#109769) | Jelle Zijlstra | 2023-09-23 | 1 | -4/+6 | |
| | | | | | The previous layout made it look like the other three deprecations are part of the first one, when in fact they are independent. The new layout is consistent with that used for sqlite3 in 3.12 (https://docs.python.org/3.13/whatsnew/3.12.html#deprecated). | |||||
* | gh-109706: Fix multiprocessing test_nested_startmethod() (#109707) | Victor Stinner | 2023-09-22 | 1 | -1/+3 | |
| | | | Don't check order, queue items can be written in any order. | |||||
* | GH-107265: Add missing deoptimizations for ENTER_EXECUTOR's original opcode ↵ | Tian Gao | 2023-09-22 | 3 | -2/+3 | |
| | | | | (GH-109420) | |||||
* | gh-109721: Guard `_testinternalcapi` imports in tests (GH-109722) | Nikita Sobolev | 2023-09-22 | 3 | -3/+11 | |
| | ||||||
* | Docs: Update Donghee Na's name (#109743) | Hugo van Kemenade | 2023-09-22 | 49 | -149/+149 | |
| | ||||||
* | gh-109596: Ensure repeated rules in the grammar are not allowed and fix ↵ | Pablo Galindo Salgado | 2023-09-22 | 7 | -1219/+1203 | |
| | | | | incorrect soft keywords (#109606) | |||||
* | gh-109719: Fix missing jump target labels when compiler reorders cold/warm ↵ | Irit Katriel | 2023-09-22 | 3 | -0/+17 | |
| | | | | blocks (#109734) | |||||
* | gh-109164: Replace `getopt` with `argparse` in pdb (#109165) | Tian Gao | 2023-09-22 | 2 | -18/+27 | |
| | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
* | ACKS: Fix ordering; Correct Itamar Oren's surname; Add Adam Turner (#109737) | Adam Turner | 2023-09-22 | 1 | -3/+3 | |
| | ||||||
* | gh-109723: Disable Py_BUILD_CORE in _testcapi (#109727) | Victor Stinner | 2023-09-22 | 8 | -101/+114 | |
| | | | | | | | | | | | | | | | | | | Make sure that the internal C API is not tested by mistake by _testcapi. Undefine Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE macros in Modules/_testcapi/parts.h: move code from _testcapimodule.c. heaptype_relative.c and vectorcall_limited.c are using the limited C API which is incompatible with the internal C API. Move test_long_numbits() from _testcapi to _testinternalcapi since it uses the internal C API "pycore_long.h". Fix Modules/_testcapi/pyatomic.c: don't include Python.h directly, just include _testcapi/parts.h. Ajust "make check-c-globals" for these changes. | |||||
* | GH-109190: Copyedit 3.12 What's New: asyncio (#109661) | Adam Turner | 2023-09-22 | 1 | -4/+4 | |
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Itamar Oren <itamarost@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | |||||
* | GH-109190: Copyedit 3.12 What's New: PEP 669 (#109658) | Adam Turner | 2023-09-22 | 1 | -3/+5 | |
| | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | |||||
* | gh-109709: Fix asyncio test_stdin_broken_pipe() (#109710) | Victor Stinner | 2023-09-22 | 2 | -16/+50 | |
| | | | | | | Replace harcoded sleep of 500 ms with synchronization using a pipe. Fix also Process._feed_stdin(): catch also BrokenPipeError on stdin.write(input), not only on stdin.drain(). | |||||
* | Remove outdated docstring from the `quantify` itertools recipe (#109726) | Łukasz Langa | 2023-09-22 | 1 | -1/+0 | |
| | ||||||
* | GH-109190: Copyedit 3.12 What's New: Other Language Changes (#109660) | Adam Turner | 2023-09-22 | 1 | -8/+8 | |
| | ||||||
* | gh-105829: Fix concurrent.futures.ProcessPoolExecutor deadlock (#108513) | elfstrom | 2023-09-22 | 3 | -4/+87 | |
| | | | | | | | | This fixes issue #105829, https://github.com/python/cpython/issues/105829 Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Antoine Pitrou <antoine@python.org> Co-authored-by: Chris Withers <chris@withers.org> Co-authored-by: Thomas Moreau <thomas.moreau.2010@gmail.com> | |||||
* | GH-109190: Copyedit 3.12 What's New: PEP 684 (#109657) | Adam Turner | 2023-09-22 | 1 | -4/+4 | |
| | ||||||
* | GH-109190: Copyedit 3.12 What's New: bytecode (LOAD_METHOD) (#109665) | Adam Turner | 2023-09-22 | 1 | -2/+2 | |
| | | | bytecode: suppress reference to removed LOAD_METHOD | |||||
* | gh-106584: Fix exit code for unittest in Python 3.12 (#106588) | EliseevEgor | 2023-09-22 | 5 | -12/+18 | |
| | | | | | Co-authored-by: sunmy2019 <59365878+sunmy2019@users.noreply.github.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me> | |||||
* | GH-109190: Copyedit 3.12 What's New: calendar (#109662) | Adam Turner | 2023-09-22 | 1 | -1/+2 | |
| | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | |||||
* | GH-109190: Copyedit 3.12 What's New: tokenize (#109663) | Adam Turner | 2023-09-22 | 1 | -2/+2 | |
| | ||||||
* | GH-109190: Copyedit 3.12 What's New: Consistently show module names (#109664) | Adam Turner | 2023-09-22 | 1 | -20/+20 | |
| | | | Consistently show module names | |||||
* | gh-109566: Fix typo in PCbuild/rt.bat (#109701) | Victor Stinner | 2023-09-22 | 1 | -1/+1 | |
| | ||||||
* | gh-109702: Increase concurrent_futures deadlock timeout (#109703) | Victor Stinner | 2023-09-22 | 1 | -1/+1 | |
| | | | | Replace SHORT_TIMEOUT with LONG_TIMEOUT in test_deadlock of test_concurrent_futures. | |||||
* | gh-108996: fix and enable test_msvcrt (#109226) | AN Long | 2023-09-22 | 4 | -18/+120 | |
| | | | | | | * Add _testconsole.flush_console_input_buffer() function. * test_kbhit(), test_getwch() and test_getwche() now call flush_console_input_buffer(). * Don't override sys.stdin anymore (not needed). | |||||
* | gh-104469: Disallow using Py_LIMITED_API with Py_BUILD_CORE (#109690) | Victor Stinner | 2023-09-21 | 2 | -2/+11 | |
| | | | | Fix make check-c-globals: complete USE_LIMITED_C_API list of the c-analyzer. | |||||
* | gh-108948: Skip test_tarfile.test_modes() on EFTYPE error (#109697) | Victor Stinner | 2023-09-21 | 1 | -8/+21 | |
| | | | | On FreeBSD, regular users cannot set the sticky bit. Skip the test if chmod() fails with EFTYPE error. | |||||
* | gh-109582: test_fork_signal_handling should wait for event (#109605) | Davide Rizzo | 2023-09-21 | 1 | -2/+11 | |
| | | | | | | Sometimes the child_handled event was missing because either the child quits before it gets a chance to handle the signal, or the parent asserts before the event notification is delivered via IPC. Synchronize explicitly to avoid this. | |||||
* | gh-109693: Remove pycore_atomic_funcs.h (#109694) | Sam Gross | 2023-09-21 | 6 | -116/+3 | |
| | | | _PyUnicode_FromId() now uses pyatomic.h functions instead. | |||||
* | gh-108303: Update test_fractions for new Lib/test/mathdata/ (#109686) | Victor Stinner | 2023-09-21 | 1 | -1/+1 | |
| | ||||||
* | GH-109190: Copyedit 3.12 What's New: PEP 701 (#109655) | Adam Turner | 2023-09-21 | 1 | -15/+17 | |
| | ||||||
* | GH-109190: Copyedit 3.12 What's New: Improved Error Messages (#109654) | Adam Turner | 2023-09-21 | 1 | -6/+5 | |
| | ||||||
* | gh-108303: Move all math files to `Lib/test/mathdata/` (#109512) | Nikita Sobolev | 2023-09-21 | 8 | -4/+6 | |
| | ||||||
* | GH-109190: Copyedit 3.12 What's New: Typing PEPs (#109659) | Adam Turner | 2023-09-21 | 1 | -4/+6 | |
| | ||||||
* | GH-109190: Copyedit 3.12 What's New: PEP 709 (#109656) | Adam Turner | 2023-09-21 | 1 | -7/+5 | |
| | ||||||
* | gh-74481: Add missing debug function docs and constants to msvcrt (GH-109650) | AN Long | 2023-09-21 | 3 | -13/+107 | |
| | ||||||
* | gh-109613: _pystat_fromstructstat() checks for exceptions (#109618) | Victor Stinner | 2023-09-21 | 2 | -49/+76 | |
| | | | | | | | | | | | | | Fix os.stat() and os.DirEntry.stat(): check for exceptions. Previously, on Python built in debug mode, these functions could trigger a fatal Python error (and abort the process) when a function succeeded with an exception set. _pystat_fromstructstat() now exits immediately if an exception is raised, rather only checking for exceptions at the end. It fix following fatal error in fill_time(): Fatal Python error: _Py_CheckSlotResult: Slot * of type int succeeded with an exception set |