]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
5 weeks ago[3.14] gh-84232: Fix `pydoc` docs.python.org link generation (GH-139995) (#143098)
Miss Islington (bot) [Tue, 23 Dec 2025 16:26:49 +0000 (17:26 +0100)] 
[3.14] gh-84232: Fix `pydoc` docs.python.org link generation (GH-139995) (#143098)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Éric <merwok@netwok.org>
5 weeks ago[3.14] gh-122431: Correct the non-negative error message in `readline.append_history_...
Miss Islington (bot) [Tue, 23 Dec 2025 05:01:41 +0000 (06:01 +0100)] 
[3.14] gh-122431: Correct the non-negative error message in `readline.append_history_file` (GH-143075) (GH-143090)

gh-122431: Correct the non-negative error message in `readline.append_history_file` (GH-143075)

"positive" -> "non-negative", since zero is included.
(cherry picked from commit a273bc99d2ff853f59ee6da4d897b1be72a03975)

Co-authored-by: Zheng Yu <dataisland@outlook.com>
5 weeks ago[3.14] gh-89152: Note truth testing exception in `stdtypes.rst` (GH-137640) (#143081)
Miss Islington (bot) [Mon, 22 Dec 2025 19:42:24 +0000 (20:42 +0100)] 
[3.14] gh-89152: Note truth testing exception in `stdtypes.rst` (GH-137640) (#143081)

gh-89152: Note truth testing exception in `stdtypes.rst` (GH-137640)
(cherry picked from commit 3c0888b25b4c1dc1dee6d0edf05d51d3cc24486e)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
5 weeks ago[3.14] gh-143010: Prevent a TOCTOU issue by only calling open once (GH-143011) (...
Miss Islington (bot) [Mon, 22 Dec 2025 18:14:59 +0000 (19:14 +0100)] 
[3.14] gh-143010: Prevent a TOCTOU issue by only calling open once (GH-143011) (#143080)

gh-143010: Prevent a TOCTOU issue by only calling open once (GH-143011)

RDM: per  AZero13's research the 'x' option did not exist when this code was written,  This
modernization can thus drop the fd trick in _create_carefully and just use open with 'x' to achieve the same goal more securely.
(cherry picked from commit a88d1b8dab4cbd3180dd7f1acb44d627db90323b)

Co-authored-by: AZero13 <gfunni234@gmail.com>
Co-authored-by: sobolevn <mail@sobolevn.me>
5 weeks ago[3.14] gh-143057: avoid locking in `tracemalloc` C-APIs when it is not enabled (GH...
Miss Islington (bot) [Mon, 22 Dec 2025 16:04:24 +0000 (17:04 +0100)] 
[3.14] gh-143057: avoid locking in `tracemalloc` C-APIs when it is not enabled (GH-143065) (#143071)

gh-143057: avoid locking in `tracemalloc` C-APIs when it is not enabled (GH-143065)
(cherry picked from commit e728b006de984ab11532f5c9cf60c57671ec37ab)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
5 weeks ago[3.14] gh-143046: Make asyncio REPL respect the `-q` flag (quiet mode) (GH-143047...
Miss Islington (bot) [Mon, 22 Dec 2025 08:18:16 +0000 (09:18 +0100)] 
[3.14] gh-143046: Make asyncio REPL respect the `-q` flag (quiet mode) (GH-143047) (#143060)

gh-143046: Make asyncio REPL respect the `-q` flag (quiet mode) (GH-143047)
(cherry picked from commit 6213a512bf42464e35ae5090358b80aaa64904cc)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
5 weeks ago[3.14] gh-79986: Add parsing for References/In-Reply-To email headers (GH-137201...
Miss Islington (bot) [Sun, 21 Dec 2025 19:35:24 +0000 (20:35 +0100)] 
[3.14] gh-79986: Add parsing for References/In-Reply-To email headers (GH-137201) (#142573)

gh-79986: Add parsing for References/In-Reply-To email headers (GH-137201)

This is a followup to 46d88a113142b26c01c95c93846a89318ba87ffc (GH-13397),
which added parsing for Message-ID. Similar handling is needed for the
other two identification headers.
(cherry picked from commit 79aa43a9797de64a3c42794f34329eab638dd67a)

Co-authored-by: elenril <anton@khirnov.net>
5 weeks ago[3.14] gh-70647: Better promote how to safely parse yearless dates in datetime. ...
Miss Islington (bot) [Sun, 21 Dec 2025 06:52:55 +0000 (07:52 +0100)] 
[3.14] gh-70647: Better promote how to safely parse yearless dates in datetime. (GH-116179) (#143037)

gh-70647: Better promote how to safely parse yearless dates in datetime. (GH-116179)

* gh-70647: Better promote how to safely parse yearless dates in datetime.

Every four years people encounter this because it just isn't obvious.
This moves the footnote up to a note with a code example.

We'd love to change the default year value for datetime but doing
that could have other consequences for existing code.  This documented
workaround *always* works.

* doctest code within note is bad, dedent.

* Update to match the error message.

* remove no longer referenced footnote

* ignore the warning in the doctest

* use Petr's suggestion for the docs to hide the warning processing

* cover date.strptime (3.14) as well
(cherry picked from commit b8d3fddba6e96e693ced0d3b8f6ddbd61428fd32)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
5 weeks ago[3.14] gh-142145: relax the no-longer-quadratic test timing (GH-143030) (#143031)
Miss Islington (bot) [Sun, 21 Dec 2025 00:25:25 +0000 (01:25 +0100)] 
[3.14] gh-142145: relax the no-longer-quadratic test timing (GH-143030) (#143031)

gh-142145: relax the no-longer-quadratic test timing (GH-143030)

* gh-142145: relax the no-longer-quadratic test timing

* require cpu resource
(cherry picked from commit 8d2d7bb2e754f8649a68ce4116271a4932f76907)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
5 weeks ago[3.14] gh-142754: Ensure that Element & Attr instances have the ownerDocument attribu...
Miss Islington (bot) [Sat, 20 Dec 2025 23:56:47 +0000 (00:56 +0100)] 
[3.14] gh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (GH-142794) (#142818)

gh-142754: Ensure that Element & Attr instances have the ownerDocument attribute (GH-142794)
(cherry picked from commit 1cc7551b3f9f71efbc88d96dce90f82de98b2454)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
5 weeks ago[3.14] gh-143012: use `Py_ssize_t` cast for `PyBytes_FromStringAndSize` (GH-143013...
Miss Islington (bot) [Sat, 20 Dec 2025 08:02:44 +0000 (09:02 +0100)] 
[3.14] gh-143012: use `Py_ssize_t` cast for `PyBytes_FromStringAndSize` (GH-143013) (#143014)

gh-143012: use `Py_ssize_t` cast for `PyBytes_FromStringAndSize` (GH-143013)
(cherry picked from commit 5989095dfd08735525f2b615066bc3c231b09388)

Co-authored-by: AZero13 <gfunni234@gmail.com>
5 weeks ago[3.14] gh-142776: Ensure fp file descriptor is closed on all code paths in import...
stratakis [Sat, 20 Dec 2025 07:19:23 +0000 (08:19 +0100)] 
[3.14] gh-142776: Ensure fp file descriptor is closed on all code paths in import.c (GH-142777) (#142988)

gh-142776: Ensure fp file descriptor is closed on all code paths in import.c (GH-142777)

(cherry picked from commit 6a4f10325d58deb1906b39d68dc8e84f4c2bf5a4)

6 weeks ago[3.14] gh-142560: prevent use-after-free in search-like methods by exporting buffer...
Miss Islington (bot) [Fri, 19 Dec 2025 16:58:24 +0000 (17:58 +0100)] 
[3.14] gh-142560: prevent use-after-free in search-like methods by exporting buffer in bytearray (GH-142938) (#142983)

gh-142560: prevent use-after-free in search-like methods by exporting buffer in bytearray (GH-142938)
(cherry picked from commit 220f0b107776391201a399c54dd01692c36fcdf4)

Co-authored-by: wangxiaolei <fatelei@gmail.com>
6 weeks ago[3.14] gh-142527: Docs: Clarify that random.seed() discards the sign of an integer...
Miss Islington (bot) [Fri, 19 Dec 2025 08:34:54 +0000 (09:34 +0100)] 
[3.14] gh-142527: Docs: Clarify that random.seed() discards the sign of an integer input (GH-142483) (#142970)

gh-142527: Docs: Clarify that random.seed() discards the sign of an integer input (GH-142483)

If *a* is an integer, the sign of *a* is discarded in the C source code. Clarify this behavior to prevent foot guns, where a common use case might naively assume that flipping the sign will produce different sequences (e.g. for a train/test split of a synthetic data generator in machine learning).
(cherry picked from commit 610aabfef2f90dc1a274703779615aa5b7fbbb3a)

Co-authored-by: Andrej <andrej.karpathy@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
6 weeks ago[3.14] gh-118342: [Enum] update docs (GH-137290) (GH-142953)
Miss Islington (bot) [Thu, 18 Dec 2025 19:18:46 +0000 (20:18 +0100)] 
[3.14] gh-118342: [Enum] update docs (GH-137290) (GH-142953)

gh-118342: [Enum] update docs (GH-137290)

(cherry picked from commit e79c39101a9f55882f54df0bb3ecfa23238692de)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
6 weeks ago[3.14] gh-142681: Move NormalizationTest-3.2.0.txt to more safe place. (GH-142935...
Miss Islington (bot) [Thu, 18 Dec 2025 17:34:05 +0000 (18:34 +0100)] 
[3.14] gh-142681: Move NormalizationTest-3.2.0.txt to more safe place. (GH-142935) (GH-142944)

(cherry picked from commit 4a8ecbad809dedd9268973d533f24117dfc2e5ba)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 weeks ago[3.14] gh-142784: make the asyncio REPL call `loop.close()` at exit (GH-142785) ...
Miss Islington (bot) [Thu, 18 Dec 2025 13:55:50 +0000 (14:55 +0100)] 
[3.14] gh-142784: make the asyncio REPL call `loop.close()` at exit (GH-142785) (#142933)

gh-142784: make the asyncio REPL call `loop.close()` at exit (GH-142785)
(cherry picked from commit ddfc155d3ade5f4867c6789136df73f61d4efb03)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
6 weeks ago[3.14] gh-137063: Document that ast node types replaced by Constant are no longer...
Miss Islington (bot) [Thu, 18 Dec 2025 12:24:54 +0000 (13:24 +0100)] 
[3.14] gh-137063: Document that ast node types replaced by Constant are no longer available (GH-137064) (GH-142930)

(cherry picked from commit fc80096a07a3a1da429e251d062a1cf0422cca41)

Co-authored-by: James <snoopjedi@gmail.com>
6 weeks ago[3.14] GH-100964: Fix reference cycle in exhausted generator frames (GH-141112) ...
Miss Islington (bot) [Wed, 17 Dec 2025 19:48:18 +0000 (20:48 +0100)] 
[3.14] GH-100964: Fix reference cycle in exhausted generator frames (GH-141112) (#142902)

GH-100964: Fix reference cycle in exhausted generator frames (GH-141112)
(cherry picked from commit 92243dc62ce10715ab0d9074b23dea5a1bfa9dcc)

Co-authored-by: Savannah Ostrowski <savannah@python.org>
6 weeks ago[3.14] gh-142766: Clear frame when `generator.close()` is called (gh-142838) (#142899)
Miss Islington (bot) [Wed, 17 Dec 2025 18:33:15 +0000 (19:33 +0100)] 
[3.14] gh-142766: Clear frame when `generator.close()` is called (gh-142838) (#142899)

(cherry picked from commit 25397f9541be89264d35d41a67defcfeaa950844)

Co-authored-by: Sam Gross <colesbury@gmail.com>
6 weeks ago[3.14] gh-142873: Do not check for `PyContextVar_CheckExact` twice in `PyContextVar_S...
Miss Islington (bot) [Wed, 17 Dec 2025 18:28:37 +0000 (19:28 +0100)] 
[3.14] gh-142873: Do not check for `PyContextVar_CheckExact` twice in `PyContextVar_Set` (GH-142874) (#142893)

gh-142873: Do not check for `PyContextVar_CheckExact` twice in `PyContextVar_Set` (GH-142874)
(cherry picked from commit e61a447d0e0753621e8fc347e99dfc87884d68ab)

Co-authored-by: sobolevn <mail@sobolevn.me>
6 weeks ago[3.14] gh-142876: remove reference to thread in documentation of `asyncio.Queue.shutd...
Miss Islington (bot) [Wed, 17 Dec 2025 16:53:27 +0000 (17:53 +0100)] 
[3.14] gh-142876: remove reference to thread in documentation of `asyncio.Queue.shutdown` (GH-142888) (#142891)

gh-142876: remove reference to thread in documentation of `asyncio.Queue.shutdown` (GH-142888)
(cherry picked from commit 77c8e6a2b8e206ea8151ab1b431e32f1cad51ddd)

Co-authored-by: Damian Birchler <damian@damianbirchler.net>
6 weeks ago[3.14] decimal docs: specification link and examples (GH-128698) (#142804)
Miss Islington (bot) [Wed, 17 Dec 2025 16:12:23 +0000 (17:12 +0100)] 
[3.14] decimal docs: specification link and examples (GH-128698) (#142804)

decimal docs: specification link and examples (GH-128698)
(cherry picked from commit 2450be607cfbdb1ab9e4ed7c0fe01d715e406d18)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
6 weeks ago[3.14] typo fixes in docs (GH-142683) (#142839)
Stan Ulbrych [Wed, 17 Dec 2025 16:11:54 +0000 (16:11 +0000)] 
[3.14] typo fixes in docs (GH-142683) (#142839)

(cherry picked from commit 39ecb17103a07175895e52c336a0b5980b773bce)

Co-authored-by: SYan212 <syan235711@gmail.com>
6 weeks ago[3.14] gh-112127: Fix possible use-after-free in atexit.unregister() (GH-114092)...
Miss Islington (bot) [Wed, 17 Dec 2025 16:06:12 +0000 (17:06 +0100)] 
[3.14] gh-112127: Fix possible use-after-free in atexit.unregister() (GH-114092) (#142878)

gh-112127: Fix possible use-after-free in atexit.unregister() (GH-114092)
(cherry picked from commit 2b466c47c333106dc9522ab77898e6972e25a2c6)

Co-authored-by: Benjamin Johnson <ben332004@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 weeks ago[3.14] gh-142836: Avoid /proc fd pipes on Solaris (GH-142853) (#142854)
Miss Islington (bot) [Wed, 17 Dec 2025 13:20:34 +0000 (14:20 +0100)] 
[3.14] gh-142836: Avoid /proc fd pipes on Solaris (GH-142853) (#142854)

gh-142836: Avoid /proc fd pipes on Solaris (GH-142853)
(cherry picked from commit c35b812e773493f88631cd1e8be65d3a7c3b47ae)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
6 weeks ago[3.14] gh-142859: Add `Tools/check-c-api-docs` to mypy check (GH-142860) (#142871)
Miss Islington (bot) [Wed, 17 Dec 2025 11:50:22 +0000 (12:50 +0100)] 
[3.14] gh-142859: Add `Tools/check-c-api-docs` to mypy check (GH-142860) (#142871)

gh-142859: Add `Tools/check-c-api-docs` to mypy check (GH-142860)
(cherry picked from commit 248eb3efb3cad7799ef9b4a2dd77a66d1ae65c11)

Co-authored-by: sobolevn <mail@sobolevn.me>
6 weeks ago[3.14] gh-140374: Add glossary entries related to multithreading (GH-140375) (#142868)
Miss Islington (bot) [Wed, 17 Dec 2025 11:17:46 +0000 (12:17 +0100)] 
[3.14] gh-140374: Add glossary entries related to multithreading (GH-140375) (#142868)

---------
(cherry picked from commit 1e9a0ee6823023a9bdaa60e6fcc71327c604a0fb)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Daniele Parmeggiani <8658291+dpdani@users.noreply.github.com>
6 weeks ago[3.14] gh-139320: Cover exception chaining in the docs of `contextmanager.__exit__...
Miss Islington (bot) [Wed, 17 Dec 2025 10:28:42 +0000 (11:28 +0100)] 
[3.14] gh-139320: Cover exception chaining in the docs of `contextmanager.__exit__` (GH-140169) (GH-142792)

(cherry picked from commit a44509ea87021f78a9f769aff2bb3fc212bc8afc)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
6 weeks ago[3.14] gh-139743: Avoid print twice verbose version for sqlite tests (GH-142850)...
Miss Islington (bot) [Wed, 17 Dec 2025 10:10:46 +0000 (11:10 +0100)] 
[3.14] gh-139743: Avoid print twice verbose version for sqlite tests (GH-142850) (GH-142865)

(cherry picked from commit 454485e564f637eefd980568c090808a681a91d0)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: yihong <zouzou0208@gmail.com>
6 weeks ago[3.14] gh-142783: Fix possible use after free in zoneinfo module (GH-142790) (GH...
Miss Islington (bot) [Wed, 17 Dec 2025 09:23:59 +0000 (10:23 +0100)] 
[3.14] gh-142783: Fix possible use after free in zoneinfo module (GH-142790) (GH-142862)

(cherry picked from commit 8307a14d0edc14ae2f775995720e4b6d6dc865b3)

Co-authored-by: wangxiaolei <fatelei@gmail.com>
6 weeks ago[3.14] gh-142752: add more thread safety tests for mock (GH-142791) (#142856)
Miss Islington (bot) [Wed, 17 Dec 2025 08:14:20 +0000 (09:14 +0100)] 
[3.14] gh-142752: add more thread safety tests for mock (GH-142791) (#142856)

gh-142752: add more thread safety tests for mock (GH-142791)
(cherry picked from commit 4fd006e71247601e9a84e0fa04f96bed5129f09e)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
6 weeks ago[3.14] gh-142315: Don't pass the "real path" of Pdb script target to system functions...
Miss Islington (bot) [Tue, 16 Dec 2025 15:52:26 +0000 (16:52 +0100)] 
[3.14] gh-142315: Don't pass the "real path" of Pdb script target to system functions (GH-142371) (#142497)

gh-142315: Don't pass the "real path" of Pdb script target to system functions (GH-142371)

* Pick target depending on preconditions

* Clarify the news fragment

* Add test capturing missed expectation.

* Add more idiomatic safe realpath helper

* Restore logic where existance and directoriness are checked on realpath.

* Link GH issue to test.

* Extract a function to check the target. Remove the _safe_realpath, now no longer needed.

* Extract method for replacing sys_path, and isolate realpath usage there.

* Revert "Extract method for replacing sys_path, and isolate realpath usage there."

This reverts commit 855aac3d289dd096142ed9bd23d00c22ce6e1859.

* Restore _safe_realpath.

---------
(cherry picked from commit d716e3b2dd33de27aaa31e8204723195c5ba706c)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
6 weeks ago[3.14] gh-142495: Make `defaultdict` keep existed value when racing with `__missing__...
Miss Islington (bot) [Tue, 16 Dec 2025 15:31:05 +0000 (16:31 +0100)] 
[3.14] gh-142495: Make `defaultdict` keep existed value when racing with `__missing__` (GH-142668) (GH-142832)

(cherry picked from commit a0434075108efe6acdfba34f42545f4d80ac9a5e)

Co-authored-by: Edward Xu <xuxiangad@gmail.com>
6 weeks ago[3.14] gh-130536: Add details to `os.path` documentation (GH-130557) (#142800)
Miss Islington (bot) [Tue, 16 Dec 2025 14:50:56 +0000 (15:50 +0100)] 
[3.14] gh-130536: Add details to `os.path` documentation (GH-130557) (#142800)

Co-authored-by: Arthur Wigo <arthur.l.wigo@gmail.com>
6 weeks ago[3.14] gh-83926: BlockingIOError characters_written is byte count (GH-141215) (#142816)
Miss Islington (bot) [Tue, 16 Dec 2025 12:03:47 +0000 (13:03 +0100)] 
[3.14] gh-83926: BlockingIOError characters_written is byte count (GH-141215) (#142816)

gh-83926: BlockingIOError characters_written is byte count (GH-141215)
(cherry picked from commit e12c744b0a9322186146a90a5d2283d9a1049d31)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
6 weeks ago[3.14] gh-142019: Add description about the exponent of result formatted with present...
Miss Islington (bot) [Tue, 16 Dec 2025 12:01:50 +0000 (13:01 +0100)] 
[3.14] gh-142019: Add description about the exponent of result formatted with presentation type 'e' (GH-142084) (#142813)

Co-authored-by: 1nftf <QfxZ11@proton.me>
6 weeks ago[3.14] gh-119786: Remove mention of `_PyThreadState_BumpFramePointer` from `InternalD...
Miss Islington (bot) [Tue, 16 Dec 2025 11:54:44 +0000 (12:54 +0100)] 
[3.14] gh-119786: Remove mention of `_PyThreadState_BumpFramePointer` from `InternalDocs/interpreter.md` (GH-141816) (#142812)

Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
6 weeks ago[3.14] gh-141218: Fix inaccurate object comparison documentation (GH-141221) (#142810)
Miss Islington (bot) [Tue, 16 Dec 2025 11:52:06 +0000 (12:52 +0100)] 
[3.14] gh-141218: Fix inaccurate object comparison documentation (GH-141221) (#142810)

Co-authored-by: Mohsin Mehmood <55545648+mohsinm-dev@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
6 weeks ago[3.14] Remove duplicate content in `Mapping types - dict` documentation (GH-141036...
Miss Islington (bot) [Tue, 16 Dec 2025 11:51:36 +0000 (12:51 +0100)] 
[3.14] Remove duplicate content in `Mapping types - dict` documentation (GH-141036) (#142808)

Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
6 weeks ago[3.14] Correct Glossary key function example to use str.casefold instead of str.lower...
Miss Islington (bot) [Tue, 16 Dec 2025 11:49:57 +0000 (12:49 +0100)] 
[3.14] Correct Glossary key function example to use str.casefold instead of str.lower (GH-140316) (#142807)

Co-authored-by: Cameron Beck <94604154+cbkinase@users.noreply.github.com>
6 weeks ago[3.14] gh-106318: Add examples for str.ljust() method (GH-142719) (#142802)
Miss Islington (bot) [Tue, 16 Dec 2025 11:45:13 +0000 (12:45 +0100)] 
[3.14] gh-106318: Add examples for str.ljust() method  (GH-142719) (#142802)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
6 weeks ago[3.14] gh-85204: Improve `locale.setlocale` example (GH-132683) (#142798)
Miss Islington (bot) [Tue, 16 Dec 2025 11:32:07 +0000 (12:32 +0100)] 
[3.14] gh-85204: Improve `locale.setlocale` example (GH-132683) (#142798)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
6 weeks ago[3.14] gh-124864: Extends smtplib documentation on ESMTP options format (GH-132547...
Miss Islington (bot) [Tue, 16 Dec 2025 11:27:20 +0000 (12:27 +0100)] 
[3.14] gh-124864: Extends smtplib documentation on ESMTP options format (GH-132547) (#142796)

Co-authored-by: Patrick R <codeZeilen@users.noreply.github.com>
6 weeks ago[3.14] gh-142595: Amend be5e0dcdedb (fix NULL pointer dereference) (GH-142775) (...
Miss Islington (bot) [Tue, 16 Dec 2025 10:12:43 +0000 (11:12 +0100)] 
[3.14] gh-142595: Amend be5e0dcdedb (fix NULL pointer dereference) (GH-142775) (#142788)

gh-142595: Amend be5e0dcdedb (fix NULL pointer dereference) (GH-142775)
(cherry picked from commit 15a9762500b3d9a13206aa54d8695513efaf3b55)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
6 weeks ago[3.14] gh-142020: ctypes docs: Note that find_library relies on the programs it runs...
Miss Islington (bot) [Tue, 16 Dec 2025 09:56:25 +0000 (10:56 +0100)] 
[3.14] gh-142020: ctypes docs: Note that find_library relies on the programs it runs (GH-142134) (GH-142748)

(cherry picked from commit e4d32a3ef9eab34225fd9320632edbce834f4033)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
6 weeks ago[3.14] gh-142594: fix by property calls io.TextIOWrapper.detach (GH-142706) (GH-142755)
Cody Maloney [Tue, 16 Dec 2025 09:55:25 +0000 (01:55 -0800)] 
[3.14] gh-142594: fix by property calls io.TextIOWrapper.detach (GH-142706) (GH-142755)

(cherry picked from commit 1d3854a19a376c1fc7f71e96c620f6bc2de8cd74)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: yihong <zouzou0208@gmail.com>
6 weeks ago[3.14] gh-142737: Handle lost `io.open` in `_Py_FindSourceFile` (GH-142747) (GH-142773)
Miss Islington (bot) [Mon, 15 Dec 2025 23:30:00 +0000 (00:30 +0100)] 
[3.14] gh-142737: Handle lost `io.open` in `_Py_FindSourceFile` (GH-142747) (GH-142773)

gh-142737: Handle lost `io.open` in `_Py_FindSourceFile` (GH-142747)
(cherry picked from commit f277781bba684322dffffe45cd878f4652ccf7e4)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
6 weeks ago[3.14] gh-85222: Document the global start method side effect in multiprocessing...
Miss Islington (bot) [Mon, 15 Dec 2025 22:18:47 +0000 (23:18 +0100)] 
[3.14] gh-85222: Document the global start method side effect in multiprocessing (GH-136426) (#142770)

gh-85222: Document the global start method side effect in multiprocessing (GH-136426)

* Document the ctx parameter in some types in multiprocessing.
* Reduce duplication while still linking to the central explanation from API points with the side effect.
(cherry picked from commit 0978b9a7d5eedab19d7d39bd703ed5b55fd7aa5f)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: R Chintan Meher <meherrihaan@gmail.com>
6 weeks ago[3.14] gh-142595: add type check for namedtuple call during decimal initialization...
Miss Islington (bot) [Mon, 15 Dec 2025 14:03:57 +0000 (15:03 +0100)] 
[3.14] gh-142595: add type check for namedtuple call during decimal initialization (GH-142608) (GH-142623)

(cherry picked from commit be5e0dcdedb63185aaa3e2f711d14dc828cb3640)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
6 weeks ago[3.14] gh-142651: make `Mock.call_count` thread-safe (GH-142656) (#142743)
Miss Islington (bot) [Mon, 15 Dec 2025 12:51:52 +0000 (13:51 +0100)] 
[3.14] gh-142651: make `Mock.call_count` thread-safe (GH-142656) (#142743)

gh-142651: make `Mock.call_count` thread-safe (GH-142656)
(cherry picked from commit 850f95f6f64a55920cbb91b022b70b736bd20ed8)

Co-authored-by: chaope <pengchaoandy@gmail.com>
6 weeks ago[3.14] gh-142724: fix error path in `_PyPegen_raise_tokenizer_init_error` (GH-142725...
Miss Islington (bot) [Sun, 14 Dec 2025 21:49:30 +0000 (22:49 +0100)] 
[3.14] gh-142724: fix error path in `_PyPegen_raise_tokenizer_init_error` (GH-142725) (#142726)

Co-authored-by: AZero13 <gfunni234@gmail.com>
6 weeks ago[3.14] gh-106318: Add examples for str.isnumeric() (GH-142680) (#142715)
Miss Islington (bot) [Sun, 14 Dec 2025 18:53:13 +0000 (19:53 +0100)] 
[3.14] gh-106318: Add examples for str.isnumeric() (GH-142680) (#142715)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
6 weeks ago[3.14] gh-142411: Change documentation to reflect the new docstring adjustments in...
decorator-factory [Sun, 14 Dec 2025 12:22:30 +0000 (15:22 +0300)] 
[3.14] gh-142411: Change documentation to reflect the new docstring adjustments in 3.13 (GH-142413) (#142689)

6 weeks ago[3.14] gh-142681: Improve unicodedata tests (GH-142682) (GH-142708)
Serhiy Storchaka [Sun, 14 Dec 2025 11:51:14 +0000 (13:51 +0200)] 
[3.14] gh-142681: Improve unicodedata tests (GH-142682) (GH-142708)

(cherry picked from commit af7cca3c39d59d21073765cbaca3f97e05e6aeec)

6 weeks ago[3.14] gh-141938: document treatment of `OSError` raised by `HTTPConnection.getrespon...
Miss Islington (bot) [Sun, 14 Dec 2025 10:17:54 +0000 (11:17 +0100)] 
[3.14] gh-141938: document treatment of `OSError` raised by `HTTPConnection.getresponse` (GH-142339) (#142704)

gh-141938: document treatment of `OSError` raised by `HTTPConnection.getresponse` (GH-142339)
(cherry picked from commit 11aef219f5186fcb9b8121651e5bdbd7e84c3a4e)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
6 weeks ago[3.14] gh-142451: correctly copy HMAC attributes in `HMAC.copy()` (GH-142510) (#142698)
Bénédikt Tran [Sun, 14 Dec 2025 09:27:03 +0000 (10:27 +0100)] 
[3.14] gh-142451: correctly copy HMAC attributes in `HMAC.copy()` (GH-142510) (#142698)

Partially cherry-picked from d3ef5ba34d3068b8178d6ff0f39462db6bbc4ad5
which ensures that the `block_size` attribute exists on the copy.

6 weeks ago[3.14] gh-142554: avoid `divmod` crashes due to bad `_pylong.int_divmod` (GH-142673...
Miss Islington (bot) [Sun, 14 Dec 2025 09:04:37 +0000 (10:04 +0100)] 
[3.14] gh-142554: avoid `divmod` crashes due to bad `_pylong.int_divmod` (GH-142673) (#142696)

gh-142554: avoid `divmod` crashes due to bad `_pylong.int_divmod` (GH-142673)
(cherry picked from commit 4e4163676add8caab2dec6cdb93e1b317cf02a2e)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
6 weeks ago[3.14] gh-142461: Move misplaced NEWS entries to an appropriate section (GH-142464...
Serhiy Storchaka [Sat, 13 Dec 2025 23:24:31 +0000 (01:24 +0200)] 
[3.14] gh-142461: Move misplaced NEWS entries to an appropriate section (GH-142464) (#142688)

(cherry picked from commit 87e152d203259784beb3e97067ce1c25ebb7a41c)

6 weeks ago[3.14] Add 'Show translation source' to docs sidebar (GH-130355) (#142686)
Miss Islington (bot) [Sat, 13 Dec 2025 23:09:03 +0000 (00:09 +0100)] 
[3.14] Add 'Show translation source' to docs sidebar (GH-130355) (#142686)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
6 weeks ago[3.14] Add missing comma to tuple in `except*` docs (GH-142395) (#142685)
Miss Islington (bot) [Sat, 13 Dec 2025 22:57:29 +0000 (23:57 +0100)] 
[3.14] Add missing comma to tuple in `except*` docs (GH-142395) (#142685)

Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com>
6 weeks ago[3.14] gh-142568: Fix eval() docs to use 'source' parameter name (GH-142644) (#142669)
Miss Islington (bot) [Sat, 13 Dec 2025 16:13:34 +0000 (17:13 +0100)] 
[3.14] gh-142568: Fix eval() docs to use 'source' parameter name (GH-142644) (#142669)

gh-142568: Fix eval() docs to use 'source' parameter name (GH-142644)
(cherry picked from commit c865ab3781e92ccc56b1729b2b751ac2769f50a0)

Co-authored-by: Joshua Ward <joshie@flewognetworks.wales>
6 weeks ago[3.14] gh-141808: Don't remove the JIT stencils when building with PGO (GH-141809...
Stan Ulbrych [Sat, 13 Dec 2025 14:15:10 +0000 (14:15 +0000)] 
[3.14] gh-141808: Don't remove the JIT stencils when building with PGO (GH-141809) (GH-142657)

See: https://discuss.python.org/t/building-the-jit-with-pre-built-stencils/91838/12
(cherry picked from commit 8914148151c957aebfaab1f3c890144d1b33968d)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
6 weeks ago[3.14] gh-142531: Fix free-threaded GC performance regression (gh-142562) (gh-142617)
Neil Schemenauer [Fri, 12 Dec 2025 22:30:20 +0000 (14:30 -0800)] 
[3.14] gh-142531: Fix free-threaded GC performance regression (gh-142562) (gh-142617)

If there are many untracked tuples, the GC will run too often, resulting
in poor performance.  The fix is to include untracked tuples in the
"long lived" object count. The number of frozen objects is also now
included since the free-threaded GC must scan those too.
(cherry picked from commit e38967ed60778146050cc88dd16b70bfd867fde7)

7 weeks ago[3.14] Doc: remove the invalid type variables of typing.TextIO and BinaryIO (GH-14264...
Miss Islington (bot) [Fri, 12 Dec 2025 19:26:34 +0000 (20:26 +0100)] 
[3.14] Doc: remove the invalid type variables of typing.TextIO and BinaryIO (GH-142642) (#142643)

They are not generic classes.
(cherry picked from commit fa1ac9070c7525cab69c043ca2259e6d86357fb3)

Co-authored-by: Roman Donchenko <rdonchen@outlook.com>
7 weeks ago[3.14] gh-141370: Fix undefined behavior when using Py_ABS() (GH-141548) (GH-142301)
Miss Islington (bot) [Fri, 12 Dec 2025 15:11:43 +0000 (16:11 +0100)] 
[3.14] gh-141370: Fix undefined behavior when using Py_ABS() (GH-141548) (GH-142301)

(cherry picked from commit 706fdda8b360120a25b272898df40c8913381723)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
7 weeks ago[3.14] gh-142353: Isolate tests from personal GNU Readline init files (GH-142370...
Miss Islington (bot) [Fri, 12 Dec 2025 15:08:08 +0000 (16:08 +0100)] 
[3.14] gh-142353: Isolate tests from personal GNU Readline init files (GH-142370) (#142634)

gh-142353: Isolate tests from personal GNU Readline init files (GH-142370)

Isolate tests from personal Readline init files using `INPUTRC=/dev/null` trick.
(cherry picked from commit f564654bae79c69e3de40dadbec2399f1423ffcf)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
7 weeks ago[3.14] gh-142627: Ignore anonymous mappings in Linux remote debugging (GH-142628...
Miss Islington (bot) [Fri, 12 Dec 2025 13:38:09 +0000 (14:38 +0100)] 
[3.14] gh-142627: Ignore anonymous mappings in Linux remote debugging (GH-142628) (#142630)

gh-142627: Ignore anonymous mappings in Linux remote debugging (GH-142628)
(cherry picked from commit e0bca091a4f112b9f0beb4ce19dfac2a7fc50342)

Co-authored-by: Victor Stinner <vstinner@python.org>
7 weeks ago[3.14] gh-142571: Check for errors before calling each syscall in `PyUnstable_CopyPer...
Miss Islington (bot) [Thu, 11 Dec 2025 22:13:36 +0000 (23:13 +0100)] 
[3.14] gh-142571: Check for errors before calling each syscall in `PyUnstable_CopyPerfMapFile()` (GH-142460) (#142600)

Co-authored-by: AZero13 <gfunni234@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
7 weeks ago[3.14] gh-142534: Avoid TSan warnings in dictobject.c (gh-142544) (gh-142603)
Miss Islington (bot) [Thu, 11 Dec 2025 21:51:02 +0000 (22:51 +0100)] 
[3.14] gh-142534: Avoid TSan warnings in dictobject.c (gh-142544) (gh-142603)

There are places we use "relaxed" loads where C11 requires "consume" or
stronger. Unfortunately, compilers don't really implement "consume" so
fake it for our use in a way that avoids upsetting TSan.
(cherry picked from commit 0a62f8277e9a0dd9f34b0b070adb83994e81b2a8)

Co-authored-by: Sam Gross <colesbury@gmail.com>
7 weeks ago[3.14] gh-142589: Fix PyUnstable_Object_IsUniqueReferencedTemporary (gh-142593) ...
Sam Gross [Thu, 11 Dec 2025 20:08:45 +0000 (15:08 -0500)] 
[3.14] gh-142589: Fix PyUnstable_Object_IsUniqueReferencedTemporary (gh-142593) (#142597)

PyUnstable_Object_IsUniqueReferencedTemporary wasn't handling tagged
ints on the evaluation stack properly.
(cherry picked from commit a26c831bc486b6e607cee6a5923bad52b97c2341)

7 weeks ago[3.14] gh-123241: Don't modify ref count during visitation (GH-142232) (#142567)
Petr Viktorin [Thu, 11 Dec 2025 18:51:11 +0000 (19:51 +0100)] 
[3.14] gh-123241: Don't modify ref count during visitation (GH-142232) (#142567)

(cherry picked from commit da8199f8842c2830fa4015138725849863523de4)

Co-authored-by: Dino Viehland <dinoviehland@meta.com>
7 weeks ago[3.14] Use subcommand over sub-command in argparse docs (GH-142488) (#142587)
Miss Islington (bot) [Thu, 11 Dec 2025 17:48:26 +0000 (18:48 +0100)] 
[3.14] Use subcommand over sub-command in argparse docs (GH-142488) (#142587)

Use subcommand over sub-command in argparse docs (GH-142488)
(cherry picked from commit 387f88cac1e911672f6321f4fbb0a3af9710626d)

Co-authored-by: Savannah Ostrowski <savannah@python.org>
7 weeks ago[3.14] Fix os.posix_spawn() error handling (GH-142532) (#142582)
Miss Islington (bot) [Thu, 11 Dec 2025 17:32:11 +0000 (18:32 +0100)] 
[3.14] Fix os.posix_spawn() error handling (GH-142532) (#142582)

Fix os.posix_spawn() error handling (GH-142532)

Consistently use `goto exit;` in `py_posix_spawn()`.
(cherry picked from commit 8cfa351560487d472df4c7d841814801fbf57397)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
7 weeks ago[3.14] gh-142556: fix crash when a task gets re-registered during finalization in...
Miss Islington (bot) [Thu, 11 Dec 2025 10:00:44 +0000 (11:00 +0100)] 
[3.14] gh-142556: fix crash when a task gets re-registered during finalization in `asyncio` (GH-142565) (#142566)

gh-142556: fix crash when a task gets re-registered during finalization in `asyncio` (GH-142565)
(cherry picked from commit 42d2bedb875f42f0580ee2cfb4bd80a5a229bbd4)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
7 weeks ago[3.14] gh-142278: Add granular change detection for platforms in CI (GH-142350) ...
Stan Ulbrych [Thu, 11 Dec 2025 07:16:13 +0000 (07:16 +0000)] 
[3.14] gh-142278: Add granular change detection for platforms in CI (GH-142350) (#142537)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
7 weeks ago[3.14] GH-139436: Remove PDF and CHM from IDLE HelpSource (GH-140418) (#142552)
Miss Islington (bot) [Thu, 11 Dec 2025 02:18:36 +0000 (03:18 +0100)] 
[3.14] GH-139436: Remove PDF and CHM from IDLE HelpSource (GH-140418) (#142552)

GH-139436: Remove PDF and CHM from IDLE HelpSource (GH-140418)
(cherry picked from commit c5825ff4c9e26e17224c466db6b3bd49d44c26e0)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
7 weeks agogh-140172: Skip JSON tools test during PGO training (GH-140809)
Miss Islington (bot) [Thu, 11 Dec 2025 01:01:59 +0000 (02:01 +0100)] 
gh-140172: Skip JSON tools test during PGO training (GH-140809)

(cherry picked from commit fa448451abfabe7dbc969ef6468bedc4a8b8ecaf)

Co-authored-by: Steve Dower <steve.dower@python.org>
7 weeks ago[3.14] gh-137007: Track executor before any possible deallocations (GH-137016) (GH...
Miss Islington (bot) [Wed, 10 Dec 2025 22:54:28 +0000 (23:54 +0100)] 
[3.14] gh-137007: Track executor before any possible deallocations (GH-137016) (GH-142541)

gh-137007: Track executor before any possible deallocations (GH-137016)
(cherry picked from commit 97e19014ddc652beae58e7eceb591f5d65a875e6)

Co-authored-by: Ken Jin <kenjin@python.org>
7 weeks ago[3.14] gh-142489: Increase ssl_handshake_timeout in asyncio tests (GH-142523) (#142545)
Miss Islington (bot) [Wed, 10 Dec 2025 22:46:35 +0000 (23:46 +0100)] 
[3.14] gh-142489: Increase ssl_handshake_timeout in asyncio tests (GH-142523) (#142545)

gh-142489: Increase ssl_handshake_timeout in asyncio tests (GH-142523)

Replace SHORT_TIMEOUT with LONG_TIMEOUT for very slow CIs.
And add the HANDSHAKE_TIMEOUT constant.
(cherry picked from commit dc3ece2bc06d56c21ef81f86424b4598880ba1c8)

Co-authored-by: Victor Stinner <vstinner@python.org>
7 weeks ago[3.14] [Docs] Fix typo in bdb: `is_skipped_line` to `is_skipped_module` (GH-141771...
Miss Islington (bot) [Wed, 10 Dec 2025 22:46:18 +0000 (23:46 +0100)] 
[3.14] [Docs] Fix typo in bdb: `is_skipped_line` to `is_skipped_module` (GH-141771) (#142547)

[Docs] Fix typo in bdb: `is_skipped_line` to `is_skipped_module` (GH-141771)
(cherry picked from commit e5adaafc52060ece7232ee074a7133b78fe01f9e)

Co-authored-by: Guo Ci <zguoci@gmail.com>
7 weeks ago[3.14] gh-139927: Fix test_embed on OpenIndiana (GH-142514) (#142520)
Miss Islington (bot) [Wed, 10 Dec 2025 16:41:12 +0000 (17:41 +0100)] 
[3.14] gh-139927: Fix test_embed on OpenIndiana (GH-142514) (#142520)

gh-139927: Fix test_embed on OpenIndiana (GH-142514)

Avoid swprintf() function in Programs/_testembed.c since it doesn't
work as expected on OpenIndiana.
(cherry picked from commit c76cfe8d89c5f44b6a012d24c0e14b45eab16b90)

Co-authored-by: Victor Stinner <vstinner@python.org>
7 weeks ago[3.14] gh-142433: Move deref to below the error when checking for laststring (GH...
Miss Islington (bot) [Wed, 10 Dec 2025 16:07:59 +0000 (17:07 +0100)] 
[3.14] gh-142433: Move deref to below the error when checking for laststring (GH-142402) (#142524)

gh-142433: Move deref to below the error when checking for laststring (GH-142402)

Move deref of laststring to below the error checking so the deref
is applied after the object in strings is replaced.
(cherry picked from commit 785268fdceb0d0fe217aed1d6e43e0231c0e50c3)

Co-authored-by: AZero13 <gfunni234@gmail.com>
7 weeks ago[3.14] gh-142048: Fix lost gc allocations count on thread cleanup (GH-142233) (#142504)
Miss Islington (bot) [Wed, 10 Dec 2025 10:52:55 +0000 (11:52 +0100)] 
[3.14] gh-142048: Fix lost gc allocations count on thread cleanup (GH-142233) (#142504)

gh-142048: Fix lost gc allocations count on thread cleanup (GH-142233)
(cherry picked from commit 49b1fb43f65290dadeb83ed6f7c0c74995fda7a1)

Co-authored-by: Kevin Wang <kevmo314@gmail.com>
7 weeks agoUpdates to PyManager docs based on feedback. (GH-142473)
Miss Islington (bot) [Tue, 9 Dec 2025 23:13:26 +0000 (00:13 +0100)] 
Updates to PyManager docs based on feedback. (GH-142473)

(cherry picked from commit 37fe9a90c5f99fd3830bb3c86e745ba16edf4723)

Co-authored-by: Steve Dower <steve.dower@python.org>
7 weeks ago[3.14] gh-140189: Use macos-14 runner for iOS CI tests (GH-142444) (#142494)
Miss Islington (bot) [Tue, 9 Dec 2025 22:44:15 +0000 (23:44 +0100)] 
[3.14] gh-140189: Use macos-14 runner for iOS CI tests (GH-142444) (#142494)

Switch to the macos-14 runner for iOS CI, working around some instability
in the macos-15 runner.
(cherry picked from commit 91884838bc3c47e02ab6099e6f9b12d80a0abae2)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
7 weeks ago[3.14] gh-142454: Make the JIT digest more deterministic by sorting the files in...
Miss Islington (bot) [Tue, 9 Dec 2025 18:50:53 +0000 (19:50 +0100)] 
[3.14] gh-142454: Make the JIT digest more deterministic by sorting the files in Tools/jit (GH-142455) (#142485)

gh-142454: Make the JIT digest more deterministic by sorting the files in Tools/jit (GH-142455)
(cherry picked from commit bcf90de8ba2ea087540a5f632656ef880ee46b5c)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
Co-authored-by: Ken Jin <kenjin4096@gmail.com>
7 weeks ago[3.14] gh-138061: Exclude __pycache__ directory from the computed digest in the...
Miss Islington (bot) [Tue, 9 Dec 2025 18:18:14 +0000 (19:18 +0100)] 
[3.14] gh-138061: Exclude __pycache__ directory  from the computed digest in the JIT stencils (GH-138131) (#142482)

Co-authored-by: alm <alonme@users.noreply.github.com>
7 weeks ago[3.14] gh-112527: Fix help text for required options in argparse (GH-112528) (GH...
Serhiy Storchaka [Tue, 9 Dec 2025 17:35:49 +0000 (19:35 +0200)] 
[3.14] gh-112527: Fix help text for required options in argparse (GH-112528) (GH-142475)

For optional arguments with required=True, the ArgumentDefaultsHelpFormatter
would always add a " (default: None)" to the end of the help text.
Since that's a bit misleading, it is removed with this commit.
(cherry picked from commit 1adb17b1a26e1547d14ca15f915e605cfdda3edd)

Co-authored-by: Fabian Henze <32638720+henzef@users.noreply.github.com>
7 weeks ago[3.14] GH-139946: Document argparse includes color codes when redirecting to stderr...
Savannah Ostrowski [Tue, 9 Dec 2025 17:22:26 +0000 (09:22 -0800)] 
[3.14] GH-139946: Document argparse includes color codes when redirecting to stderr to file (#142398)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
7 weeks ago[3.14] gh-140222: Increase stack margin on debug build (GH-142452) (#142471)
Miss Islington (bot) [Tue, 9 Dec 2025 15:59:42 +0000 (16:59 +0100)] 
[3.14] gh-140222: Increase stack margin on debug build (GH-142452) (#142471)

gh-140222: Increase stack margin on debug build (GH-142452)

Increase _PyOS_MIN_STACK_SIZE if Python is built in debug mode.
(cherry picked from commit 49207a522627718a19886386ec2a7ce957437d08)

Co-authored-by: Victor Stinner <vstinner@python.org>
7 weeks ago[3.14] gh-105836: Fix `asyncio.run_coroutine_threadsafe` leaving underlying cancelled...
Miss Islington (bot) [Tue, 9 Dec 2025 14:46:05 +0000 (15:46 +0100)] 
[3.14] gh-105836: Fix `asyncio.run_coroutine_threadsafe` leaving underlying cancelled asyncio task running (GH-141696) (#142358)

gh-105836: Fix `asyncio.run_coroutine_threadsafe` leaving underlying cancelled asyncio task running (GH-141696)
(cherry picked from commit 14715e3a64a674629c781d4a3dd11143ba010990)

Co-authored-by: Kaisheng Xu <iaalmsimon@gmail.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
7 weeks ago[3.14] gh-142342: Fix m68k assembler operand constraints for `%fpcr` access (gh-14234...
Miss Islington (bot) [Tue, 9 Dec 2025 14:13:31 +0000 (15:13 +0100)] 
[3.14] gh-142342: Fix m68k assembler operand constraints for `%fpcr` access (gh-142343) (#142458)

On m68k, an fmove instruction accessing %fpcr may only move from
or to a data register or a memory operand. The constraint "g" also
permits the use of address registers, which is invalid. The correct
constraint is "dm". Beginning with GCC 15, the register allocator
picks an address register in the code which causes SIGILL during
runtime.
(cherry picked from commit 02c085d48b59c00fb7f4454fb13933e1c2c0b01a)

Co-authored-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Co-authored-by: Michael Karcher <github@mkarcher.dialup.fu-berlin.de>
7 weeks ago[3.14] gh-142282 Fix winreg.QueryValueEx() under race condition (GH-142283) (GH-142453)
Miss Islington (bot) [Tue, 9 Dec 2025 12:33:35 +0000 (13:33 +0100)] 
[3.14] gh-142282 Fix winreg.QueryValueEx() under race condition (GH-142283) (GH-142453)

(cherry picked from commit 3ec941b364778bce4fac6c6100730e120b426849)

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
7 weeks ago[3.14] gh-68552: fix defects policy (GH-138579) (#142366)
Miss Islington (bot) [Tue, 9 Dec 2025 07:39:01 +0000 (08:39 +0100)] 
[3.14] gh-68552: fix defects policy  (GH-138579) (#142366)

Co-authored-by: Ivo Bellin Salarin <nilleb@users.noreply.github.com>
Co-authored-by: Martin Panter <vadmium@users.noreply.github.com>
Co-authored-by: Ivo Bellin Salarin <ivo@nilleb.com>
7 weeks ago[3.14] gh-133932: Tagged ints are heap-safe (free threading) (gh-142431)
Sam Gross [Mon, 8 Dec 2025 23:16:28 +0000 (18:16 -0500)] 
[3.14] gh-133932: Tagged ints are heap-safe (free threading) (gh-142431)

The previous fix (gh-134494) didn't fix the free threading build.

7 weeks ago[3.14] Fix typo in `Tools/wasm/README.md` (GH-142426) (GH-142429)
Miss Islington (bot) [Mon, 8 Dec 2025 20:54:24 +0000 (21:54 +0100)] 
[3.14] Fix typo in `Tools/wasm/README.md` (GH-142426) (GH-142429)

Fix typo in `Tools/wasm/README.md` (GH-142426)
(cherry picked from commit 719d7960e2b55ab8310df3d9d69b7c9df3283fbf)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
7 weeks ago[3.14] gh-123241: Document restrictions for `tp_traverse` implementations (gh-142272...
Miss Islington (bot) [Mon, 8 Dec 2025 17:27:57 +0000 (18:27 +0100)] 
[3.14] gh-123241: Document restrictions for `tp_traverse` implementations (gh-142272) (#142423)

(cherry picked from commit 37988c57ea244b0ed2f969e9c6039710dfe8f31d)

Co-authored-by: Sam Gross <colesbury@gmail.com>
7 weeks ago[3.14] gh-140125: Increase object recursion depth for `test_json` from 200k to 500k...
Miss Islington (bot) [Mon, 8 Dec 2025 13:31:56 +0000 (14:31 +0100)] 
[3.14] gh-140125: Increase object recursion depth for `test_json` from 200k to 500k (GH-142226) (#142416)

gh-140125: Increase object recursion depth for `test_json` from 200k to 500k (GH-142226)
(cherry picked from commit e3539e99e3642ceea2330b3f78a6e9fa8ac3da64)

Co-authored-by: Zanie Blue <contact@zanie.dev>
Co-authored-by: Victor Stinner <vstinner@python.org>
7 weeks ago[3.14] gh-141794: Reduce size of compiler stress tests to fix Android warnings (GH...
Miss Islington (bot) [Mon, 8 Dec 2025 07:58:21 +0000 (08:58 +0100)] 
[3.14] gh-141794: Reduce size of compiler stress tests to fix Android warnings (GH-142263) (#142386)

gh-141794: Reduce size of compiler stress tests to fix Android warnings (GH-142263)
(cherry picked from commit f193c8fe9e1d722c9a7f9a2b15f8f1b913755491)

Co-authored-by: Malcolm Smith <smith@chaquo.com>