]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
6 weeks ago[3.14] Hide "object" prefix on dunders in contextlib docs & selectivly link some...
Miss Islington (bot) [Mon, 2 Mar 2026 21:18:12 +0000 (22:18 +0100)] 
[3.14] Hide "object" prefix on dunders in contextlib docs & selectivly link some more (GH-145436) (#145443)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
6 weeks ago[3.14] gh-130327: Always traverse managed dictionaries, even when inline values are...
Miss Islington (bot) [Mon, 2 Mar 2026 19:57:10 +0000 (20:57 +0100)] 
[3.14] gh-130327: Always traverse managed dictionaries, even when inline values are available (GH-130469) (#145438)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
6 weeks ago[3.14] gh-130555: Fix use-after-free in dict.clear() with embedded values (gh-145268...
Sam Gross [Mon, 2 Mar 2026 18:59:35 +0000 (13:59 -0500)] 
[3.14] gh-130555: Fix use-after-free in dict.clear() with embedded values (gh-145268) (#145431)

6 weeks ago[3.14] gh-145335: Fix crash when passing -1 as fd in os.pathconf (GH-145390) (#145433)
Miss Islington (bot) [Mon, 2 Mar 2026 18:33:47 +0000 (19:33 +0100)] 
[3.14] gh-145335: Fix crash when passing -1 as fd in os.pathconf (GH-145390) (#145433)

gh-145335: Fix crash when passing -1 as fd in os.pathconf (GH-145390)
(cherry picked from commit 5c3a47b94a39f87c36b1f36704d80775802ad034)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
6 weeks ago[3.14] gh-145349: Do not install ccache (#145350) (#145425)
Thomas Kowalski [Mon, 2 Mar 2026 18:16:56 +0000 (19:16 +0100)] 
[3.14] gh-145349: Do not install ccache (#145350) (#145425)

6 weeks agogh-145307: Defer loading psapi.dll until ctypes.util.dllist() is called. (GH-145308)
Miss Islington (bot) [Mon, 2 Mar 2026 16:36:34 +0000 (17:36 +0100)] 
gh-145307: Defer loading psapi.dll until ctypes.util.dllist() is called. (GH-145308)

(cherry picked from commit 1cf5abedeb97ff6ed222afd28e650b9ecc384094)

Co-authored-by: Steve Dower <steve.dower@python.org>
6 weeks ago[3.14] gh-144835: Added missing explanations for some parameters in glob and iglob...
Miss Islington (bot) [Mon, 2 Mar 2026 13:32:03 +0000 (14:32 +0100)] 
[3.14] gh-144835: Added missing explanations for some parameters in glob and iglob. (GH-144836) (#145415)

Co-authored-by: Facundo Batista <facundo@taniquetil.com.ar>
Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
6 weeks ago[3.14] gh-145351: use `--no-install-recommends` (GH-145352) (#145403)
Thomas Kowalski [Sun, 1 Mar 2026 20:41:23 +0000 (21:41 +0100)] 
[3.14] gh-145351: use `--no-install-recommends` (GH-145352) (#145403)

6 weeks ago[3.14] gh-100538: Add workflow to verify bundled libexpat (GH-145359) (#145401)
Miss Islington (bot) [Sun, 1 Mar 2026 20:15:09 +0000 (21:15 +0100)] 
[3.14] gh-100538: Add workflow to verify bundled libexpat (GH-145359) (#145401)

gh-100538: Add workflow to verify bundled libexpat (GH-145359)

Add workflow to verify bundled libexpat.
(cherry picked from commit c9a5d9aae48a9faa553a5e8137ff1b5e261f6bf6)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
6 weeks ago[3.14] gh-145269: simplify bisect.bisect doc example (GH-145270) (#145367)
Miss Islington (bot) [Sat, 28 Feb 2026 19:28:14 +0000 (20:28 +0100)] 
[3.14] gh-145269: simplify bisect.bisect doc example (GH-145270) (#145367)

gh-145269: simplify bisect.bisect doc example (GH-145270)

---------
(cherry picked from commit fdb4b3527f356a84bc00ca32516181016400e567)

Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
6 weeks ago[3.14] gh-142352: Fix `asyncio` `start_tls()` to transfer buffered data from StreamRe...
Miss Islington (bot) [Sat, 28 Feb 2026 18:43:43 +0000 (19:43 +0100)] 
[3.14] gh-142352: Fix `asyncio` `start_tls()` to transfer buffered data from StreamReader (GH-142354) (#145363)

gh-142352: Fix `asyncio` `start_tls()` to transfer buffered data from StreamReader (GH-142354)
(cherry picked from commit 0598f4a8999b96409e0a2bf9c480afc76a876860)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Co-authored-by: Maksym Kasimov <39828623+kasimov-maxim@users.noreply.github.com>
6 weeks ago[3.14] gh-145142: Make str.maketrans safe under free-threading (gh-145157) (#145320)
Miss Islington (bot) [Fri, 27 Feb 2026 16:33:46 +0000 (17:33 +0100)] 
[3.14] gh-145142: Make str.maketrans safe under free-threading (gh-145157) (#145320)

Co-authored-by: VanshAgarwal24036 <148854295+VanshAgarwal24036@users.noreply.github.com>
6 weeks ago[3.14] gh-144693: Clarify that `PyFrame_GetBack` does not raise exceptions (GH-144824...
Miss Islington (bot) [Fri, 27 Feb 2026 15:31:19 +0000 (16:31 +0100)] 
[3.14] gh-144693: Clarify that `PyFrame_GetBack` does not raise exceptions (GH-144824) (GH-145318)

gh-144693: Clarify that `PyFrame_GetBack` does not raise exceptions (GH-144824)
(cherry picked from commit 8775f900179aa21e6e9ec318dbb5c7cfd3561b66)

Co-authored-by: Taegyun Kim <k.taegyun@gmail.com>
Co-authored-by: Sergey Miryanov <sergey.miryanov@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
6 weeks ago[3.14] gh-141004: Document missing type flags (GH-145127) (GH-145316)
Miss Islington (bot) [Fri, 27 Feb 2026 15:17:35 +0000 (16:17 +0100)] 
[3.14] gh-141004: Document missing type flags (GH-145127) (GH-145316)

gh-141004: Document missing type flags (GH-145127)
(cherry picked from commit dc1b56aa03a1764e7c6bbcbf190b1c293eb5c462)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
6 weeks ago[3.14] gh-145234: Normalize decoded CR in string tokenizer (GH-145281) (#145310)
Miss Islington (bot) [Fri, 27 Feb 2026 13:11:40 +0000 (14:11 +0100)] 
[3.14] gh-145234: Normalize decoded CR in string tokenizer (GH-145281) (#145310)

gh-145234: Normalize decoded CR in string tokenizer (GH-145281)
(cherry picked from commit 98b1e519273dd28ce73cc21a636e2f3a937e1f8c)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
6 weeks ago[3.14] Fix unlikely potential reference leak in _locale._getdefaultlocale (GH-145250...
Miss Islington (bot) [Fri, 27 Feb 2026 08:31:11 +0000 (09:31 +0100)] 
[3.14] Fix unlikely potential reference leak in _locale._getdefaultlocale (GH-145250) (GH-145302)

It occurs in a code which perhaps never executed.
(cherry picked from commit 6ea84b2726bb6a1a8a6819d30c368ac34c50eabe)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 weeks ago[3.14] gh-145037: Fix Emscripten trampoline with emcc >= 4.0.19 (GH-145038) (#145283)
Miss Islington (bot) [Fri, 27 Feb 2026 00:55:59 +0000 (01:55 +0100)] 
[3.14] gh-145037: Fix Emscripten trampoline with emcc >= 4.0.19 (GH-145038) (#145283)

This undoes a change made as a part of PR 137470, for compatibility with EMSDK
4.0.19. It adds `emscripten_trampoline` field in `pycore_runtime_structs.h`
and initializes it from JS initialization code with the wasm-gc based trampoline
if possible. Otherwise we fall back to the JS trampoline.
(cherry picked from commit 43fdb7037e76c18d9545ac11b2f1e3e398152ada)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
6 weeks ago[3.14] gh-142787: Handle empty sqlite3 blob slices (GH-142824) (#145297)
Miss Islington (bot) [Fri, 27 Feb 2026 00:12:51 +0000 (01:12 +0100)] 
[3.14] gh-142787: Handle empty sqlite3 blob slices (GH-142824) (#145297)

(cherry picked from commit 06b0920f1292690a22ab2b271dfefe2c63cacf07)

Co-authored-by: A.Ibrahim <abdulrasheedibrahim47@gmail.com>
6 weeks ago[3.14] gh-144872: fix heap buffer overflow `_PyTokenizer_ensure_utf8` (GH-144807...
Miss Islington (bot) [Thu, 26 Feb 2026 23:01:12 +0000 (00:01 +0100)] 
[3.14] gh-144872: fix heap buffer overflow `_PyTokenizer_ensure_utf8` (GH-144807) (#145287)

Co-authored-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>
6 weeks ago[3.14] gh-144316: Fix missing exception in _remote_debugging with debug=False (GH...
Pablo Galindo Salgado [Thu, 26 Feb 2026 22:39:48 +0000 (22:39 +0000)] 
[3.14] gh-144316: Fix missing exception in _remote_debugging with debug=False (GH-144442) (#145280)

6 weeks ago[3.14] gh-144190: Clarify get_type_hints() instance behavior in docs (GH-144831)...
Miss Islington (bot) [Thu, 26 Feb 2026 13:53:16 +0000 (14:53 +0100)] 
[3.14] gh-144190: Clarify get_type_hints() instance behavior in docs (GH-144831) (#145258)

Co-authored-by: Rajhans Jadhao <rajhans.jadhao@gmail.com>
6 weeks ago[3.14] gh-106318: Add examples for str.rjust() method (GH-143890) (#145257)
Miss Islington (bot) [Thu, 26 Feb 2026 13:48:04 +0000 (14:48 +0100)] 
[3.14] gh-106318: Add examples for str.rjust() method (GH-143890) (#145257)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
6 weeks ago[3.14] GH-145000: Add a tool to record/check removed HTML IDs (GH-145001) (GH-145212)
Miss Islington (bot) [Thu, 26 Feb 2026 12:16:50 +0000 (13:16 +0100)] 
[3.14] GH-145000: Add a tool to record/check removed HTML IDs (GH-145001) (GH-145212)

(cherry picked from commit 9b22261a86b54f198225426e86390ef8dd85e091)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
7 weeks ago[3.14] gh-144156: move news entry to Library (GH-145205) (#145207)
Robsdedude [Wed, 25 Feb 2026 21:55:54 +0000 (22:55 +0100)] 
[3.14] gh-144156: move news entry to Library (GH-145205) (#145207)

[3.14] gh-144156: move news entry to Library

7 weeks ago[3.14] gh-142518: Move thread safety sections into a new page (GH-144716) (#145223)
Miss Islington (bot) [Wed, 25 Feb 2026 15:57:32 +0000 (16:57 +0100)] 
[3.14] gh-142518: Move thread safety sections into a new page (GH-144716) (#145223)

- Create a new page for thread safety notes for built-in types
- Move thread safety notes for `list` into the new page
- Move thread safety notes for `dict` into the new page
---------
(cherry picked from commit 017ccd3bf420b79333f79f44a470c9c30a09aadc)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
7 weeks ago[3.14] gh-88091: Fix unicodedata.decomposition() for Hangul Syllables (GH-144993...
Stan Ulbrych [Tue, 24 Feb 2026 22:27:09 +0000 (22:27 +0000)] 
[3.14] gh-88091: Fix unicodedata.decomposition() for Hangul Syllables (GH-144993) (GH-145189)

(cherry picked from commit 56c4f10d6e474604a162521228b5f3b5ff79236c)

7 weeks ago[3.14] gh-145187: Fix crash on invalid type parameter bound expression in conditional...
Miss Islington (bot) [Tue, 24 Feb 2026 21:13:08 +0000 (22:13 +0100)] 
[3.14] gh-145187: Fix crash on invalid type parameter bound expression in conditional block (GH-145188) (#145196)

gh-145187: Fix crash on invalid type parameter bound expression in conditional block (GH-145188)

Fix parsing crash found by oss-fuzz
(cherry picked from commit 5e61a16c1058e5de66b71dfdc9720d40e9f515d9)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
7 weeks ago[3.14] gh-137335: Fix unlikely name conflicts for named pipes in multiprocessing...
Miss Islington (bot) [Tue, 24 Feb 2026 17:21:48 +0000 (18:21 +0100)] 
[3.14] gh-137335: Fix unlikely name conflicts for named pipes in multiprocessing and asyncio on Windows (GH-137389) (GH-145170)

Since os.stat() raises an OSError for existing named pipe "\\.\pipe\...",
os.path.exists() always returns False for it, and tempfile.mktemp() can
return a name that matches an existing named pipe.

So, tempfile.mktemp() cannot be used to generate unique names for named
pipes. Instead, CreateNamedPipe() should be called in a loop with
different names until it completes successfully.
(cherry picked from commit d6a71f4690c702892644b1fbae90ae9ef733a8ab)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
7 weeks ago[3.14] Update Python install manager docs (GH-145160)
Miss Islington (bot) [Tue, 24 Feb 2026 15:32:35 +0000 (16:32 +0100)] 
[3.14] Update Python install manager docs (GH-145160)

These updates align with v26.0 that was just released.
(cherry picked from commit da39c68c2fb0027365651598eff5704affff5131)

Co-authored-by: Steve Dower <steve.dower@python.org>
7 weeks ago[3.14] Fix `inspect.Parameter` docstring on the `kind` attribute (GH-143541) (GH...
Miss Islington (bot) [Tue, 24 Feb 2026 14:16:21 +0000 (15:16 +0100)] 
[3.14] Fix `inspect.Parameter` docstring on the `kind` attribute (GH-143541) (GH-145174)

(cherry picked from commit 4c95ad8e495646eae4130957e0a4c1cc5ef19120)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
7 weeks ago[3.14] gh-66305: Fix a hang on Windows in the tempfile module (GH-144672) (GH-145168)
Miss Islington (bot) [Tue, 24 Feb 2026 11:32:12 +0000 (12:32 +0100)] 
[3.14] gh-66305: Fix a hang on Windows in the tempfile module (GH-144672) (GH-145168)

It occurred when trying to create a temporary file or subdirectory in
a non-writable directory.
(cherry picked from commit ca66d3c40cd9ac1fb94dd7cd79ccb8fecf019527)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
7 weeks ago[3.14] gh-145028: Fix blake2 tests in test_hashlib when it is missing due to configur...
Rafael Santos [Tue, 24 Feb 2026 02:52:57 +0000 (20:52 -0600)] 
[3.14] gh-145028: Fix blake2 tests in test_hashlib when it is missing due to configure --without-builtin-hashlib-hashes (GH-145029) (#145164)

[3.14] gh-145028: Fix blake2 tests in test_hashlib when it is missing due to build config (GH-145029)

specifically configure --without-builtin-hashlib-hashes means the otherwise guaranteed available blake2 family will not exist.  this allows the test suite to still pass.
(cherry picked from commit 273d5062ca17ac47354486f3fc6e672a04cf22e0)

7 weeks ago[3.14] `_struct.c`: Fix UB from integer overflow in `prepare_s` (GH-145158) (#145162)
Miss Islington (bot) [Tue, 24 Feb 2026 01:18:32 +0000 (02:18 +0100)] 
[3.14] `_struct.c`: Fix UB from integer overflow in `prepare_s` (GH-145158) (#145162)

`_struct.c`: Fix UB from integer overflow in `prepare_s` (GH-145158)

Avoid possible undefined behaviour from signed overflow in `struct` module

As discovered via oss-fuzz.
(cherry picked from commit fd0400585eb957c7d10812d87a8cb9e1f3c72519)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
7 weeks ago[3.14] Add Savannah as `jit.yml` CODEOWNER (GH-145152) (#145155)
Savannah Ostrowski [Mon, 23 Feb 2026 18:13:47 +0000 (10:13 -0800)] 
[3.14] Add Savannah as `jit.yml` CODEOWNER (GH-145152) (#145155)

* Add Savannah as `jit.yml` CODEOWNER (#145152)

(cherry picked from commit 6180e79ed2175f7b095807b78a5ea58b4da3de0b)

7 weeks ago[3.14] Update argparse `suggest_on_error` code snippet in docs (GH-144985) (#145151)
Savannah Ostrowski [Mon, 23 Feb 2026 17:35:04 +0000 (09:35 -0800)] 
[3.14] Update argparse `suggest_on_error` code snippet in docs (GH-144985) (#145151)

Update argparse `suggest_on_error` code snippet in docs (#144985)

(cherry picked from commit 6194a552f2b010e1dcdd006996f613c956520124)

7 weeks ago[3.14] Refactor jit.yml (GH-144577) (#145126)
Savannah Ostrowski [Mon, 23 Feb 2026 17:01:49 +0000 (09:01 -0800)] 
[3.14] Refactor jit.yml (GH-144577) (#145126)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
7 weeks ago[3.14] gh-141811: Split up `init.rst` into multiple pages (GH-144844) (GH-145061)
Peter Bierma [Mon, 23 Feb 2026 15:38:43 +0000 (10:38 -0500)] 
[3.14] gh-141811: Split up `init.rst` into multiple pages (GH-144844) (GH-145061)

(cherry picked from commit 60f3c396fe5dc56bc3a56341e2d31fd6061bb068)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Benedikt Johannes <benedikt.johannes.hofer@gmail.com>
7 weeks ago[3.14] gh-144777: Fix data races in IncrementalNewlineDecoder (gh-144971) (#145143)
Sam Gross [Mon, 23 Feb 2026 15:25:03 +0000 (10:25 -0500)] 
[3.14] gh-144777: Fix data races in IncrementalNewlineDecoder (gh-144971) (#145143)

7 weeks ago[3.14] gh-141004: Document `PyModuleDef_Type` (GH-145043) (GH-145146)
Peter Bierma [Mon, 23 Feb 2026 15:24:29 +0000 (10:24 -0500)] 
[3.14] gh-141004: Document `PyModuleDef_Type` (GH-145043) (GH-145146)

(cherry picked from commit 24cc998c164f137603f1c6d95b929d640211d237)

7 weeks ago[3.14] gh-145092: Fix compiler warning for memchr() and wcschr() returning const...
Miss Islington (bot) [Sun, 22 Feb 2026 08:28:17 +0000 (09:28 +0100)] 
[3.14] gh-145092: Fix compiler warning for memchr() and wcschr() returning const pointer (GH-145093) (GH-145102)

(cherry picked from commit faea32b729e132172d39d54517822e772ad0017a)

Co-authored-by: Rudi Heitbaum <rudi@heitbaum.com>
7 weeks ago[3.14] gh-142516: fix reference leaks in `ssl.SSLContext` objects (GH-143685) (#145075)
Bénédikt Tran [Sat, 21 Feb 2026 21:31:23 +0000 (22:31 +0100)] 
[3.14] gh-142516: fix reference leaks in `ssl.SSLContext` objects (GH-143685) (#145075)

* [3.14] gh-142516: fix reference leaks in `ssl.SSLContext` objects (GH-143685)
(cherry picked from commit 3a2a686cc45de2fb685ff332b7b914f27f660680)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* fix backport

7 weeks ago[3.14] gh-143698: correctly check `scheduler` and `setpgroup` values for `os.posix_sp...
Bénédikt Tran [Sat, 21 Feb 2026 15:04:31 +0000 (16:04 +0100)] 
[3.14] gh-143698: correctly check `scheduler` and `setpgroup` values for `os.posix_spawn[p]` (GH-143699) (#145073)

Fix an issue where passing invalid arguments to `os.posix_spawn[p]` functions
raised a SystemError instead of a TypeError, and allow to explicitly use `None`
for `scheduler` and `setpgroup` as specified in the docs.

(cherry picked from commit 347fc438cf903c1d7fa5063464ae2e93c11b2232)

7 weeks ago[3.14] `compute-changes.py`: Fix & test `process_changed_files()` (GH-144674) (#145013)
Stan Ulbrych [Sat, 21 Feb 2026 12:24:35 +0000 (12:24 +0000)] 
[3.14] `compute-changes.py`: Fix & test `process_changed_files()` (GH-144674) (#145013)

Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
7 weeks ago[3.14] gh-143916: Allow HTAB in wsgiref header values (#144761)
Miss Islington (bot) [Sat, 21 Feb 2026 12:14:51 +0000 (13:14 +0100)] 
[3.14] gh-143916: Allow HTAB in wsgiref header values (#144761)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
7 weeks ago[3.14] gh-144694: Fix re.Match.group() doc claiming [1..99] range limit (GH-144696...
Miss Islington (bot) [Sat, 21 Feb 2026 05:42:08 +0000 (06:42 +0100)] 
[3.14] gh-144694: Fix re.Match.group() doc claiming [1..99] range limit (GH-144696) (#145065)

gh-144694: Fix re.Match.group() doc claiming [1..99] range limit (GH-144696)

The documentation incorrectly stated that numeric group arguments
must be in the range [1..99]. This limit was removed in Python 3.5
(bpo-22437). Replace with "a positive integer" since the next
sentence already documents the IndexError for out-of-range values.
(cherry picked from commit 85021bc2477f3ab394172b6dda3110e59f4777dd)

Co-authored-by: Mohsin Mehmood <55545648+mohsinm-dev@users.noreply.github.com>
7 weeks ago[3.14] gh-144748: Document 3.12 and 3.14 changes to `PyErr_CheckSignals` (GH-144982...
Miss Islington (bot) [Sat, 21 Feb 2026 00:31:51 +0000 (01:31 +0100)] 
[3.14] gh-144748: Document 3.12 and 3.14 changes to `PyErr_CheckSignals` (GH-144982) (GH-145062)

gh-144748: Document 3.12 and 3.14 changes to `PyErr_CheckSignals` (GH-144982)
(cherry picked from commit 06292614ff7cef0ba28da6dfded58fb0e731b2e3)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
7 weeks ago[3.14] gh-144809: Make deque copy atomic in free-threaded build (gh-144966) (#145053)
Miss Islington (bot) [Fri, 20 Feb 2026 20:47:46 +0000 (21:47 +0100)] 
[3.14] gh-144809: Make deque copy atomic in free-threaded build (gh-144966) (#145053)

(cherry picked from commit 70da972f97ec799dc7d7ab069fe195455f2f81b2)

Co-authored-by: Sam Gross <colesbury@gmail.com>
7 weeks ago[3.14] Simplify summary tables in the itertools docs (gh-145050) (gh-145051)
Miss Islington (bot) [Fri, 20 Feb 2026 18:52:26 +0000 (19:52 +0100)] 
[3.14] Simplify summary tables in the itertools docs (gh-145050) (gh-145051)

7 weeks ago[3.14] Correct MAX_N in Lib/zipfile ZipExtFile (GH-144973) (GH-145022)
Miss Islington (bot) [Thu, 19 Feb 2026 23:13:43 +0000 (00:13 +0100)] 
[3.14] Correct MAX_N in Lib/zipfile ZipExtFile (GH-144973) (GH-145022)

"<<" has lower precedence than "-".
(cherry picked from commit 4141f0a1ee6a6e9d5b4ba24f15a9d17df6933321)

Co-authored-by: J Berg <j.berg2349@gmail.com>
7 weeks ago[3.14] gh-144156: Fix email header folding concatenating encoded words (GH-144692...
Miss Islington (bot) [Thu, 19 Feb 2026 19:53:05 +0000 (20:53 +0100)] 
[3.14] gh-144156: Fix email header folding concatenating encoded words (GH-144692) (#145009)

gh-144156: Fix email header folding concatenating encoded words (GH-144692)

The fix for gh-92081 (gh-92281) was unfortunately flawed, and broke whitespace handling for encoded word patterns that had previously been working correctly but had no corresponding tests, unfortunately in a way that made the resulting headers not RFC compliant, in such a way that Yahoo started rejecting the resulting emails.  This fix was released in 3.14 alpha 1, 3.13 beta 2 and 3.12.5.   This PR fixes the original problem in a way that does not break anything, and in fact fixes a small pre-existing bug (a spurious whitespace after the ':' of the header label if the header value is immediately wrapped on to the next line).  (RDM)
(cherry picked from commit 0f7cd5544a4dd1d7cf892c93c661510d619caaa7)

Co-authored-by: Robsdedude <dev@rouvenbauer.de>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: R. David Murray <rdmurray@bitdance.com>
7 weeks ago[3.14] Remove unused :platform: in module's docs (GH-144988) (GH-144994)
Miss Islington (bot) [Thu, 19 Feb 2026 11:51:18 +0000 (12:51 +0100)] 
[3.14] Remove unused :platform: in module's docs (GH-144988) (GH-144994)

Remove unused :platform: in module's docs (GH-144988)

It has not been outputted since Sphinx 1.1.
(cherry picked from commit 20caf1c08440684b618d2166022ae82b2db3b696)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
8 weeks ago[3.14] gh-144763: Fix race conditions in tracemalloc (#144779) (#144965)
Victor Stinner [Wed, 18 Feb 2026 19:55:38 +0000 (20:55 +0100)] 
[3.14] gh-144763: Fix race conditions in tracemalloc (#144779) (#144965)

gh-144763: Fix race conditions in tracemalloc (#144779)

Avoid PyUnstable_InterpreterFrame_GetLine() since it uses a critical
section which can lead to a deadlock.

_PyTraceMalloc_Stop() now also calls PyRefTracer_SetTracer() without
holding TABLES_LOCK() to prevent another deadlock.

(cherry picked from commit 83f4fffe3d78ba368c0d4864c42c7c9c9223f7d1)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
8 weeks ago[3.14] gh-141984: Reword and reorganize the first part of Atoms docs (GH-144117)...
Miss Islington (bot) [Wed, 18 Feb 2026 16:59:17 +0000 (17:59 +0100)] 
[3.14] gh-141984: Reword and reorganize the first part of Atoms docs (GH-144117) (GH-144959)

(cherry picked from commit 112d8ac9724a53c5459a4f957941f5a3c97abf5d)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Blaise Pabon <blaise@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
8 weeks ago[3.14] Datetime: Tidy up docs (GH-144720) (GH-144956)
Stan Ulbrych [Wed, 18 Feb 2026 14:14:44 +0000 (14:14 +0000)] 
[3.14] Datetime: Tidy up docs (GH-144720) (GH-144956)

(cherry picked from commit c6a142f9472f2d3e2c360b72a19450f9dd087657)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
8 weeks ago[3.14] gh-140652: Fix a crash in _interpchannels.list_all() after closing a channel...
Serhiy Storchaka [Wed, 18 Feb 2026 13:29:34 +0000 (15:29 +0200)] 
[3.14] gh-140652: Fix a crash in _interpchannels.list_all() after closing a channel (GH-143743) (GH-144954)

(cherry picked from commit 3f50432e31c8e0d2e3ea8cbc2e472f7ee80e327a)

8 weeks ago[3.14] gh-144386: Update equivalent code for "with", "async with" and "async for...
Miss Islington (bot) [Wed, 18 Feb 2026 11:19:02 +0000 (12:19 +0100)] 
[3.14] gh-144386: Update equivalent code for "with", "async with" and "async for" (GH-144472) (GH-144945)

They use special method lookup for special methods.
(cherry picked from commit 9e8fa2d4d1ec263bdc6945237b0e0517f07a3474)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
8 weeks ago[3.14] Docs: an "improve this page" feature (GH-144939) (#144943)
Ned Batchelder [Wed, 18 Feb 2026 10:27:09 +0000 (05:27 -0500)] 
[3.14] Docs: an "improve this page" feature (GH-144939) (#144943)

---------
(cherry picked from commit 7a7521bcfad4a8346d460476de2e3fa11e412477)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
8 weeks ago[3.14] Fix typos and grammar errors across documentation (GH-144709) (#144801)
Stan Ulbrych [Tue, 17 Feb 2026 12:53:42 +0000 (12:53 +0000)] 
[3.14] Fix typos and grammar errors across documentation (GH-144709) (#144801)

(cherry picked from commit 3718f4be60ebb0725b35f597a9de3f7a93ba9f72)

Co-authored-by: Ronald Eddy Jr <ronald_eddy@yahoo.com>
8 weeks ago[3.14] gh-143637: Fix test_socket.test_sendmsg_reentrant_ancillary_mutation() on...
Miss Islington (bot) [Tue, 17 Feb 2026 10:16:21 +0000 (11:16 +0100)] 
[3.14] gh-143637: Fix test_socket.test_sendmsg_reentrant_ancillary_mutation() on Solaris (GH-144890) (#144901)

gh-143637: Fix test_socket.test_sendmsg_reentrant_ancillary_mutation() on Solaris (GH-144890)

Use socket.SCM_RIGHTS operation.
(cherry picked from commit 63531a3867cf4f8b5a7088fb7667d33534c43ff7)

Co-authored-by: Victor Stinner <vstinner@python.org>
8 weeks ago[3.14] gh-144551: Update macOS installer to use OpenSSL 3.0.19 (#144897)
Ned Deily [Tue, 17 Feb 2026 05:42:04 +0000 (00:42 -0500)] 
[3.14] gh-144551: Update macOS installer to use OpenSSL 3.0.19 (#144897)

8 weeks ago[3.14] gh-144782: Make sure that ArgumentParser instances are pickleable (GH-144783...
Miss Islington (bot) [Tue, 17 Feb 2026 02:53:51 +0000 (03:53 +0100)] 
[3.14] gh-144782: Make sure that ArgumentParser instances are pickleable (GH-144783) (#144895)

gh-144782: Make sure that ArgumentParser instances are pickleable (GH-144783)
(cherry picked from commit 2f7634c0291c92cf1e040fc81c4210f0883e6036)

Co-authored-by: Mauricio Villegas <5780272+mauvilsa@users.noreply.github.com>
Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Savannah Ostrowski <savannah@python.org>
8 weeks ago[3.14] gh-144601: Avoid sharing exception objects raised in a `PyInit` function acros...
Miss Islington (bot) [Mon, 16 Feb 2026 15:37:46 +0000 (16:37 +0100)] 
[3.14] gh-144601: Avoid sharing exception objects raised in a `PyInit` function across multiple interpreters (GH-144602) (GH-144633)

gh-144601: Avoid sharing exception objects raised in a `PyInit` function across multiple interpreters (GH-144602)
(cherry picked from commit fd6b639a49dd1143c6fd8729fc49f17b3114a965)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
8 weeks ago[3.14] gh-144601: Use `_testmultiphase` instead of `_testsinglephase` in `test_import...
Peter Bierma [Mon, 16 Feb 2026 12:44:49 +0000 (07:44 -0500)] 
[3.14] gh-144601: Use `_testmultiphase` instead of `_testsinglephase` in `test_importlib` (GH-144769)

8 weeks ago[3.14] gh-80667: Fix lookup for Tangut ideographs in unicodedata (GH-144789) (GH...
Serhiy Storchaka [Mon, 16 Feb 2026 12:25:43 +0000 (14:25 +0200)] 
[3.14] gh-80667: Fix lookup for Tangut ideographs in unicodedata (GH-144789) (GH-144871)

(cherry picked from commit 8b7b5a994602824a5e41cf2516691212fcdfa25e)

Co-authored-by: Pierre Le Marre <dev@wismill.eu>
8 weeks ago[3.14] gh-144551: Update Android builds to use OpenSSL 3.0.19 (GH-144866)
Miss Islington (bot) [Mon, 16 Feb 2026 05:26:34 +0000 (06:26 +0100)] 
[3.14] gh-144551: Update Android builds to use OpenSSL 3.0.19 (GH-144866)

(cherry picked from commit 87c7f193b8ea7be36f3ba5a66b5c223efde4c674)

Co-authored-by: Zachary Ware <zach@python.org>
8 weeks ago[3.14] gh-144551: Update iOS builds to use OpenSSL 3.0.19 (GH-144867)
Miss Islington (bot) [Mon, 16 Feb 2026 05:21:43 +0000 (06:21 +0100)] 
[3.14] gh-144551: Update iOS builds to use OpenSSL 3.0.19 (GH-144867)

(cherry picked from commit ebe02e4f393bc0bd2263c43da313b28012f82af9)

Co-authored-by: Zachary Ware <zach@python.org>
8 weeks ago[3.14] gh-144833: Fix use-after-free in SSL module when SSL_new() fails (GH-144843...
Miss Islington (bot) [Mon, 16 Feb 2026 03:10:23 +0000 (04:10 +0100)] 
[3.14] gh-144833: Fix use-after-free in SSL module when SSL_new() fails (GH-144843) (#144858)

gh-144833: Fix use-after-free in SSL module when SSL_new() fails (GH-144843)

In newPySSLSocket(), when SSL_new() returns NULL, Py_DECREF(self)
was called before _setSSLError(get_state_ctx(self), ...), causing
a use-after-free. Additionally, get_state_ctx() was called with
self (PySSLSocket*) instead of sslctx (PySSLContext*), which is
a type confusion bug.

Fix by calling _setSSLError() before Py_DECREF() and using
sslctx instead of self for get_state_ctx().
(cherry picked from commit c91638ca0671b8038831f963ed44e66cdda006a2)

Co-authored-by: Ramin Farajpour Cami <ramin.blackhat@gmail.com>
8 weeks ago[3.14] gh-144759: Fix undefined behavior from NULL pointer arithmetic in lexer (GH...
Miss Islington (bot) [Sun, 15 Feb 2026 15:10:15 +0000 (16:10 +0100)] 
[3.14] gh-144759: Fix undefined behavior from NULL pointer arithmetic in lexer (GH-144788) (#144834)

gh-144759: Fix undefined behavior from NULL pointer arithmetic in lexer (GH-144788)

Guard against NULL pointer arithmetic in `_PyLexer_remember_fstring_buffers`
and `_PyLexer_restore_fstring_buffers`. When `start` or `multi_line_start`
are NULL (uninitialized in tok_mode_stack[0]), performing `NULL - tok->buf`
is undefined behavior. Add explicit NULL checks to store -1 as sentinel
and restore NULL accordingly.

Add test_lexer_buffer_realloc_with_null_start to test_repl.py that
exercises the code path where the lexer buffer is reallocated while
tok_mode_stack[0] has NULL start/multi_line_start pointers. This
triggers _PyLexer_remember_fstring_buffers and verifies the NULL
checks prevent undefined behavior.
(cherry picked from commit e6110efd03259acd1895cff63fbfa115ac5f16dc)

Co-authored-by: Ramin Farajpour Cami <ramin.blackhat@gmail.com>
8 weeks ago[3.14] gh-143637: Fix re-entrant mutation of ancillary data in socket.sendmsg() ...
Miss Islington (bot) [Sat, 14 Feb 2026 17:07:32 +0000 (18:07 +0100)] 
[3.14] gh-143637: Fix re-entrant mutation of ancillary data in socket.sendmsg() (GH-143892) (#144786)

gh-143637: Fix re-entrant mutation of ancillary data in socket.sendmsg() (GH-143892)
(cherry picked from commit 82b92e3cd180723a354cdeb0f0f1d593f1b5eb0d)

Co-authored-by: Priyanshu Singh <priyanshu2282@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
8 weeks ago[3.14] gh-144766: Fix a crash in fork child process when perf support is enabled...
Miss Islington (bot) [Sat, 14 Feb 2026 12:09:00 +0000 (13:09 +0100)] 
[3.14] gh-144766: Fix a crash in fork child process when perf support is enabled. (GH-144795) (#144816)

2 months ago[3.14] gh-144551: Update CI to use latest OpenSSL versions (GH-144794) (#144799)
Zachary Ware [Fri, 13 Feb 2026 20:31:27 +0000 (14:31 -0600)] 
[3.14] gh-144551: Update CI to use latest OpenSSL versions (GH-144794) (#144799)

[3.14] gh-144551: Update CI to use latest OpenSSL versions

Also update _ssl_data_35.h to include an added symbol from 3.5.5.

(cherry picked from commit b933ef92619db2a103a26c70e69b6d31978eb566)

2 months ago[3.14] gh-144787: [tests] Allow TLS v1.2 to be minimum version (GH-144790) (#144791)
Miss Islington (bot) [Fri, 13 Feb 2026 20:28:06 +0000 (21:28 +0100)] 
[3.14] gh-144787: [tests] Allow TLS v1.2 to be minimum version (GH-144790) (#144791)

gh-144787: [tests] Allow TLS v1.2 to be minimum version (GH-144790)

Allow TLS v1.2 to be minimum version

Updates test_min_max_version to allow TLS v1.2 to be minimum version if
TLS 1.0 and 1.1 are disabled in OpenSSL.
(cherry picked from commit d625f7da33bf8eb57fb7e1a05deae3f68bf4d00f)

Co-authored-by: Colin McAllister <colinmca242@gmail.com>
2 months ago[3.14] gh-144551: Update Windows builds to use OpenSSL 3.0.19 (GH-144797)
Zachary Ware [Fri, 13 Feb 2026 19:38:31 +0000 (13:38 -0600)] 
[3.14] gh-144551: Update Windows builds to use OpenSSL 3.0.19 (GH-144797)

(cherry picked from commit 928602c0ac385eca81b90956ba8d36d04e7dd6de)

2 months ago[3.14] gh-135906: Test more internal headers in test_cext/test_cppext (#144758)
Victor Stinner [Fri, 13 Feb 2026 07:30:22 +0000 (08:30 +0100)] 
[3.14] gh-135906: Test more internal headers in test_cext/test_cppext (#144758)

* gh-141563: Enable test_cppext internal C API tests on macOS (#144711)

Build the C API in C++11 mode on macOS.

(cherry picked from commit c6e418d1744aed95a6f25d22565204649dde29c7)

* gh-135906: Test more internal headers in test_cext/test_cppext (#144751)

(cherry picked from commit b488f338cf058f46cbf0255023ca1c1669b0eb44)

2 months ago[3.14] gh-144706: Warn against using synchronization primitives within signal handler...
Miss Islington (bot) [Thu, 12 Feb 2026 23:21:17 +0000 (00:21 +0100)] 
[3.14] gh-144706: Warn against using synchronization primitives within signal handlers (GH-144736) (GH-144767)

gh-144706: Warn against using synchronization primitives within signal handlers (GH-144736)
(cherry picked from commit 945bf8ce1bf7ee3881752c2ecc129e35ab818477)

Co-authored-by: Robsdedude <dev@rouvenbauer.de>
2 months ago[3.14] gh-80667: Fix case-sensitivity of some Unicode literal escapes (GH-107281...
Miss Islington (bot) [Thu, 12 Feb 2026 17:22:05 +0000 (18:22 +0100)] 
[3.14] gh-80667: Fix case-sensitivity of some Unicode literal escapes (GH-107281) (GH-144753)

Lookup for CJK ideograms and Hangul syllables is now case-insensitive,
as is the case for other character names.
(cherry picked from commit e66f4a5a9c7ce744030d6352bf5575639b1096cc)

Co-authored-by: James <snoopjedi@gmail.com>
2 months ago[3.14] gh-57095: Add note about input splitting in `datetime.*.strptime` (GH-131049...
Miss Islington (bot) [Thu, 12 Feb 2026 10:44:32 +0000 (11:44 +0100)] 
[3.14] gh-57095: Add note about input splitting in `datetime.*.strptime` (GH-131049) (GH-144735)

(cherry picked from commit 2e3e76e5cde34786780f5b3723f495fdbdf37c84)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 months ago[3.14] gh-84424: Use numeric_changed for UCD.numeric (GH-19457) (GH-144731)
Serhiy Storchaka [Thu, 12 Feb 2026 08:38:27 +0000 (10:38 +0200)] 
[3.14] gh-84424: Use numeric_changed for UCD.numeric (GH-19457) (GH-144731)

This was causing ucd_3_2_0.numeric() to pick up only decimal
changes between Unicode 3.2.0 and the current version.
(cherry picked from commit 3e0322ff16f47caa3e273d453f007d3918b8ac80)

Co-authored-by: William Meehan <wmeehan@fb.com>
2 months ago[3.14] gh-144639: Ruff: target Python 3.14 syntax in `Lib/test` (GH-144656) (#144710)
Hugo van Kemenade [Wed, 11 Feb 2026 15:33:51 +0000 (17:33 +0200)] 
[3.14] gh-144639: Ruff: target Python 3.14 syntax in `Lib/test` (GH-144656) (#144710)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 months ago[3.14] gh-142518: Document thread-safety guarantees of dict operations (GH-144184...
Miss Islington (bot) [Wed, 11 Feb 2026 13:39:40 +0000 (14:39 +0100)] 
[3.14] gh-142518: Document thread-safety guarantees of dict operations (GH-144184) (#144708)

* Address feedback; move thread safety section below see-also
* Address feedback - don't mention equality comparison only
* Change admonition to rubric; cross-reference glossary

---------
(cherry picked from commit 35dc547ab5a6bb9be9748002d42d0d9e86f9cced)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2 months ago[3.14] gh-142518: Define lock-free and per-object lock (GH-144548) (#144704)
Miss Islington (bot) [Wed, 11 Feb 2026 13:16:55 +0000 (14:16 +0100)] 
[3.14] gh-142518: Define lock-free and per-object lock (GH-144548) (#144704)

gh-142518: Define lock-free and per-object lock (GH-144548)

- Add definitions of lock-free and per-object lock to the glossary
- Cross-reference these from list thread safety notes
- Change admonition to rubric
(cherry picked from commit 12dbae4c02dac197330d5bfa650b495e962aba6d)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
2 months ago[3.14] Docs: remove links of modules to themselves (GH-144695) (#144705)
Ned Batchelder [Wed, 11 Feb 2026 13:09:56 +0000 (08:09 -0500)] 
[3.14] Docs: remove links of modules to themselves (GH-144695) (#144705)

2 months ago[3.14] gh-106318: Improve str.rstrip() method doc (GH-143893) (#144699)
Miss Islington (bot) [Wed, 11 Feb 2026 08:48:22 +0000 (09:48 +0100)] 
[3.14] gh-106318: Improve str.rstrip() method doc (GH-143893) (#144699)

gh-106318: Improve str.rstrip() method doc (GH-143893)
(cherry picked from commit 936d60dbe1679f05d7ceb0a6d1f65bc741390ac6)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 months ago[3.14] gh-143650: Fix importlib race condition on import failure (GH-143651) (#144662)
Miss Islington (bot) [Wed, 11 Feb 2026 06:06:51 +0000 (07:06 +0100)] 
[3.14] gh-143650: Fix importlib race condition on import failure (GH-143651) (#144662)

gh-143650: Fix importlib race condition on import failure (GH-143651)

Fix a race condition where a thread could receive a partially-initialized
module when another thread's import fails. The race occurs when:

1. Thread 1 starts importing, adds module to sys.modules
2. Thread 2 sees the module in sys.modules via the fast path
3. Thread 1's import fails, removes module from sys.modules
4. Thread 2 returns a stale module reference not in sys.modules

The fix adds verification after the "skip lock" optimization in both Python
and C code paths to check if the module is still in sys.modules. If the
module was removed (due to import failure), we retry the import so the
caller receives the actual exception from the import failure rather than
a stale module reference.
(cherry picked from commit ac8b5b6890006ee7254ea878866cb486ff835ecb)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2 months ago[3.14] gh-144490: Test the internal C API in test_cext (#144678)
Victor Stinner [Tue, 10 Feb 2026 20:04:13 +0000 (21:04 +0100)] 
[3.14] gh-144490: Test the internal C API in test_cext (#144678)

Backport changes from the main branch.

Test also datetime.h in test_cppext.

2 months ago[3.14] GH-144552: Clean up `tail-call.yml ` CI (GH-144553) (#144683)
Savannah Ostrowski [Tue, 10 Feb 2026 18:42:18 +0000 (10:42 -0800)] 
[3.14] GH-144552: Clean up `tail-call.yml ` CI (GH-144553) (#144683)

Co-authored-by: Savannah Ostrowski <savannah@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 months ago[3.14] Bump pre-commit hooks (GH-144576) (#144591)
Hugo van Kemenade [Tue, 10 Feb 2026 18:10:20 +0000 (20:10 +0200)] 
[3.14] Bump pre-commit hooks (GH-144576) (#144591)

(cherry picked from commit e682141c495c2e52368c4341ae54eea041070356)

Co-authored-by: Savannah Ostrowski <savannah@python.org>
2 months ago[3.14] gh-144629: Add test for the PyFunction_GetAnnotations() function (GH-144630...
Miss Islington (bot) [Tue, 10 Feb 2026 15:05:25 +0000 (16:05 +0100)] 
[3.14] gh-144629: Add test for the PyFunction_GetAnnotations() function (GH-144630) (#144670)

gh-144629: Add test for the PyFunction_GetAnnotations() function (GH-144630)
(cherry picked from commit cc81707e406c49c63afc18048e1a221d796ce638)

Co-authored-by: Nybblista <170842536+nybblista@users.noreply.github.com>
2 months ago[3.14] gh-144563: Fix remote debugging with duplicate libpython mappings from ctypes...
Bartosz Sławecki [Tue, 10 Feb 2026 14:31:49 +0000 (15:31 +0100)] 
[3.14] gh-144563: Fix remote debugging with duplicate libpython mappings from ctypes (GH-144595) (#144655)

2 months ago[3.14] gh-138744: Skip test_dtrace on Windows (#144657)
Victor Stinner [Tue, 10 Feb 2026 14:30:05 +0000 (15:30 +0100)] 
[3.14] gh-138744: Skip test_dtrace on Windows (#144657)

Co-authored-by: Ken Jin <kenjin@python.org>
2 months ago[3.14] Clarify the docs for `args` in asyncio callbacks (GH-143873) (#144663)
Miss Islington (bot) [Tue, 10 Feb 2026 13:16:26 +0000 (14:16 +0100)] 
[3.14] Clarify the docs for `args` in asyncio callbacks (GH-143873) (#144663)

Clarify the docs for `args` in asyncio callbacks (GH-143873)
(cherry picked from commit 40a82abe9335e78e34ca564243499490e50b8888)

Co-authored-by: Aarni Koskela <akx@iki.fi>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2 months ago[3.14] gh-143543: Fix re-entrant use-after-free in itertools.groupby (GH-143738)...
Miss Islington (bot) [Tue, 10 Feb 2026 13:01:10 +0000 (14:01 +0100)] 
[3.14] gh-143543: Fix re-entrant use-after-free in itertools.groupby (GH-143738) (GH-144626)

(cherry picked from commit a91b5c3fb5aeaeda6a8e016378beb0e4a8b329e6)

Co-authored-by: VanshAgarwal24036 <148854295+VanshAgarwal24036@users.noreply.github.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2 months ago[3.14] gh-144652: Support Windows exit status in support get_signal_name() (GH-144653...
Miss Islington (bot) [Tue, 10 Feb 2026 11:42:26 +0000 (12:42 +0100)] 
[3.14] gh-144652: Support Windows exit status in support get_signal_name() (GH-144653) (#144658)

gh-144652: Support Windows exit status in support get_signal_name() (GH-144653)

Format Windows exit status as hexadecimal.
(cherry picked from commit b121dc434748772272514311fe315e009fdfe6e5)

Co-authored-by: Victor Stinner <vstinner@python.org>
2 months ago[3.14] gh-144490: Test the internal C API in test_cppext (#144547)
Victor Stinner [Tue, 10 Feb 2026 10:55:57 +0000 (11:55 +0100)] 
[3.14] gh-144490: Test the internal C API in test_cppext (#144547)

Backport changes from the main branch.

2 months ago[3.14] Disable pip version check when upgrading certifi (GH-144632) (#144641)
Miss Islington (bot) [Tue, 10 Feb 2026 03:24:17 +0000 (04:24 +0100)] 
[3.14] Disable pip version check when upgrading certifi (GH-144632) (#144641)

(cherry picked from commit 80ba4e10f5070e6d2e35618e08057be44f913965)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 months ago[3.14] gh-144492: Fix `process_changed_files` outputs for `reusable-{macos, wasi...
Miss Islington (bot) [Mon, 9 Feb 2026 17:57:43 +0000 (18:57 +0100)] 
[3.14] gh-144492: Fix `process_changed_files` outputs for `reusable-{macos, wasi}.yml` (GH-144518) (#144635)

gh-144492: Fix `process_changed_files` outputs for `reusable-{macos, wasi}.yml` (GH-144518)

Fix `process_changed_files` double-processing reusable-{macos, wasi] ending up with incorrect outputs
(cherry picked from commit fd190d1fa1a34bb8d533d05263ea744a051b7529)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 months ago[3.14] gh-134179: Use sys._clear_internal_caches() at test_cmd_line (GH-134180) ...
Miss Islington (bot) [Mon, 9 Feb 2026 15:06:28 +0000 (16:06 +0100)] 
[3.14] gh-134179: Use sys._clear_internal_caches() at test_cmd_line (GH-134180) (#144631)

gh-134179: Use sys._clear_internal_caches() at test_cmd_line (GH-134180)

Use sys._clear_internal_caches() instead of deprecated sys._clear_type_cache() at test_cmd_line.
(cherry picked from commit dd2da42ea479c32a4260463b47e1b58877d07bdc)

Co-authored-by: alexey semenyuk <alexsemenyuk88@gmail.com>
2 months ago[3.14] gh-119740: Remove obsoleted removal announce for trunc delegation (GH-144622...
Miss Islington (bot) [Mon, 9 Feb 2026 14:04:52 +0000 (15:04 +0100)] 
[3.14] gh-119740: Remove obsoleted removal announce for trunc delegation (GH-144622) (GH-144624)

This was done in GH-119743 (3.14).
(cherry picked from commit aa6ed802f20c1ddadf45942d350422d3d4e0bbea)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2 months ago[3.14] gh-144363: Update bundled libexpat to 2.7.4 (GH-144365) (GH-144499)
Miss Islington (bot) [Mon, 9 Feb 2026 13:21:54 +0000 (14:21 +0100)] 
[3.14] gh-144363: Update bundled libexpat to 2.7.4 (GH-144365) (GH-144499)

(cherry picked from commit d5cb9f6a9b6f48cc08c4422259498d4fd023357a)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2 months ago[3.14] gh-106318: Add examples for str.partition() method (GH-142823) (#144611)
Miss Islington (bot) [Sun, 8 Feb 2026 22:17:46 +0000 (23:17 +0100)] 
[3.14] gh-106318: Add examples for str.partition() method (GH-142823) (#144611)

gh-106318: Add examples for str.partition() method (GH-142823)
(cherry picked from commit 432ddd99e2b06a75a4f47bd99c0fd0c911bdb19c)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>