]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
10 days ago[3.14] gh-140189: Add CI job to test iOS builds. (GH-140190) (#140696)
Miss Islington (bot) [Tue, 28 Oct 2025 06:13:30 +0000 (07:13 +0100)] 
[3.14] gh-140189: Add CI job to test iOS builds. (GH-140190) (#140696)

Adds a CI configuration to test iOS builds on every build.
(cherry picked from commit f4e6370582380b12286b6f5b625c282eaf12c84a)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
10 days ago[3.14] gh-140104: Set next_instr properly in the JIT during exceptions (GH-140233...
Mikhail Efimov [Mon, 27 Oct 2025 23:49:10 +0000 (02:49 +0300)] 
[3.14] gh-140104: Set next_instr properly in the JIT during exceptions (GH-140233) (GH-140687)

Co-authored-by: Ken Jin <kenjin@python.org>
Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com>
Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
10 days ago[3.14] gh-140634: Fix a reference counting bug in os.sched_param.__reduce__() (GH...
Miss Islington (bot) [Mon, 27 Oct 2025 20:08:57 +0000 (21:08 +0100)] 
[3.14] gh-140634: Fix a reference counting bug in os.sched_param.__reduce__() (GH-140667) (GH-140685)

(cherry picked from commit 364ae607d8035db8ba92486ebebd8225446c1a90)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
11 days ago[3.14] gh-140358: Bring back elapsed time and unreachable count to gc debug output...
Miss Islington (bot) [Mon, 27 Oct 2025 13:29:43 +0000 (14:29 +0100)] 
[3.14] gh-140358: Bring back elapsed time and unreachable count to gc debug output (GH-140359) (#140405)

Co-authored-by: Pål Grønås Drange <paal.drange+pgdr@gmail.com>
11 days ago[3.14] gh-140487: Fix Py_RETURN_NOTIMPLEMENTED in limited C API 3.11 (GH-140636)...
Miss Islington (bot) [Mon, 27 Oct 2025 13:15:49 +0000 (14:15 +0100)] 
[3.14] gh-140487: Fix Py_RETURN_NOTIMPLEMENTED in limited C API 3.11 (GH-140636) (#140668)

gh-140487: Fix Py_RETURN_NOTIMPLEMENTED in limited C API 3.11 (GH-140636)

Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE have already been
fixed by commit 9258f3da9175134d03f2c8c7c7eed223802ad945 (issue gh-134989).
(cherry picked from commit c6364775236e3c634c3393c7f50fece50611245f)

Co-authored-by: Victor Stinner <vstinner@python.org>
11 days ago[3.14] gh-140633: AppleFrameworkLoader: Ignore AttributeError when setting __file__...
Miss Islington (bot) [Mon, 27 Oct 2025 13:08:00 +0000 (14:08 +0100)] 
[3.14] gh-140633: AppleFrameworkLoader: Ignore AttributeError when setting __file__ (GH-140635) (GH-140660)

(cherry picked from commit 3416e7c8dc004773d814b6f9ec9562434ed961cd)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
11 days ago[3.14] Docs: Replace "encoder" with "decoder" in `Doc/c-api/codec.rst` (GH-140613...
Miss Islington (bot) [Mon, 27 Oct 2025 09:51:14 +0000 (10:51 +0100)] 
[3.14] Docs: Replace "encoder" with "decoder" in `Doc/c-api/codec.rst` (GH-140613) (#140661)

Docs: Replace "encoder" with "decoder" in `Doc/c-api/codec.rst` (GH-140613)
(cherry picked from commit d12086e8228323cc2e31d263f1aeb8190bd1c1d9)

Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
11 days ago[3.14] Remove dead stores to 'size' in UTF-8 decoder (unicodeobject.c) (GH-140637...
Miss Islington (bot) [Mon, 27 Oct 2025 09:21:43 +0000 (10:21 +0100)] 
[3.14] Remove dead stores to 'size' in UTF-8 decoder (unicodeobject.c) (GH-140637) (#140658)

Remove dead stores to 'size' in UTF-8 decoder (unicodeobject.c) (GH-140637)
(cherry picked from commit 7d70a147f58edabc9691869a0e8b606c9c3ac184)

Co-authored-by: Shamil <ashm.tech@proton.me>
12 days ago[3.14] gh-140593: Fix a memory leak in function `my_ElementDeclHandler` of `pyexpat...
Sebastian Pipping [Sun, 26 Oct 2025 15:19:18 +0000 (16:19 +0100)] 
[3.14] gh-140593: Fix a memory leak in function `my_ElementDeclHandler` of `pyexpat` (GH-140602) (#140629)

[3.14] gh-140593: Fix a memory leak in function `my_ElementDeclHandler` of `pyexpat` (GH-140602)

Ensure that the memory allocated for the content model
passed to `my_ElementDeclHandler` is freed in all error
paths.

(cherry picked from commit e34a5e33049ce845de646cf24a498766a2da3586)

12 days ago[3.14] gh-137568: Ignore startup file in `test_dumb_terminal_exits_cleanly` (GH-14029...
Miss Islington (bot) [Sun, 26 Oct 2025 15:15:49 +0000 (16:15 +0100)] 
[3.14] gh-137568: Ignore startup file in `test_dumb_terminal_exits_cleanly` (GH-140295) (GH-140628)

gh-137568: Ignore startup file in `test_dumb_terminal_exits_cleanly` (GH-140295)
(cherry picked from commit 06c779474c7f53bccb8ebf42c66e73b2488bf488)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
12 days ago[3.14] gh-133346: add tests for `_colorize.Theme` (GH-139687) (#140622)
Miss Islington (bot) [Sun, 26 Oct 2025 12:49:20 +0000 (13:49 +0100)] 
[3.14] gh-133346: add tests for `_colorize.Theme` (GH-139687) (#140622)

* gh-133346: add tests for `_colorize.Theme` (GH-139687)
(cherry picked from commit 37827c17526b7d3e1275861a1207be71aef6b284)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
12 days ago[3.14] gh-133346: make `_colorize.Argparse` kw-only constructible (GH-140620) (#140621)
Miss Islington (bot) [Sun, 26 Oct 2025 12:00:10 +0000 (13:00 +0100)] 
[3.14] gh-133346: make `_colorize.Argparse` kw-only constructible (GH-140620) (#140621)

gh-133346: make `_colorize.Argparse` kw-only constructible (GH-140620)

Other themes are kw-only constructible.
(cherry picked from commit 387ac2d2f3a9de139d2e1ad5f0dc7996af015f54)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
12 days ago[3.14] Docs: Fix a grammatical error in `Doc/c-api/codec.rst` (GH-140612) (#140616)
Miss Islington (bot) [Sun, 26 Oct 2025 09:45:34 +0000 (10:45 +0100)] 
[3.14] Docs: Fix a grammatical error in `Doc/c-api/codec.rst` (GH-140612) (#140616)

Docs: Fix a grammatical error in `Doc/c-api/codec.rst` (GH-140612)
(cherry picked from commit 33b2ca80bb073e25b8e23691da96cf0eda67c7bf)

Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
12 days ago[3.14] gh-124694: Add versionadded note to InterpreterPoolExecutor (GH-140605)
Miss Islington (bot) [Sat, 25 Oct 2025 23:37:24 +0000 (01:37 +0200)] 
[3.14] gh-124694: Add versionadded note to InterpreterPoolExecutor (GH-140605)

(cherry picked from commit 421a475c87771d46752c27def264e5c622a58427)

Co-authored-by: Zachary Ware <zach@python.org>
13 days ago[3.14] Fix typo in `Doc/c-api/code.rst` (GH-140586) (#140591)
Miss Islington (bot) [Sat, 25 Oct 2025 15:41:04 +0000 (17:41 +0200)] 
[3.14] Fix typo in `Doc/c-api/code.rst` (GH-140586) (#140591)

Fix typo in `Doc/c-api/code.rst` (GH-140586)
(cherry picked from commit d74a96366df58b6e55d4a03612c3e67da2211ddd)

Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
13 days ago[3.14] Remove unreachable break statements in _ctypes_test.c (GH-140585) (#140587)
Miss Islington (bot) [Sat, 25 Oct 2025 15:39:42 +0000 (17:39 +0200)] 
[3.14] Remove unreachable break statements in _ctypes_test.c (GH-140585) (#140587)

Remove unreachable break statements in _ctypes_test.c (GH-140585)
(cherry picked from commit 2a1c9bd616b1b3a07c74d280e3f7e2bd94d0cc22)

Co-authored-by: Shamil <ashm.tech@proton.me>
13 days ago[3.14] Docs: Fix a grammatical error in `Doc/c-api/capsule.rst` (GH-140577) (GH-140580)
Miss Islington (bot) [Sat, 25 Oct 2025 14:02:20 +0000 (16:02 +0200)] 
[3.14] Docs: Fix a grammatical error in `Doc/c-api/capsule.rst` (GH-140577) (GH-140580)

Docs: Fix a grammatical error in `Doc/c-api/capsule.rst` (GH-140577)

"who" -> "which"
(cherry picked from commit 4ad599501fe8ec58ef2842d26330696820b2cc5c)

Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
13 days ago[3.14] gh-140463: Fix typo in xmlrpc.client documentation (GH-140552) (#140568)
Miss Islington (bot) [Fri, 24 Oct 2025 20:53:24 +0000 (22:53 +0200)] 
[3.14] gh-140463: Fix typo in xmlrpc.client documentation (GH-140552) (#140568)

gh-140463: Fix typo in xmlrpc.client documentation (GH-140552)

Fix typo in xmlrpc.client documentation
(cherry picked from commit 44b6eead21080e1abb3ca9ee2e1c7bc8e7a3c3a6)

Co-authored-by: Miša Jakovljević <misajakovljevic3@gmail.com>
13 days ago[3.14] Add missing NEWS entry for gh-140517 (GH-140560) (GH-140565)
Miss Islington (bot) [Fri, 24 Oct 2025 20:00:21 +0000 (22:00 +0200)] 
[3.14] Add missing NEWS entry for gh-140517 (GH-140560) (GH-140565)

(cherry picked from commit d78d7a50b06c4ea10d13fc2dcb42607a97f9260c)

Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
2 weeks ago[3.14] gh-140482: Preserve and restore `stty echo` as a test environment (GH-140519...
Miss Islington (bot) [Fri, 24 Oct 2025 19:24:17 +0000 (21:24 +0200)] 
[3.14] gh-140482: Preserve and restore `stty echo` as a test environment (GH-140519) (#140562)

gh-140482: Preserve and restore `stty echo` as a test environment (GH-140519)
(cherry picked from commit b3c713a0af5f5c4b5704d8019a893a1b70eba941)

gh-140482: Restore `stty echo` as a test environment

Co-authored-by: Barry Warsaw <barry@python.org>
2 weeks ago[3.14] gh-140517: fix leak in `map_next` in strict mode (GH-140543) (#140554)
Miss Islington (bot) [Fri, 24 Oct 2025 16:30:36 +0000 (18:30 +0200)] 
[3.14] gh-140517: fix leak in `map_next` in strict mode (GH-140543) (#140554)

gh-140517: fix leak in `map_next` in strict mode (GH-140543)
(cherry picked from commit be5af997f3461eee638645396866d9cd7acf18fb)

Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
2 weeks ago[3.14] Document that PyModule_GetDef can return NULL with or without setting an excep...
Miss Islington (bot) [Fri, 24 Oct 2025 13:36:35 +0000 (15:36 +0200)] 
[3.14] Document that PyModule_GetDef can return NULL with or without setting an exception (GH-140529) (GH-140545)

(cherry picked from commit 289360ae63933c8956f87307ff091ec9ed19afed)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2 weeks ago[3.14] Docs: Fix a grammatical error in `Doc/c-api/arg.rst` (GH-140525) (GH-140538)
Miss Islington (bot) [Fri, 24 Oct 2025 12:24:26 +0000 (14:24 +0200)] 
[3.14] Docs: Fix a grammatical error in `Doc/c-api/arg.rst` (GH-140525) (GH-140538)

Docs: Fix a grammatical error in `Doc/c-api/arg.rst` (GH-140525)

"have" -> "has"
(cherry picked from commit fc2e23c2ed25bb7b23cf8a870a2e21f012735507)

Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
2 weeks ago[3.14] gh-136535: Tests: Correct `Py_TPFLAGS_MANAGED_DICT` in `test_class.py` (gh...
Miss Islington (bot) [Fri, 24 Oct 2025 11:45:44 +0000 (13:45 +0200)] 
[3.14] gh-136535: Tests: Correct `Py_TPFLAGS_MANAGED_DICT` in `test_class.py` (gh-136538) (gh-140532)

2 weeks ago[3.14] gh-137093: Fix race condition in `test_embed.test_bpo20891` (GH-137094) (...
Kumar Aditya [Fri, 24 Oct 2025 07:51:44 +0000 (13:21 +0530)] 
[3.14] gh-137093: Fix race condition in `test_embed.test_bpo20891` (GH-137094) (#140524)

Use a `PyEvent` instead of a lock to fix a race on the free-threaded build.
(cherry picked from commit 9b451fb457a5de9ed535a0e2f41161dfaa9a419a)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.14] gh-140471: Fix buffer overflow in AST node initialization with malformed ...
Miss Islington (bot) [Thu, 23 Oct 2025 17:20:21 +0000 (19:20 +0200)] 
[3.14] gh-140471: Fix buffer overflow in AST node initialization with malformed `_fields` (GH-140506) (#140509)

gh-140471: Fix buffer overflow in AST node initialization with malformed `_fields` (GH-140506)
(cherry picked from commit 95953b692db6cbd88139de12d81fb123293ec2d5)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-140438: properly run the asyncio REPL tests (GH-140298) (#140507)
Miss Islington (bot) [Thu, 23 Oct 2025 15:48:26 +0000 (17:48 +0200)] 
[3.14] gh-140438: properly run the asyncio REPL tests (GH-140298) (#140507)

gh-140438: properly run the asyncio REPL tests (GH-140298)
(cherry picked from commit 1a3da2c0700839b6e334e368ff2b600c2389763f)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
2 weeks ago[3.14] gh-140431: Fix GC crash due to partially initialized coroutines (gh-140470...
Miss Islington (bot) [Thu, 23 Oct 2025 14:44:21 +0000 (16:44 +0200)] 
[3.14] gh-140431: Fix GC crash due to partially initialized coroutines (gh-140470) (gh-140504)

The `make_gen()` function creates and tracks generator/coro objects, but
doesn't fully initialize all the fields. At a minimum, we need to
initialize all the fields that may be accessed by gen_traverse because
the call to `compute_cr_origin()` can trigger a GC.
(cherry picked from commit 574405c19e9b5de0504be46a3925027ded4495ae)

Co-authored-by: Sam Gross <colesbury@gmail.com>
2 weeks ago[3.14] gh-138774: use `value` to `ast.unparse` code when `str` is `None` in `ast...
Miss Islington (bot) [Thu, 23 Oct 2025 14:39:02 +0000 (16:39 +0200)] 
[3.14] gh-138774: use `value` to `ast.unparse` code when `str` is `None` in `ast.Interpolation` (GH-139415) (#140503)

gh-138774: use `value` to `ast.unparse` code when `str` is `None` in `ast.Interpolation` (GH-139415)
(cherry picked from commit 4d0849426f4c6862e50658c4e35341ffb5ab288b)

Co-authored-by: George Ogden <38294960+George-Ogden@users.noreply.github.com>
2 weeks ago[3.14] GH-139951: Fix major GC performance regression. Backport of GH-140262 (GH...
Mark Shannon [Thu, 23 Oct 2025 14:26:58 +0000 (15:26 +0100)] 
[3.14] GH-139951: Fix major GC performance regression. Backport of GH-140262 (GH-140447)

* Count number of actually tracked objects, instead of trackable objects. This ensures that untracking tuples has the desired effect of reducing GC overhead
* Do not track most untrackable tuples during creation. This prevents large numbers of small tuples causing execessive GCs.

2 weeks ago[3.14] gh-140474: Fix memory leak in `array.array` (GH-140478) (GH-140498)
Miss Islington (bot) [Thu, 23 Oct 2025 10:20:16 +0000 (12:20 +0200)] 
[3.14] gh-140474: Fix memory leak in `array.array` (GH-140478) (GH-140498)

gh-140474: Fix memory leak in `array.array` (GH-140478)
(cherry picked from commit aa9d0a61d5c48717454f36351f0aabe4cc532de5)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-130317: Fix SNaN broken tests on HP PA RISC (GH-140452) (#140467)
Miss Islington (bot) [Wed, 22 Oct 2025 17:04:47 +0000 (19:04 +0200)] 
[3.14] gh-130317: Fix SNaN broken tests on HP PA RISC (GH-140452) (#140467)

gh-130317: Fix SNaN broken tests on HP PA RISC (GH-140452)

While looking at GH-140028, I found some unrelated test regressions in the
3.14 cycle. These seem to all come from GH-130317. From what I can tell,
that made Python more correct than it was before. According to [0], HP PA
RISC uses 1 for SNaN and thus a 0 for QNaN.

[0]: https://grouper.ieee.org/groups/1788/email/msg03272.html
(cherry picked from commit 76fea5596c235a7853cda8df87c3998d506e950c)

Co-authored-by: Stefano Rivera <stefano@rivera.za.net>
2 weeks ago[3.14] gh-116738: Add critical section to dbm/gdbm context manager (gh-140391) (gh...
Miss Islington (bot) [Wed, 22 Oct 2025 15:44:09 +0000 (17:44 +0200)] 
[3.14] gh-116738: Add critical section to dbm/gdbm context manager (gh-140391) (gh-140459)

(cherry picked from commit d51be28876ac0715b6fc674ef41618d214021348)

Co-authored-by: Alper <alperyoney@fb.com>
2 weeks ago[3.14] gh-132835: Add defensive NULL checks to MRO resolution (GH-134763) (GH-140436)
Miss Islington (bot) [Wed, 22 Oct 2025 03:45:06 +0000 (05:45 +0200)] 
[3.14] gh-132835: Add defensive NULL checks to MRO resolution (GH-134763) (GH-140436)

Currently, there are a few places where tp_mro could theoretically
become NULL, but do not in practice. This commit adds defensive checks for
NULL values to ensure that any changes do not introduce a crash and that
state invariants are upheld.

The assertions added in this commit are all instances where a NULL value would get passed to something not expecting a NULL, so it is better to catch an assertion failure than crash later on.

There are a few cases where it is OK for the return of lookup_tp_mro to be NULL, such as when passed to is_subtype_with_mro, which handles this explicitly.
(cherry picked from commit a8edca62fc6d44d16c7f86d49421be1a5ebea3e5)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
2 weeks ago[3.14] `zlib.rst`: Link to constants and deduplicate text (GH-140115) (GH-140349)
Emma Smith [Tue, 21 Oct 2025 21:44:47 +0000 (14:44 -0700)] 
[3.14] `zlib.rst`: Link to constants and deduplicate text (GH-140115) (GH-140349)

* Link to compression setting constants from compression functions
* De-duplicate descriptions of the constants
(cherry picked from commit 091e8513bb58747ade56a03fccb98e220c7722cc)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2 weeks ago[3.14] gh-138764: annotationlib: Make `call_annotate_function` fallback to using...
Miss Islington (bot) [Tue, 21 Oct 2025 16:22:29 +0000 (18:22 +0200)] 
[3.14] gh-138764: annotationlib: Make `call_annotate_function` fallback to using `VALUE` annotations if both the requested format and `VALUE_WITH_FAKE_GLOBALS` are not implemented (GH-138803) (#140426)

gh-138764: annotationlib: Make `call_annotate_function` fallback to using `VALUE` annotations if both the requested format and `VALUE_WITH_FAKE_GLOBALS` are not implemented (GH-138803)
(cherry picked from commit 95c257e2e691456140e79bd98d1674cbd289eb38)

Co-authored-by: David Ellis <ducksual@gmail.com>
2 weeks ago[3.14] Use ``sphinxext-opengraph`` v0.13.0 (GH-140425) (#140427)
Miss Islington (bot) [Tue, 21 Oct 2025 16:08:56 +0000 (18:08 +0200)] 
[3.14] Use ``sphinxext-opengraph`` v0.13.0 (GH-140425) (#140427)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 weeks ago[3.14] gh-139951: Test on GC collection disabled if threshold is zero (GH-140304...
Miss Islington (bot) [Tue, 21 Oct 2025 15:44:33 +0000 (17:44 +0200)] 
[3.14] gh-139951: Test on GC collection disabled if threshold is zero (GH-140304) (#140362)

gh-139951: Test on GC collection disabled if threshold is zero (GH-140304)
(cherry picked from commit 5d0abb69715b9638f26c896444643055ec2ef038)

Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
2 weeks ago[3.14] GH-139436: Remove references to downloadable PDF documentation (GH-140416...
Miss Islington (bot) [Tue, 21 Oct 2025 13:06:48 +0000 (15:06 +0200)] 
[3.14] GH-139436: Remove references to downloadable PDF documentation (GH-140416) (#140419)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 weeks ago[3.14] gh-140406: Fix memory leak upon `__hash__` returning a non-integer (GH-140411...
Miss Islington (bot) [Tue, 21 Oct 2025 12:35:31 +0000 (14:35 +0200)] 
[3.14] gh-140406: Fix memory leak upon `__hash__` returning a non-integer (GH-140411) (GH-140417)

gh-140406: Fix memory leak upon `__hash__` returning a non-integer (GH-140411)
(cherry picked from commit 71db05a12d9953a96f809d84b4d0d452a464e431)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.14] gh-140398: fix memory leaks in `readline` module when `PySys_Audit` fails...
Miss Islington (bot) [Tue, 21 Oct 2025 08:20:14 +0000 (10:20 +0200)] 
[3.14] gh-140398: fix memory leaks in `readline` module when `PySys_Audit` fails (GH-140400) (#140403)

gh-140398: fix memory leaks in `readline` module when `PySys_Audit` fails (GH-140400)
(cherry picked from commit e8e0f411bae1dde634fb152a81e1db1ad1cd2eaa)

Co-authored-by: Shamil <ashm.tech@proton.me>
2 weeks ago[3.14] gh-66646: Explain __base__ attribute in the docs (GH-102554) (GH-140365)
Miss Islington (bot) [Tue, 21 Oct 2025 07:06:49 +0000 (09:06 +0200)] 
[3.14] gh-66646: Explain __base__ attribute in the docs (GH-102554) (GH-140365)

(cherry picked from commit faa169afa0dad9586b294ea9ab6e5e17c5712861)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: Éric <merwok@netwok.org>
2 weeks ago[3.14] [Docs] Add missing note about Required/NotRequired/ReadOnly in get_type_hints...
Miss Islington (bot) [Mon, 20 Oct 2025 20:23:19 +0000 (22:23 +0200)] 
[3.14] [Docs] Add missing note about Required/NotRequired/ReadOnly in get_type_hints() (GH-139565) (#140386)

[Docs] Add missing note about Required/NotRequired/ReadOnly in get_type_hints() (GH-139565)
(cherry picked from commit a752f58d6b628ab4fe6e4263137ec4cc244ff390)

Co-authored-by: Sam Bull <git@sambull.org>
2 weeks ago[3.14] gh-138891: fix star-unpack in get_annotations (GH-138951) (#140384)
Miss Islington (bot) [Mon, 20 Oct 2025 20:20:47 +0000 (22:20 +0200)] 
[3.14] gh-138891: fix star-unpack in get_annotations (GH-138951) (#140384)

gh-138891: fix star-unpack in get_annotations (GH-138951)
(cherry picked from commit c6be6e453730228053783f3444cb62e1425a3feb)

Co-authored-by: Christoph Walcher <christoph-wa@gmx.de>
2 weeks ago[3.14] gh-63161: Fix tokenize.detect_encoding() (GH-139446) (GH-140378)
Miss Islington (bot) [Mon, 20 Oct 2025 17:34:56 +0000 (19:34 +0200)] 
[3.14] gh-63161: Fix tokenize.detect_encoding() (GH-139446) (GH-140378)

* Support non-UTF-8 shebang and comments if non-UTF-8 encoding is specified.
* Detect decoding error for non-UTF-8 encoding.
* Detect null bytes in source code.
(cherry picked from commit 38d4b436ca767351db834189b3a5379406cd52a8)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 weeks ago[3.14] gh-63161: Fix test_source_encoding when stderr is StringIO (GH-140361)
Serhiy Storchaka [Mon, 20 Oct 2025 17:05:42 +0000 (20:05 +0300)] 
[3.14] gh-63161: Fix test_source_encoding when stderr is StringIO (GH-140361)

2 weeks ago[3.14] gh-140263: Fix data race in test_lock_two_threads (gh-140264) (gh-140369)
Miss Islington (bot) [Mon, 20 Oct 2025 14:25:42 +0000 (16:25 +0200)] 
[3.14] gh-140263: Fix data race in test_lock_two_threads (gh-140264) (gh-140369)

Clang-20 detects a data race between the unlock and the non-atomic
read of the lock state. Use a relaxed load for the assertion to avoid
the race.
(cherry picked from commit f11ec6e643f54f4ee698f7dfc878812a315f2af4)

Co-authored-by: Sam Gross <colesbury@gmail.com>
2 weeks ago[3.14] gh-140301: Fix memory leak in subinterpreter `PyConfig` cleanup (GH-140303...
Miss Islington (bot) [Mon, 20 Oct 2025 09:54:41 +0000 (11:54 +0200)] 
[3.14] gh-140301: Fix memory leak in subinterpreter `PyConfig` cleanup (GH-140303) (#140360)

gh-140301: Fix memory leak in subinterpreter `PyConfig` cleanup (GH-140303)
(cherry picked from commit a615fb49c948902a982c3256899507abcc9f9bc8)

Co-authored-by: Shamil <ashm.tech@proton.me>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2 weeks ago[3.14] gh-101100: Fix sphinx warnings in `library/resource.rst` (GH-140023) (#140352)
Miss Islington (bot) [Mon, 20 Oct 2025 07:21:31 +0000 (09:21 +0200)] 
[3.14] gh-101100: Fix sphinx warnings in `library/resource.rst` (GH-140023) (#140352)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
2 weeks ago[3.14] docs: be clearer that glob results are unordered (GH-140184) (#140339)
Miss Islington (bot) [Mon, 20 Oct 2025 04:31:05 +0000 (06:31 +0200)] 
[3.14] docs: be clearer that glob results are unordered (GH-140184) (#140339)

(cherry picked from commit ed672f7a8a3c843d8e6e6b673d5a7c1f752f208c)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
2 weeks ago[3.14] Standardize translation of `Doc/bugs.rst` (GH-137449) (#140275)
Miss Islington (bot) [Sun, 19 Oct 2025 21:13:48 +0000 (23:13 +0200)] 
[3.14] Standardize translation of `Doc/bugs.rst` (GH-137449) (#140275)

Standardize translation of `Doc/bugs.rst` (GH-137449)
(cherry picked from commit 869bb6948eb501b19db53cb27c523c3203a5ab11)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-140306: Fix memory leaks in cross-interpreter data handling (GH-140307...
Miss Islington (bot) [Sun, 19 Oct 2025 19:53:36 +0000 (21:53 +0200)] 
[3.14] gh-140306: Fix memory leaks in cross-interpreter data handling (GH-140307) (GH-140338)

(cherry picked from commit f9323213c98c9f1f7f3bf5af883b73047432fe50)

Co-authored-by: Shamil <ashm.tech@proton.me>
2 weeks ago[3.14] gh-63161: Fix PEP 263 support (GH-139481) (GH-139898)
Miss Islington (bot) [Sun, 19 Oct 2025 19:16:33 +0000 (21:16 +0200)] 
[3.14] gh-63161: Fix PEP 263 support (GH-139481) (GH-139898)

* Support non-UTF-8 shebang and comments if non-UTF-8 encoding is specified.
* Detect decoding error in comments for UTF-8 encoding.
* Include the decoding error position for default encoding in SyntaxError.
(cherry picked from commit 5c942f11cdf5f9d7313200983fa0c58b3bc670a2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 weeks ago[3.14] `Lib/idlelib/idle_test/__init__.py`: remove commented out duplicate code ...
Miss Islington (bot) [Sun, 19 Oct 2025 08:49:48 +0000 (10:49 +0200)] 
[3.14] `Lib/idlelib/idle_test/__init__.py`: remove commented out duplicate code (GH-140259) (#140322)

`Lib/idlelib/idle_test/__init__.py`: remove commented out duplicate code (GH-140259)
(cherry picked from commit 790cdae5a0295586a55f00a57ed24a86b83928dc)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-138997: Remove false justify `fill` option from Tkinter docs (GH-139023...
Miss Islington (bot) [Sun, 19 Oct 2025 03:52:59 +0000 (05:52 +0200)] 
[3.14] gh-138997: Remove false justify `fill` option from Tkinter docs (GH-139023) (#140319)

gh-138997: Remove false justify `fill` option from Tkinter docs (GH-139023)
(cherry picked from commit 115a04b80259ac3116571eb601c5efc51004e90c)

Co-authored-by: Marat Khagazheev <marathagazeev@gmail.com>
Co-authored-by: marat <khagazheev@artlebedev.ru>
2 weeks ago[3.14] gh-128571: Document UTF-16/32 native byte order (GH-139974) (#140309)
Miss Islington (bot) [Sat, 18 Oct 2025 18:59:37 +0000 (20:59 +0200)] 
[3.14] gh-128571: Document UTF-16/32 native byte order (GH-139974) (#140309)

Closes GH-128571
(cherry picked from commit 920de7ccdcfa7284b6d23a124771b17c66dd3e4f)

Co-authored-by: Parham MohammadAlizadeh <prhmma@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-140067: Fix memory leak in sub-interpreter creation (GH-140111) (#140118)
Kumar Aditya [Sat, 18 Oct 2025 14:10:43 +0000 (19:40 +0530)] 
[3.14] gh-140067: Fix memory leak in sub-interpreter creation  (GH-140111) (#140118)

* [3.14] gh-140067: Fix memory leak in sub-interpreter creation  (GH-140111)

Fix memory leak in sub-interpreter creation caused by overwriting of the previously used `_malloced` field. Now the pointer is stored in the first word of the memory block to avoid it being overwritten accidentally.
(cherry picked from commit 59547a251f7069dc6e08cb6082dd21872671e381)

Co-authored-by: Shamil <ashm.tech@proton.me>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2 weeks ago[3.14] gh-140257: fix data race on eval_breaker during finalization (GH-140265) ...
Miss Islington (bot) [Sat, 18 Oct 2025 11:28:53 +0000 (13:28 +0200)] 
[3.14] gh-140257: fix data race on eval_breaker during finalization (GH-140265) (#140294)

gh-140257: fix data race on eval_breaker during finalization (GH-140265)
(cherry picked from commit c8729c9909e150989050ce2a435d018955bea41d)

Co-authored-by: Shamil <ashm.tech@proton.me>
2 weeks ago[3.14] gh-140241: Fix documentation for the registry parameter of warnings.warn_expli...
Miss Islington (bot) [Sat, 18 Oct 2025 11:02:09 +0000 (13:02 +0200)] 
[3.14] gh-140241: Fix documentation for the registry parameter of warnings.warn_explicit() (GH-140242) (GH-140292)

(cherry picked from commit 78e1d65a4d656e783bc28a02e113f59e4323e41a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2 weeks ago[3.14] Move the NEWS entry for gh-140272 to the correct place (GH-140290) (GH-140291)
Miss Islington (bot) [Sat, 18 Oct 2025 11:00:28 +0000 (13:00 +0200)] 
[3.14] Move the NEWS entry for gh-140272 to the correct place (GH-140290) (GH-140291)

(cherry picked from commit 936de256a9542c58da72a8986658bb307b2f2175)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 weeks ago[3.14] gh-140272: Fix memory leak in _gdbm.gdbm.clear() (GH-140274) (GH-140285)
Miss Islington (bot) [Sat, 18 Oct 2025 10:17:42 +0000 (12:17 +0200)] 
[3.14] gh-140272: Fix memory leak in _gdbm.gdbm.clear() (GH-140274) (GH-140285)

(cherry picked from commit f937468e7c88c768a28ff4e653da051ffa30d86c)

Co-authored-by: Shamil <ashm.tech@proton.me>
2 weeks ago[3.14] GH-133789: Fix unpickling of pathlib objects pickled in Python 3.13 (GH-133831...
Miss Islington (bot) [Fri, 17 Oct 2025 22:23:01 +0000 (00:23 +0200)] 
[3.14] GH-133789: Fix unpickling of pathlib objects pickled in Python 3.13 (GH-133831) (#140276)

GH-133789: Fix unpickling of pathlib objects pickled in Python 3.13 (GH-133831)

In Python 3.13 (but not 3.12 or 3.14), pathlib classes are defined in
`pathlib._local` rather than `pathlib`. In hindsight this was a mistake,
but it was difficult to predict how the abstract/local split would pan out.

In this patch we re-introduce `pathlib._local` as a stub module that
re-exports the classes from `pathlib`. This allows path objects pickled in
3.13 to be unpicked in 3.14+
(cherry picked from commit f4e51f253ad6c27583438f6182c33cf368bfa45f)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
3 weeks ago[3.14] gh-116738: test `uuid` module thread safety in free-threading (GH-140068)...
Miss Islington (bot) [Fri, 17 Oct 2025 15:29:15 +0000 (17:29 +0200)] 
[3.14] gh-116738: test `uuid` module thread safety in free-threading (GH-140068) (#140229)

gh-116738: test `uuid` module thread safety in free-threading (GH-140068)
(cherry picked from commit 9a87ce8b57f5d698900d84b4f6f5aa47b5f37a89)

Co-authored-by: Alper <alperyoney@fb.com>
3 weeks ago[3.14] gh-135801: Add tests for filtering warnings by module (GH-140240) (GH-140246)
Miss Islington (bot) [Fri, 17 Oct 2025 11:48:03 +0000 (13:48 +0200)] 
[3.14] gh-135801: Add tests for filtering warnings by module (GH-140240) (GH-140246)

(cherry picked from commit fbf0843e39e01ec8a8295f6475065b08053f13dd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 weeks ago[3.14] gh-131788: make resource_tracker re-entrant safe (GH-131787) (#137737)
Miss Islington (bot) [Fri, 17 Oct 2025 04:25:14 +0000 (06:25 +0200)] 
[3.14] gh-131788: make resource_tracker re-entrant safe (GH-131787) (#137737)

gh-131788: make resource_tracker re-entrant safe (GH-131787)

* make resource_tracker re-entrant safe
* Update Lib/multiprocessing/resource_tracker.py
* trim trailing whitespace
* use f-string and args = [x, *y, z]
* raise self._reentrant_call_error

---------
(cherry picked from commit f24a012350f71141648cbd61081a25a458dd7fff)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
3 weeks ago[3.14] gh-140120: Refresh HACL* to fix an hmac memory leak (GH-140188) (#140192)
Miss Islington (bot) [Fri, 17 Oct 2025 03:53:12 +0000 (05:53 +0200)] 
[3.14] gh-140120: Refresh HACL* to fix an hmac memory leak (GH-140188) (#140192)

gh-140120: Refresh HACL* to fix an hmac memory leak (GH-140188)

This pulls an updated version of HACL* that fixes the memory leak reported in GH-140120, via an upstream fix.
(cherry picked from commit 3a81313019ba82152653bd86f6ffd87dfe339c60)

Co-authored-by: Jonathan Protzenko <jonathan.protzenko+github@gmail.com>
3 weeks ago[3.14] gh-138859: Account for `ParamSpec` defaults that are not lists … (GH-138868...
Miss Islington (bot) [Thu, 16 Oct 2025 20:26:29 +0000 (22:26 +0200)] 
[3.14] gh-138859: Account for `ParamSpec` defaults that are not lists … (GH-138868) (#140207)

gh-138859: Account for `ParamSpec` defaults that are not lists … (GH-138868)
(cherry picked from commit 379fd020a0116754f22b04fa2f7f27a8f7b372b0)

Co-authored-by: bzoracler <50305397+bzoracler@users.noreply.github.com>
3 weeks ago[3.14] Remove duplicate words in the documentation (GH-140221) (GH-140225)
Tan Long [Thu, 16 Oct 2025 18:10:15 +0000 (02:10 +0800)] 
[3.14] Remove duplicate words in the documentation (GH-140221) (GH-140225)

(cherry picked from commit 2ebd0cdb16a8824957ea588e1aab0a35d45e6b7b)

3 weeks ago[3.14] gh-140078: fix typo in tkinter docs (GH-140081) (#140217)
Miss Islington (bot) [Thu, 16 Oct 2025 15:22:57 +0000 (17:22 +0200)] 
[3.14] gh-140078: fix typo in tkinter docs (GH-140081) (#140217)

gh-140078: fix typo in tkinter docs (GH-140081)

Remove extraneous word.
(cherry picked from commit 5f357f3b0de0d937afb0154d0df7e0298c2523cf)

Co-authored-by: wangxiaolei <fatelei@gmail.com>
3 weeks ago[3.14] gh-140170: Fix test_site with -s flag (GH-140179) (#140198)
Miss Islington (bot) [Thu, 16 Oct 2025 10:31:59 +0000 (12:31 +0200)] 
[3.14] gh-140170: Fix test_site with -s flag (GH-140179) (#140198)

gh-140170: Fix test_site with -s flag (GH-140179)

Commit
(cherry picked from commit 7ac94fcb1d09796f55faeaf30e349a86a88f7ed6)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
3 weeks ago[3.14] gh-140065: Lexical analysis: Correct note about leading zeros in floating...
Miss Islington (bot) [Thu, 16 Oct 2025 07:50:01 +0000 (09:50 +0200)] 
[3.14] gh-140065: Lexical analysis: Correct note about leading zeros in floating point numbers (GH-140066) (GH-140167)

(cherry picked from commit 1624c646b045df15ba41d17ff03231978b80c3ff)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
3 weeks ago[3.14] gh-140041: Fix import of `ctypes` on Android and Cygwin when ABI flags are...
Miss Islington (bot) [Wed, 15 Oct 2025 22:08:35 +0000 (00:08 +0200)] 
[3.14] gh-140041: Fix import of `ctypes` on Android and Cygwin when ABI flags are present (GH-140178) (#140180)

Use sysconfig to determine the full name of libpython, rather than hardcoding
a library name that doesn't have ABI flags.
(cherry picked from commit 7f371ed84ba471bb1b11e79b502f244a9c17ac84)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
3 weeks ago[3.14] gh-140080: Add test for executing `atexit` callbacks under no memory (GH-140161)
yihong [Wed, 15 Oct 2025 15:25:06 +0000 (23:25 +0800)] 
[3.14] gh-140080: Add test for executing `atexit` callbacks under no memory (GH-140161)

3 weeks ago[3.14] gh-140153: Fix Py_REFCNT() definition on limited C API 3.11-3.13 (GH-140158...
Miss Islington (bot) [Wed, 15 Oct 2025 15:02:03 +0000 (17:02 +0200)] 
[3.14] gh-140153: Fix Py_REFCNT() definition on limited C API 3.11-3.13 (GH-140158) (#140164)

gh-140153: Fix Py_REFCNT() definition on limited C API 3.11-3.13 (GH-140158)
(cherry picked from commit 728d239e57b650c392517b7ae569b0eb05af826e)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 weeks ago[3.14] gh-140061: Use `_PyObject_IsUniquelyReferenced()` to check if objects are...
Miss Islington (bot) [Wed, 15 Oct 2025 14:49:17 +0000 (16:49 +0200)] 
[3.14] gh-140061: Use `_PyObject_IsUniquelyReferenced()` to check if objects are uniquely referenced (gh-140062) (gh-140157)

The previous `Py_REFCNT(x) == 1` checks can have data races in the free
threaded build. `_PyObject_IsUniquelyReferenced(x)` is a more conservative
check that is safe in the free threaded build and is identical to
`Py_REFCNT(x) == 1` in the default GIL-enabled build.
(cherry picked from commit 32c264982ec67460642b907dabc3304019318291)

Co-authored-by: Sergey Miryanov <sergey.miryanov@gmail.com>
3 weeks ago[3.14] gh-129559: Remove extra dot in bytearray.resize AC (GH-140134) (#140143)
Miss Islington (bot) [Wed, 15 Oct 2025 11:06:18 +0000 (13:06 +0200)] 
[3.14] gh-129559: Remove extra dot in bytearray.resize AC (GH-140134) (#140143)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
3 weeks ago[3.14] gh-138993: Dedent `credits` text (GH-138994) (#140088)
Miss Islington (bot) [Wed, 15 Oct 2025 11:05:47 +0000 (13:05 +0200)] 
[3.14] gh-138993: Dedent `credits` text (GH-138994) (#140088)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
3 weeks ago[3.14] gh-139640: Fix swallowing syntax warnings in different modules (GH-139755...
Miss Islington (bot) [Tue, 14 Oct 2025 15:56:01 +0000 (17:56 +0200)] 
[3.14] gh-139640: Fix swallowing syntax warnings in different modules (GH-139755) (GH-140117)

Revert GH-131993.

Fix swallowing some syntax warnings in different modules if they accidentally
have the same message and are emitted from the same line.

Fix duplicated warnings in the "finally" block.

(cherry picked from commit 279db6bede30be3a1b86803585eb4404d27800da)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Update 2025-10-06-10-03-37.gh-issue-139640.gY5oTb.rst

---------

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 weeks ago[3.14] gh-101828: Fix `jisx0213` codecs removing null characters (gh-139340) (gh...
Miss Islington (bot) [Tue, 14 Oct 2025 14:36:05 +0000 (16:36 +0200)] 
[3.14] gh-101828: Fix `jisx0213` codecs removing null characters (gh-139340) (gh-140110)

gh-101828: Fix `jisx0213` codecs removing null characters (gh-139340)
(cherry picked from commit 87eadce3e0309d80a95e85d70a00028b5dca9907)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
3 weeks ago[3.14] gh-106318: Add examples for str.istitle() (GH-140046) (#140113)
Miss Islington (bot) [Tue, 14 Oct 2025 14:27:37 +0000 (16:27 +0200)] 
[3.14] gh-106318: Add examples for str.istitle()  (GH-140046) (#140113)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
3 weeks ago[3.14] gh-114827: clarify `threading.Event.wait` timeout behavior (GH-114834) (#140100)
Miss Islington (bot) [Tue, 14 Oct 2025 14:13:33 +0000 (16:13 +0200)] 
[3.14] gh-114827: clarify `threading.Event.wait` timeout behavior (GH-114834) (#140100)

Co-authored-by: Doug Hoskisson <beauxq@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
3 weeks ago[3.14] gh-102431: Clarify constraints on operands of Decimal logical operations ...
Sergey B Kirpichev [Tue, 14 Oct 2025 13:44:30 +0000 (16:44 +0300)] 
[3.14] gh-102431: Clarify constraints on operands of Decimal logical operations (GH-102836) (#140105)

* [3.14] gh-102431: Clarify constraints on operands of Decimal logical operations (GH-102836)

Sync C/Python implementation of the decimal: logical_ops for contexts.
(cherry picked from commit 6ecf77dbdec7838e9ce2298cb8d16e8c2250da81)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
3 weeks ago[3.14] GH-140058: Clear key and value if `PyTuple_New` fails in `dictiter_iternextite...
Miss Islington (bot) [Tue, 14 Oct 2025 13:40:30 +0000 (15:40 +0200)] 
[3.14] GH-140058: Clear key and value if `PyTuple_New` fails in `dictiter_iternextitem` (GH-140059) (#140107)

GH-140058: Clear key and value if `PyTuple_New` fails in `dictiter_iternextitem` (GH-140059)
(cherry picked from commit ded59f7e8e93274488584574ff2336a98bc4eff6)

Co-authored-by: Sergey Miryanov <sergey.miryanov@gmail.com>
3 weeks ago[3.14] gh-70765: Remove unnecessary extra backtick from Changelog entry (GH-140071...
Miss Islington (bot) [Tue, 14 Oct 2025 11:15:36 +0000 (13:15 +0200)] 
[3.14] gh-70765: Remove unnecessary extra backtick from Changelog entry (GH-140071) (#140102)

gh-70765: Remove unnecessary extra backtick from Changelog entry (GH-140071)
(cherry picked from commit f70082b4777804b69e98192121a61c2048669a16)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
3 weeks ago[3.14] gh-82575: Adjust `time.get_clock_info` *adjustable* attribute doc (GH-135920...
Miss Islington (bot) [Tue, 14 Oct 2025 08:36:39 +0000 (10:36 +0200)] 
[3.14] gh-82575: Adjust `time.get_clock_info` *adjustable* attribute doc (GH-135920) (#140097)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
3 weeks ago[3.14] gh-137871: Clarify cmath.nan documentation by linking to math module (GH-13787...
Miss Islington (bot) [Tue, 14 Oct 2025 08:32:27 +0000 (10:32 +0200)] 
[3.14] gh-137871: Clarify cmath.nan documentation by linking to math module (GH-137876) (#140095)

Co-authored-by: Aziz <azizbenothman76@gmail.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
3 weeks ago[3.14] gh-97914: Reword misleading sentence on conditional expressions (GH-139064...
Miss Islington (bot) [Tue, 14 Oct 2025 08:28:12 +0000 (10:28 +0200)] 
[3.14] gh-97914: Reword misleading sentence on conditional expressions (GH-139064) (#140093)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Gilles Peiffer <gilles.peiffer.yt@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
3 weeks ago[3.14] gh-138072: Fix typos and grammatical errors and improve clarity in asyncio...
Miss Islington (bot) [Tue, 14 Oct 2025 08:27:21 +0000 (10:27 +0200)] 
[3.14] gh-138072: Fix typos and grammatical errors and improve clarity in asyncio howto document (GH-138895) (#140091)

Co-authored-by: Morteza24 <mortezia4444.mz@gmail.com>
3 weeks ago[3.14] gh-102247: Improve documentation of http.HTTPStatus members update (GH-133190...
Miss Islington (bot) [Tue, 14 Oct 2025 08:26:00 +0000 (10:26 +0200)] 
[3.14] gh-102247: Improve documentation of http.HTTPStatus members update (GH-133190) (#140089)

Co-authored-by: Loïc Simon <loic.simon@napta.io>
3 weeks ago[3.14] gh-101100: Fix sphinx warnings in `library/smtplib.rst` (GH-139991) (#140084)
Miss Islington (bot) [Tue, 14 Oct 2025 08:19:29 +0000 (10:19 +0200)] 
[3.14] gh-101100: Fix sphinx warnings in `library/smtplib.rst` (GH-139991) (#140084)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
3 weeks ago[3.14] gh-139590: Stricter `ruff` rules for `Tools/wasm` (GH-139752) (#139811)
Miss Islington (bot) [Tue, 14 Oct 2025 07:29:32 +0000 (09:29 +0200)] 
[3.14] gh-139590: Stricter `ruff` rules for `Tools/wasm` (GH-139752) (#139811)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
3 weeks ago[3.14] gh-140000: Traverse `name` attribute for `TypeVar`, `TypeVarTuple`, `TypeAlias...
Miss Islington (bot) [Mon, 13 Oct 2025 20:36:24 +0000 (22:36 +0200)] 
[3.14] gh-140000: Traverse `name` attribute for `TypeVar`, `TypeVarTuple`, `TypeAliasType`, `ParamSpec` (GH-140016) (#140063)

gh-140000: Traverse `name` attribute for `TypeVar`, `TypeVarTuple`, `TypeAliasType`, `ParamSpec` (GH-140016)
(cherry picked from commit be60e4b4f34a097d999d337446786ae14e35c964)

Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
3 weeks agogh-139810: Always generate -dev tags for PyManager packages (GH-139814)
Miss Islington (bot) [Mon, 13 Oct 2025 20:08:42 +0000 (22:08 +0200)] 
gh-139810: Always generate -dev tags for PyManager packages (GH-139814)

(cherry picked from commit c46265d94a2d2c5bcaabbbc312f8f6ac9162cd5f)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 weeks ago[3.14] gh-125996: fix thread safety of `collections.OrderedDict` (GH-133734) (#140053)
Kumar Aditya [Mon, 13 Oct 2025 17:55:24 +0000 (23:25 +0530)] 
[3.14] gh-125996: fix thread safety of `collections.OrderedDict` (GH-133734) (#140053)

(cherry picked from commit 6481539a6d9692ddf13ab01baad1bc9133409413)

3 weeks ago[3.14] gh-138772: Fix and improve documentation for turtle color functions (GH-139325...
Miss Islington (bot) [Mon, 13 Oct 2025 15:56:26 +0000 (17:56 +0200)] 
[3.14] gh-138772: Fix and improve documentation for turtle color functions (GH-139325) (GH-140047)

Use multiple signatures for clarity.
Explain different forms of bgcolor() in details.
Fix outdated docstrings.
(cherry picked from commit 525dcfe5236ee21b234cad16d2a3d5769e77e0ec)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 weeks ago[3.14] Using Python on Windows: Free-threaded is supported from 3.14 (GH-139992)...
Miss Islington (bot) [Mon, 13 Oct 2025 14:25:49 +0000 (16:25 +0200)] 
[3.14] Using Python on Windows: Free-threaded is supported from 3.14 (GH-139992) (#140045)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
3 weeks ago[3.14] gh-107073: fix relevant typo in `PyObject_ClearManagedDict` (GH-140032) (...
Miss Islington (bot) [Mon, 13 Oct 2025 11:30:27 +0000 (13:30 +0200)] 
[3.14] gh-107073: fix relevant typo in `PyObject_ClearManagedDict` (GH-140032) (#140033)

gh-107073: fix relevant typo in `PyObject_ClearManagedDict` (GH-140032)
(cherry picked from commit 52996aaa78706e0f2a70953feaf97b474eb438e7)

Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
3 weeks ago[3.14] gh-131189: Remove `curses` mention from `PYTHON_BASIC_REPL` docs (GH-140022...
Miss Islington (bot) [Mon, 13 Oct 2025 08:48:28 +0000 (10:48 +0200)] 
[3.14] gh-131189: Remove `curses` mention from `PYTHON_BASIC_REPL` docs (GH-140022) (#140027)

gh-131189: Remove `curses` mention from `PYTHON_BASIC_REPL` docs (GH-140022)

The `curses` dependency for the default REPL has been removed
in 031645a88427d8c8df70ae96519b4d2d0ae550f7 (backport of
09dfb50f1b7c23bc48d86bd579671761bb8ca48b).

(cherry picked from commit 0344db8d60621705af88daa7ff65bde063271f99)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
3 weeks ago[3.14] GH-139979: Add @force_not_colorized_test_class to TestOptionalHelpVersionActio...
Miss Islington (bot) [Sun, 12 Oct 2025 17:16:21 +0000 (19:16 +0200)] 
[3.14] GH-139979: Add @force_not_colorized_test_class to TestOptionalHelpVersionActions (GH-139980) (#140005)

GH-139979: Add @force_not_colorized_test_class to TestOptionalHelpVersionActions (GH-139980)
(cherry picked from commit 0fc5c56815b963e4b45469b2b6a5610ea2f2d181)

Co-authored-by: Savannah Ostrowski <savannah@python.org>
3 weeks ago[3.14] gh-139155: Remove "dictionaries are sorted by key" note in `pprint` docs ...
Miss Islington (bot) [Sun, 12 Oct 2025 16:55:49 +0000 (18:55 +0200)] 
[3.14] gh-139155: Remove "dictionaries are sorted by key" note in `pprint` docs (GH-139159) (GH-140003)

gh-139155: Remove "dictionaries are sorted by key" note in `pprint` docs (GH-139159)
(cherry picked from commit 68622be935b36f0ca75729157992972dbf426603)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>