]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
11 days ago[3.14] gh-141004: Document `PyOS_InterruptOccurred` (GH-141526) (GH-141549)
Miss Islington (bot) [Fri, 14 Nov 2025 11:26:37 +0000 (12:26 +0100)] 
[3.14] gh-141004: Document `PyOS_InterruptOccurred` (GH-141526) (GH-141549)

gh-141004: Document `PyOS_InterruptOccurred` (GH-141526)
(cherry picked from commit ef90261be508b97d682589aac8f00065a9585683)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
11 days ago[3.14] gh-137969: Fix double evaluation of `ForwardRef`s which rely on globals (GH...
Miss Islington (bot) [Thu, 13 Nov 2025 21:26:58 +0000 (22:26 +0100)] 
[3.14] gh-137969: Fix double evaluation of `ForwardRef`s which rely on globals (GH-140974) (#141527)

gh-137969: Fix double evaluation of `ForwardRef`s which rely on globals (GH-140974)
(cherry picked from commit 209eaff68c3b241c01aece14182cb9ced51526fc)

Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com>
11 days ago[3.14] gh-140104: Set next_instr properly in the JIT during exceptions (GH-140233...
Mikhail Efimov [Thu, 13 Nov 2025 18:47:25 +0000 (21:47 +0300)] 
[3.14] gh-140104: Set next_instr properly in the JIT during exceptions (GH-140233) (GH-141495)

12 days ago[3.14] gh-141004: Document `PyErr_RangedSyntaxLocationObject` (GH-141521) (#141525)
Miss Islington (bot) [Thu, 13 Nov 2025 18:05:09 +0000 (19:05 +0100)] 
[3.14] gh-141004: Document `PyErr_RangedSyntaxLocationObject` (GH-141521) (#141525)

gh-141004: Document `PyErr_RangedSyntaxLocationObject` (GH-141521)

PyErr_RangedSyntaxLocationObject
(cherry picked from commit 196f1519cd2d8134d7643536f13f2b2844bea65d)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
12 days ago[3.14] gh-140936: Fix JIT assertion crash at finalization if some generator is alive...
Mikhail Efimov [Thu, 13 Nov 2025 16:11:57 +0000 (19:11 +0300)] 
[3.14] gh-140936: Fix JIT assertion crash at finalization if some generator is alive (GH-140969) (GH-141494)

gh-140936: Fix JIT assertion crash at finalization if some generator is alive (GH-140969)

12 days ago[3.14] gh-141004: Document `PyCode_Optimize` (GH-141378) (GH-141514)
Miss Islington (bot) [Thu, 13 Nov 2025 15:15:27 +0000 (16:15 +0100)] 
[3.14] gh-141004: Document `PyCode_Optimize` (GH-141378) (GH-141514)

gh-141004: Document `PyCode_Optimize` (GH-141378)
(cherry picked from commit d7862e9b1bd8f82e41c4f2c4dad31e15707d856f)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
12 days ago[3.14] gh-141004: Document C APIs for dictionary keys, values, and items (GH-141009...
Miss Islington (bot) [Thu, 13 Nov 2025 15:08:35 +0000 (16:08 +0100)] 
[3.14] gh-141004: Document C APIs for dictionary keys, values, and items (GH-141009) (GH-141512)

gh-141004: Document C APIs for dictionary keys, values, and items (GH-141009)
(cherry picked from commit f72768f30e6ed9253eb3b6374b4395dfcaf4842a)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
12 days ago[3.14] gh-140748: socket_helper.transient_internet: Unwrap UrlError.__cause__ (GH...
Miss Islington (bot) [Thu, 13 Nov 2025 12:58:37 +0000 (13:58 +0100)] 
[3.14] gh-140748: socket_helper.transient_internet: Unwrap UrlError.__cause__ (GH-140749) (GH-141505)

(cherry picked from commit 75a1cbdd38b142b359849eae16a2ecc12f6b3881)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
12 days ago[3.14] gh-140601: Refactor ElementTree.iterparse() tests (GH-141499) (GH-141502)
Miss Islington (bot) [Thu, 13 Nov 2025 12:03:09 +0000 (13:03 +0100)] 
[3.14] gh-140601: Refactor ElementTree.iterparse() tests (GH-141499) (GH-141502)

Split existing tests on smaller methods and move them to separate class.
Rename variable "content" to "it".
Use BytesIO instead of StringIO.
Add few more tests.
(cherry picked from commit 2fbd39666663cb5ca1c0e3021ce2e7bc72331020)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
12 days ago[3.14] gh-140260: fix data race in `_struct` module initialization with subinterprete...
Miss Islington (bot) [Thu, 13 Nov 2025 11:53:22 +0000 (12:53 +0100)] 
[3.14] gh-140260: fix data race in `_struct` module initialization with subinterpreters (GH-140909) (#141501)

gh-140260: fix data race in `_struct` module initialization with subinterpreters (GH-140909)
(cherry picked from commit 63548b36998e7f7cd5c7c28b53b348a93f836737)

Co-authored-by: Shamil <ashm.tech@proton.me>
12 days ago[3.14] gh-103847: fix cancellation safety of `asyncio.create_subprocess_exec` (GH...
Miss Islington (bot) [Thu, 13 Nov 2025 11:33:04 +0000 (12:33 +0100)] 
[3.14] gh-103847: fix cancellation safety of `asyncio.create_subprocess_exec` (GH-140805) (#141446)

gh-103847: fix cancellation safety of `asyncio.create_subprocess_exec` (GH-140805)
(cherry picked from commit ef474cfafbdf3aa383fb1334a7ab95cef9834ced)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
12 days ago[3.14] gh-141004: Document `PyRun_InteractiveOneObject` (GH-141405) (GH-141485)
Miss Islington (bot) [Wed, 12 Nov 2025 22:58:52 +0000 (23:58 +0100)] 
[3.14] gh-141004: Document `PyRun_InteractiveOneObject` (GH-141405) (GH-141485)

gh-141004: Document `PyRun_InteractiveOneObject` (GH-141405)
(cherry picked from commit 26b7df2430cd5a9ee772bfa6ee03a73bd0b11619)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
12 days ago[3.14] gh-124111: Fix TCL 9 thread detection (GH-141482)
Miss Islington (bot) [Wed, 12 Nov 2025 22:43:31 +0000 (23:43 +0100)] 
[3.14] gh-124111: Fix TCL 9 thread detection (GH-141482)

(cherry picked from commit dc0987080ed66c662e8e0b24cdb8c179817bd697)

Co-authored-by: Michael Cho <michael@michaelcho.dev>
12 days ago[3.14] gh-141442: Add escaping to iOS testbed arguments (GH-141443) (#141479)
Miss Islington (bot) [Wed, 12 Nov 2025 22:15:34 +0000 (23:15 +0100)] 
[3.14] gh-141442: Add escaping to iOS testbed arguments (GH-141443) (#141479)

Xcode concatenates the test argument array, losing quoting in the process.
(cherry picked from commit 558936bec1f1e0f8346063a8cb2b2782d085178e)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
13 days ago[3.14] gh-141412: Use reliable target URL for urllib example (GH-141474)
Miss Islington (bot) [Wed, 12 Nov 2025 18:40:20 +0000 (19:40 +0100)] 
[3.14] gh-141412: Use reliable target URL for urllib example (GH-141474)

The endpoint used for demonstrating reading URLs is no longer
stable. This change substitutes a target over which we have more
control.
(cherry picked from commit fbcac799518e0cb29fcf5f84ed1fa001010b9073)

Co-authored-by: Bob Kline <bkline@users.noreply.github.com>
13 days ago[3.14] gh-141004: Document `Py_MATH_{E, PI, TAU}` constants (GH-141373) (#141471)
Miss Islington (bot) [Wed, 12 Nov 2025 17:02:38 +0000 (18:02 +0100)] 
[3.14] gh-141004: Document `Py_MATH_{E, PI, TAU}` constants (GH-141373) (#141471)

gh-141004: Document `Py_MATH_{E, PI, TAU}` constants (GH-141373)
(cherry picked from commit f1330b35b8eb43904dfed0656acde80c08d63176)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
13 days ago[3.14] gh-141004: Document `PyType_SUPPORTS_WEAKREFS` (GH-141408) (GH-141470)
Miss Islington (bot) [Wed, 12 Nov 2025 16:44:17 +0000 (17:44 +0100)] 
[3.14] gh-141004: Document `PyType_SUPPORTS_WEAKREFS` (GH-141408) (GH-141470)

gh-141004: Document `PyType_SUPPORTS_WEAKREFS` (GH-141408)
(cherry picked from commit 9cd5427d9619b96db20d0347a136b3d331af71ae)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
13 days ago[3.14] gh-132657: add regression test for `PySet_Contains` with unhashable type ...
Miss Islington (bot) [Wed, 12 Nov 2025 15:49:09 +0000 (16:49 +0100)] 
[3.14] gh-132657: add regression test for `PySet_Contains` with unhashable type (GH-141411) (#141468)

gh-132657: add regression test for `PySet_Contains` with unhashable type (GH-141411)
(cherry picked from commit 2ac738d325a6934e39fecb097f43d4d4ed97a2b9)

Co-authored-by: M Bussonnier <bussonniermatthias@gmail.com>
13 days ago[3.14] gh-141314: Fix TextIOWrapper.tell() assertion failure with standalone carriage...
Mohsin Mehmood [Wed, 12 Nov 2025 10:40:02 +0000 (15:40 +0500)] 
[3.14] gh-141314: Fix TextIOWrapper.tell() assertion failure with standalone carriage return (GH-141331) (GH-141453)

The assertion was checking wrong variable (skip_back vs skip_bytes).
(cherry picked from commit af80fac42548719ede7241bfbab3c2c0775b4760)

13 days ago[3.14] gh-141042: fix sNaN's packing for mixed floating-point formats (GH-141107...
Miss Islington (bot) [Wed, 12 Nov 2025 10:33:34 +0000 (11:33 +0100)] 
[3.14] gh-141042: fix sNaN's packing for mixed floating-point formats (GH-141107) (#141459)

gh-141042: fix sNaN's packing for mixed floating-point formats (GH-141107)
(cherry picked from commit 23d85a2a3fb029172ea15c6e596f64f8c2868ed3)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
13 days ago[3.14] gh-141311: Avoid assertion in BytesIO.readinto() (GH-141333) (GH-141457)
Miss Islington (bot) [Wed, 12 Nov 2025 10:23:26 +0000 (11:23 +0100)] 
[3.14] gh-141311: Avoid assertion in BytesIO.readinto() (GH-141333) (GH-141457)

Fix error in assertion which causes failure if pos is equal to PY_SSIZE_T_MAX.
Fix undefined behavior in read() and readinto() if pos is larger that the size
of the underlying buffer.
(cherry picked from commit 7d54374f9c7d91e0ef90c4ad84baf10073cf1d8a)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
13 days ago[3.14] gh-141370: document undefined behavior of Py_ABS() (GH-141439) (GH-141454)
Miss Islington (bot) [Wed, 12 Nov 2025 09:56:47 +0000 (10:56 +0100)] 
[3.14] gh-141370: document undefined behavior of Py_ABS() (GH-141439) (GH-141454)

(cherry picked from commit 20f53df07d42c495a08c73a3d54b8dd9098a62f0)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
13 days ago[3.14] gh-141004: Document `PyBytes_Repr` and `PyBytes_DecodeEscape` (GH-141407)...
Peter Bierma [Wed, 12 Nov 2025 02:06:36 +0000 (21:06 -0500)] 
[3.14] gh-141004: Document `PyBytes_Repr` and `PyBytes_DecodeEscape` (GH-141407) (GH-141440)

* gh-141004: Document `PyBytes_Repr` and `PyBytes_DecodeEscape` (GH-141407)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
(cherry picked from commit 37e2762ee12c2d7fc465938d7161a9a0640bd71f)

13 days ago[3.14] GH-137618: Require Python 3.10 to Python 3.15 for PYTHON_FOR_REGEN (GH-137619...
Miss Islington (bot) [Wed, 12 Nov 2025 01:33:49 +0000 (02:33 +0100)] 
[3.14] GH-137618: Require Python 3.10 to Python 3.15 for PYTHON_FOR_REGEN (GH-137619) (#141437)

GH-137618: Require Python 3.10 to Python 3.15 for PYTHON_FOR_REGEN (GH-137619)

* Require Python 3.11 to Python 3.15 for PYTHON_FOR_REGEN

* NEWS

* keep allowing python 3.10

---------
(cherry picked from commit 9ce99c6c1901705238e4cb3ce81eb6f499e7b4f4)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
13 days ago[3.14] gh-138621: Increase test coverage for csv.DictReader and csv.Sniffer (GH-13862...
Miss Islington (bot) [Wed, 12 Nov 2025 00:58:15 +0000 (01:58 +0100)] 
[3.14] gh-138621: Increase test coverage for csv.DictReader and csv.Sniffer (GH-138622) (#141436)

gh-138621: Increase test coverage for csv.DictReader and csv.Sniffer (GH-138622)

* Increase test coverage for csv.DictReader and csv.Sniffer

Previously there were no tests for the DictReader fieldnames
setter, the case where a StopIteration was encountered when trying
to determine the fieldnames from the content or the case where
Sniffer could not find a delimiter.

* Revert whitespace change to comment

* Add a test that csv.Sniffer.has_header checks up to 20 rows

* Replace name and age with letter and offset

* Address review comment

---------
(cherry picked from commit 0e88be6f55f35ab045e57f9f869b893c15dcc099)

Co-authored-by: Jan-Eric Nitschke <47750513+JanEricNitschke@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
13 days ago[3.14] gh-137952: update `csv.Sniffer().has_header()` docs to describe the actual...
Miss Islington (bot) [Wed, 12 Nov 2025 00:13:10 +0000 (01:13 +0100)] 
[3.14] gh-137952: update `csv.Sniffer().has_header()` docs to describe the actual off-by-onish behavior (GH-137953) (#141434)

gh-137952: update `csv.Sniffer().has_header()` docs to describe the actual off-by-onish behavior (GH-137953)

* checks 21, not 20
* Say "header" instead of "first row" to disambiguate per review.

---------
(cherry picked from commit 0d7b48a8f5de5c1c6d57e1cf7194b6fb222d92e5)

Co-authored-by: Maurycy Pawłowski-Wieroński <maurycy@maurycy.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
13 days ago[3.14] gh-138775: fix handle `python -m base64` stdin correct with EOF signal (GH...
Miss Islington (bot) [Wed, 12 Nov 2025 00:12:57 +0000 (01:12 +0100)] 
[3.14] gh-138775: fix handle `python -m base64` stdin correct with EOF signal (GH-138776) (#141432)

gh-138775: fix handle `python -m base64` stdin correct with EOF signal (GH-138776)

* fix: handle  stdin correct with EOF single.
* fix: flollow the comments when pipe stdin use buffer
* Apply suggestions from code review
* fix: apply review comments in Lib/base64.py
* fix: address comments
* Reword comment and NEWS entry.

---------
(cherry picked from commit f5c2a41f9a6b3be95c5be9dbae0a4a3342d356dc)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: yihong <zouzou0208@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
13 days ago[3.14] gh-141004: Document `PyFile_OpenCode` and `PyFile_OpenCodeObject` (GH-141413...
Miss Islington (bot) [Tue, 11 Nov 2025 21:48:29 +0000 (22:48 +0100)] 
[3.14] gh-141004: Document `PyFile_OpenCode` and `PyFile_OpenCodeObject` (GH-141413) (GH-141425)

gh-141004: Document `PyFile_OpenCode` and `PyFile_OpenCodeObject` (GH-141413)
(cherry picked from commit 2befce86e699fdbb6610949b029bad56a0d0780f)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
13 days agoAdd documentation for Python install manager's install_dir, global_dir and download_d...
Miss Islington (bot) [Tue, 11 Nov 2025 20:08:52 +0000 (21:08 +0100)] 
Add documentation for Python install manager's install_dir, global_dir and download_dir (GH-140223)

(cherry picked from commit 336154f4b0dbcf1d9dbb461ae962d558ba60f452)

Co-authored-by: Steve Dower <steve.dower@python.org>
13 days ago[3.14] gh-140193: Forward port test_exec_set_nomemory_hang from 3.13 (GH-140187)...
Miss Islington (bot) [Tue, 11 Nov 2025 19:53:31 +0000 (20:53 +0100)] 
[3.14] gh-140193: Forward port test_exec_set_nomemory_hang from 3.13 (GH-140187) (#141420)

gh-140193: Forward port test_exec_set_nomemory_hang from 3.13 (GH-140187)

* chore: test_exec_set_nomemory_hang from 3.13
* fix: apply comments
* Update Lib/test/test_exceptions.py
* Update Lib/test/test_exceptions.py
* fix: windows too long name 60 times is enough

---------
(cherry picked from commit 0f09bda643d778fb20fb79fecdfd09f20f9d9717)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: yihong <zouzou0208@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
13 days ago[3.14] gh-139533: fix refs to code without proper markups on turtledemo doc (GH-13953...
Miss Islington (bot) [Tue, 11 Nov 2025 19:42:13 +0000 (20:42 +0100)] 
[3.14] gh-139533: fix refs to code without proper markups on turtledemo doc (GH-139534) (#141421)

gh-139533: fix refs to code without proper markups on turtledemo doc (GH-139534)
(cherry picked from commit c903d768322989e9f8ba79e38ee87e14c85c5430)

gh-139533: fix refs to code without proper markups on turtledemo documentation

Co-authored-by: Marco Barbosa <aureliobarbosa@gmail.com>
2 weeks ago[3.14] gh-141004: Document `PyType_Unwatch` (GH-141414) (GH-141418)
Miss Islington (bot) [Tue, 11 Nov 2025 17:28:14 +0000 (18:28 +0100)] 
[3.14] gh-141004: Document `PyType_Unwatch` (GH-141414) (GH-141418)

gh-141004: Document `PyType_Unwatch` (GH-141414)
(cherry picked from commit 759a048d4bea522fda2fe929be0fba1650c62b0e)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.14] gh-141004: document Py_INFINITY and Py_NAN macros (GH-141145) (#141399)
Sergey B Kirpichev [Tue, 11 Nov 2025 13:52:37 +0000 (16:52 +0300)] 
[3.14] gh-141004: document Py_INFINITY and Py_NAN macros (GH-141145) (#141399)

(cherry picked from commit d69447445cbacf7537bf59c5c683a3b17060312d)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-140379: add hyperlinks to list and set (GH-140399) (#141386)
Miss Islington (bot) [Tue, 11 Nov 2025 06:08:45 +0000 (07:08 +0100)] 
[3.14] gh-140379: add hyperlinks to list and set (GH-140399) (#141386)

gh-140379: add hyperlinks to list and set (GH-140399)

add hyperlinks to list and set
(cherry picked from commit 92741c59f89e114474bdb2cb539107ef6bae0b9c)

Co-authored-by: Krishna Chaitanya <141550576+XChaitanyaX@users.noreply.github.com>
2 weeks ago[3.14] gh-140485: Catch ChildProcessError in multiprocessing resource tracker (GH...
Miss Islington (bot) [Tue, 11 Nov 2025 05:24:24 +0000 (06:24 +0100)] 
[3.14] gh-140485: Catch ChildProcessError in multiprocessing resource tracker (GH-141132) (#141384)

gh-140485: Catch ChildProcessError in multiprocessing resource tracker (GH-141132)
(cherry picked from commit 9cb8c52d5e9a83efe4fa3878db06befd9df52f54)

Co-authored-by: Victor Stinner <vstinner@python.org>
2 weeks ago[3.14] gh-140578: Doc: Remove sencence implying that concurrent.futures.ThreadPoolExe...
Miss Islington (bot) [Tue, 11 Nov 2025 04:56:07 +0000 (05:56 +0100)] 
[3.14] gh-140578: Doc: Remove sencence implying that concurrent.futures.ThreadPoolExecutor does not exist (GH-140689) (#141382)

gh-140578: Doc: Remove sencence implying that concurrent.futures.ThreadPoolExecutor does not exist (GH-140689)

* Doc: Remove sencence implying that concurrent.futures.ThreadPoolExecutor does not exist

Closes GH-140578

* Add NEWS.d entry for gh-140578

---------
(cherry picked from commit 46b58e1bb9e1e17d855588935f5a259be960a3a1)

Co-authored-by: Louis <paternal@users.noreply.github.com>
Co-authored-by: Louis Paternault <spalax@gresille.org>
2 weeks ago[3.14] gh-141174: Improve `annotationlib._Stringifier` test coverage (GH-141220)...
Miss Islington (bot) [Mon, 10 Nov 2025 21:44:05 +0000 (22:44 +0100)] 
[3.14] gh-141174: Improve `annotationlib._Stringifier` test coverage (GH-141220) (#141358)

gh-141174: Improve `annotationlib._Stringifier` test coverage (GH-141220)

* Test `_Stringifier.__convert_to_ast()` for containers

* Test partial evaluation of `ForwardRef`s in `_Stringifier`
(cherry picked from commit 55ea13231313a2133e6f5a6112409d349081f273)

Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com>
2 weeks ago[3.14] gh-141004: Document missing frame APIs (GH-141189) (GH-141379)
Miss Islington (bot) [Mon, 10 Nov 2025 21:42:10 +0000 (22:42 +0100)] 
[3.14] gh-141004: Document missing frame APIs (GH-141189) (GH-141379)

gh-141004: Document missing frame APIs (GH-141189)
(cherry picked from commit 86513f6c2ebdd1fb692c39b84786ea41d88c84fd)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-141004: Document `PyType_FastSubclass` (GH-141313) (GH-141368)
Miss Islington (bot) [Mon, 10 Nov 2025 17:52:15 +0000 (18:52 +0100)] 
[3.14] gh-141004: Document `PyType_FastSubclass` (GH-141313) (GH-141368)

gh-141004: Document `PyType_FastSubclass` (GH-141313)
(cherry picked from commit ed0a5fd8cacb1964111d03ff37627f6bea5e6026)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.14] GH-141212: Fix possible memory leak in gc_mark_span_push (gh-141213) (gh-141364)
Miss Islington (bot) [Mon, 10 Nov 2025 16:55:01 +0000 (17:55 +0100)] 
[3.14] GH-141212: Fix possible memory leak in gc_mark_span_push (gh-141213) (gh-141364)

(cherry picked from commit f835552946e29ec20144c359b8822f9e421d4d64)

Co-authored-by: Sergey Miryanov <sergey.miryanov@gmail.com>
2 weeks ago[3.14] gh-139707: Specify `winreg`, `msvcrt` and `winsound` module availability in...
Miss Islington (bot) [Mon, 10 Nov 2025 16:40:46 +0000 (17:40 +0100)] 
[3.14] gh-139707: Specify `winreg`, `msvcrt` and `winsound` module availability in docs (GH-140429) (GH-141351)

(cherry picked from commit 13fa313bebed71d8bc64f1cfdaf4b2f1ddd3ce5f)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-141174: Improve `ForwardRef` test coverage (GH-141175) (#141354)
Miss Islington (bot) [Mon, 10 Nov 2025 15:19:54 +0000 (16:19 +0100)] 
[3.14] gh-141174: Improve `ForwardRef` test coverage (GH-141175) (#141354)

gh-141174: Improve `ForwardRef` test coverage (GH-141175)

* Test unsupported format in ForwardRef.evaluate()

* Test dict cell closure with multiple variables

* Test all options in ForwardRef repr

* Test ForwardRef being a final class
(cherry picked from commit 19b573025e0aa569e7a34081116280133e33979a)

Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com>
2 weeks ago[3.14] gh-141174: Improve `annotationlib.call_annotate_function()` test coverage...
Miss Islington (bot) [Mon, 10 Nov 2025 15:19:48 +0000 (16:19 +0100)] 
[3.14] gh-141174: Improve `annotationlib.call_annotate_function()` test coverage (GH-141176) (#141355)

gh-141174: Improve `annotationlib.call_annotate_function()` test coverage (GH-141176)

* Test passing unsupported Format values to call_annotate_function()

* Test call_evaluate_function with fake globals that raise errors

* Fix typo and comparison in test_fake_global_evaluation
(cherry picked from commit 1110e8f6a4a767f6d09b121017442528733b380b)

Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com>
2 weeks ago[3.14] gh-137530: generate an __annotate__ function for dataclasses __init__ (GH...
Jelle Zijlstra [Mon, 10 Nov 2025 15:14:32 +0000 (07:14 -0800)] 
[3.14] gh-137530: generate an __annotate__ function for dataclasses __init__ (GH-137711) (#141352)

(cherry picked from commit 12837c63635559873a5abddf511d38456d69617b)

Co-authored-by: David Ellis <ducksual@gmail.com>
2 weeks ago[3.14] gh-141174: Improve `annotationlib.get_annotations()` test coverage (GH-141286...
Miss Islington (bot) [Mon, 10 Nov 2025 15:11:42 +0000 (16:11 +0100)] 
[3.14] gh-141174: Improve `annotationlib.get_annotations()` test coverage (GH-141286) (#141353)

gh-141174: Improve `annotationlib.get_annotations()` test coverage (GH-141286)

* Test `get_annotations(format=Format.VALUE)` for stringized annotations on custom objects

* Test `get_annotations(format=Format.VALUE)` for stringized annotations on wrapped partial functions

* Update test_stringized_annotations_with_star_unpack() to actually test stringized annotations

* Test __annotate__ returning a non-dict

* Test passing globals and locals to stringized `get_annotations()`
(cherry picked from commit 06b62282c79dd69293a3eefb4c55f5acc6312cb2)

Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com>
2 weeks ago[3.14] gh-141343: Fix swapped words in `sorted` doc (GH-141357)
Miss Islington (bot) [Mon, 10 Nov 2025 15:01:30 +0000 (16:01 +0100)] 
[3.14] gh-141343: Fix swapped words in `sorted` doc (GH-141357)

(cherry picked from commit 59b793b0dd76d37229fe6d379cd5fe76023d15f1)

Co-authored-by: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com>
2 weeks ago[3.14] gh-139707: Add docs for optional modules (GH-140171) (GH-141204)
Stan Ulbrych [Mon, 10 Nov 2025 14:20:00 +0000 (14:20 +0000)] 
[3.14] gh-139707: Add docs for optional modules (GH-140171) (GH-141204)

(cherry picked from commit d2ce6d708a9eaac4e546744ca4da359ee6901ebc)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Emma Smith <emma@emmatyping.dev>
Co-authored-by: Author: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Victor Stinner <vstinner@python.org>
2 weeks ago[3.14] gh-140500: Update download.html instructions (GH-141320) (#141347)
Miss Islington (bot) [Mon, 10 Nov 2025 12:45:48 +0000 (13:45 +0100)] 
[3.14] gh-140500: Update download.html instructions (GH-141320) (#141347)

Co-authored-by: Karina Souza <97332018+KarinaS0uza@users.noreply.github.com>
Co-authored-by: Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2 weeks ago[3.14] gh-141004: Document `pyctype.h` macros (GH-141272) (GH-141340)
Miss Islington (bot) [Mon, 10 Nov 2025 10:12:55 +0000 (11:12 +0100)] 
[3.14] gh-141004: Document `pyctype.h` macros (GH-141272) (GH-141340)

gh-141004: Document `pyctype.h` macros (GH-141272)
(cherry picked from commit df192616212f80aaa2f672b722b925943dbd3b78)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-141004: Document `Py_DTSF_*` macros (GH-141310) (GH-141329)
Miss Islington (bot) [Mon, 10 Nov 2025 00:48:48 +0000 (01:48 +0100)] 
[3.14] gh-141004: Document `Py_DTSF_*` macros (GH-141310) (GH-141329)

gh-141004: Document `Py_DTSF_*` macros (GH-141310)
(cherry picked from commit 9b0179fa87fee39df0f75bd84fc2dd75f1d00553)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-62480: De-personalize "Partial mocking" section in `unittest.mock` examples...
Miss Islington (bot) [Mon, 10 Nov 2025 00:08:30 +0000 (01:08 +0100)] 
[3.14] gh-62480: De-personalize "Partial mocking" section in `unittest.mock` examples (GH-141321) (#141326)

gh-62480: De-personalize "Partial mocking" section in `unittest.mock` examples (GH-141321)

* Refine some wording in unittest partial mock doc

Some of the descriptions were addressed in first person,
but have now been changed to address the user reading the documentation instead.
(cherry picked from commit b618731781c31d4b5b75d199dfc14993ffd66e37)

Co-authored-by: KarnbirKhera <166065758+KarnbirKhera@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2 weeks ago[3.14] gh-62480: De-personalize "Mocking Unbound Methods" section in `unittest.mock...
Miss Islington (bot) [Sun, 9 Nov 2025 23:51:07 +0000 (00:51 +0100)] 
[3.14] gh-62480: De-personalize "Mocking Unbound Methods" section in `unittest.mock` examples (GH-141322) (#141324)

gh-62480: De-personalize "Mocking Unbound Methods" section in `unittest.mock` examples (GH-141322)

* Rewrite Mocking Unbound Methods paragraph to second person
(cherry picked from commit ec85d3cbfe315086805c33bb64c28a8509098829)

Co-authored-by: Elena O <31424287+oklena@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2 weeks ago[3.14] gh-141004: Document `PySuper_Type` (GH-141315) (GH-141318)
Miss Islington (bot) [Sun, 9 Nov 2025 20:01:04 +0000 (21:01 +0100)] 
[3.14] gh-141004: Document `PySuper_Type` (GH-141315) (GH-141318)

gh-141004: Document `PySuper_Type` (GH-141315)
(cherry picked from commit 14c62227f9fa11fb743f9e03dcc5aab553de1098)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-140980: document `SET_FUNCTION_ATTRIBUTE` flag for `annotate` function...
Miss Islington (bot) [Sun, 9 Nov 2025 19:04:48 +0000 (20:04 +0100)] 
[3.14] gh-140980: document `SET_FUNCTION_ATTRIBUTE` flag for `annotate` function  (GH-141306) (#141316)

gh-140980: document `SET_FUNCTION_ATTRIBUTE` flag for `annotate` function  (GH-141306)
(cherry picked from commit 6f20ea1e2d302b7b88d64b6786abbad1747ff950)

Co-authored-by: Lakshya Upadhyaya <lakshya.upadhyaya05@gmail.com>
2 weeks ago[3.14] gh-141004: Document `PyClassMethod*` and `PyStaticMethod*` APIs (GH-141296...
Miss Islington (bot) [Sun, 9 Nov 2025 18:09:39 +0000 (19:09 +0100)] 
[3.14] gh-141004: Document `PyClassMethod*` and `PyStaticMethod*` APIs (GH-141296) (GH-141308)

gh-141004: Document `PyClassMethod*` and `PyStaticMethod*` APIs (GH-141296)
(cherry picked from commit 807db68ddd8572cfa825373bc13461b02691f4d9)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.14] gh-141004: Document `PyFunction_SetKwDefaults` (GH-141294) (GH-141304)
Miss Islington (bot) [Sun, 9 Nov 2025 17:55:09 +0000 (18:55 +0100)] 
[3.14] gh-141004: Document `PyFunction_SetKwDefaults` (GH-141294) (GH-141304)

gh-141004: Document `PyFunction_SetKwDefaults` (GH-141294)
(cherry picked from commit 18529b580b59b8d075641da6c685bef377eb0a7b)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.14] gh-141004: Document `PyExceptionInstance*` APIs (GH-141301) (GH-141302)
Miss Islington (bot) [Sun, 9 Nov 2025 17:20:24 +0000 (18:20 +0100)] 
[3.14] gh-141004: Document `PyExceptionInstance*` APIs (GH-141301) (GH-141302)

gh-141004: Document `PyExceptionInstance*` APIs (GH-141301)
(cherry picked from commit b5a0c72492800c7e999b87adfcfeabaacb4ecb97)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-141004: Document `Py_func_type_input` (GH-141273) (GH-141298)
Miss Islington (bot) [Sun, 9 Nov 2025 16:27:53 +0000 (17:27 +0100)] 
[3.14] gh-141004: Document `Py_func_type_input` (GH-141273) (GH-141298)

gh-141004: Document `Py_func_type_input` (GH-141273)
(cherry picked from commit 8dd849828636bb3989c6d5d20f8790a3fb770fc4)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.14] gh-140530: fix a reference leak in an error path for `raise exc from cause...
Miss Islington (bot) [Sun, 9 Nov 2025 16:04:26 +0000 (17:04 +0100)] 
[3.14] gh-140530: fix a reference leak in an error path for `raise exc from cause` (GH-140908) (#141282)

gh-140530: fix a reference leak in an error path for `raise exc from cause` (GH-140908)

Fix a reference leak in `raise E from T` when `T` is an exception
subtype for which `T.__new__` does not return an exception instance.
(cherry picked from commit 0c77e7c23b5c270a3142105542c56c59b59c52a0)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2 weeks ago[3.14] gh-141004: document `curses` C API (GH-141254) (#141292)
Miss Islington (bot) [Sun, 9 Nov 2025 15:50:21 +0000 (16:50 +0100)] 
[3.14] gh-141004: document `curses` C API (GH-141254) (#141292)

gh-141004: document `curses` C API (GH-141254)
(cherry picked from commit dbe40904a78a0c8ffa25fb64e6ff1e14e6e7ba5a)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2 weeks ago[3.14] gh-141004: Document `PyWeakref_CheckRefExact` (GH-141279) (GH-141290)
Miss Islington (bot) [Sun, 9 Nov 2025 15:40:20 +0000 (16:40 +0100)] 
[3.14] gh-141004: Document `PyWeakref_CheckRefExact` (GH-141279) (GH-141290)

gh-141004: Document `PyWeakref_CheckRefExact` (GH-141279)
(cherry picked from commit 60155329a0a83a2b9e740f0c0de41c9d44f5a053)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-141004: Document deprecated aliases for memory allocation (GH-141146) ...
Miss Islington (bot) [Sun, 9 Nov 2025 15:12:52 +0000 (16:12 +0100)] 
[3.14] gh-141004: Document deprecated aliases for memory allocation (GH-141146) (GH-141288)

gh-141004: Document deprecated aliases for memory allocation (GH-141146)
(cherry picked from commit 1d738dea6364de004f8cec7c6309d6bbd3b996c7)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.14] gh-100218: correctly set `errno` when `socket.if_{nametoindex,indextoname...
Miss Islington (bot) [Sun, 9 Nov 2025 13:11:43 +0000 (14:11 +0100)] 
[3.14] gh-100218: correctly set `errno` when `socket.if_{nametoindex,indextoname}` raise `OSError` (GH-140905) (#141284)

gh-100218: correctly set `errno` when `socket.if_{nametoindex,indextoname}` raise `OSError` (GH-140905)

Previously, socket.if_nametoindex() and socket.if_indextoname() could raise
an `OSError` with a `None` errno. Now, the errno from libc is propagated.
(cherry picked from commit 3ce2d57b2f02030353af314d89c5f6215d2f5c96)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2 weeks ago[3.14] gh-141127: Clarify os.symlink() documentation for argument order (GH-141144...
Miss Islington (bot) [Sun, 9 Nov 2025 10:19:09 +0000 (11:19 +0100)] 
[3.14] gh-141127: Clarify os.symlink() documentation for argument order (GH-141144) (#141278)

gh-141127: Clarify os.symlink() documentation for argument order (GH-141144)
(cherry picked from commit 7ae440f262c99ba9a3327237f83c9290dc963028)

Co-authored-by: Chilla Kalyan <127284726+chillakalyan@users.noreply.github.com>
2 weeks ago[3.14] gh-141004: Document `Py_BUILD_ASSERT*` macros (GH-141266) (GH-141269)
Miss Islington (bot) [Sat, 8 Nov 2025 19:27:41 +0000 (20:27 +0100)] 
[3.14] gh-141004: Document `Py_BUILD_ASSERT*` macros (GH-141266) (GH-141269)

gh-141004: Document `Py_BUILD_ASSERT*` macros (GH-141266)
(cherry picked from commit 0ac890bea79d3e0162c8909b0999f626f1141d89)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-141004: Document the `PyDoc_VAR` macro (GH-141263) (GH-141264)
Miss Islington (bot) [Sat, 8 Nov 2025 18:18:04 +0000 (19:18 +0100)] 
[3.14] gh-141004: Document the `PyDoc_VAR` macro (GH-141263) (GH-141264)

gh-141004: Document the `PyDoc_VAR` macro (GH-141263)
(cherry picked from commit 545299773b40fb589cbd5e54d1d597207d9a2a76)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-141004: Document `PyBUF_WRITEABLE` (GH-141255) (GH-141261)
Miss Islington (bot) [Sat, 8 Nov 2025 17:36:00 +0000 (18:36 +0100)] 
[3.14] gh-141004: Document `PyBUF_WRITEABLE` (GH-141255) (GH-141261)

gh-141004: Document `PyBUF_WRITEABLE` (GH-141255)
(cherry picked from commit 5e5fc0404ed983bb37a19793a5c802d0d9852e5d)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.14] gh-141004: Document `PyErr_ProgramTextObject` and `PyErr_ProgramText` (GH...
Miss Islington (bot) [Sat, 8 Nov 2025 15:54:06 +0000 (16:54 +0100)] 
[3.14] gh-141004: Document `PyErr_ProgramTextObject` and `PyErr_ProgramText` (GH-141250) (GH-141256)

gh-141004: Document `PyErr_ProgramTextObject` and `PyErr_ProgramText` (GH-141250)
(cherry picked from commit be1c72a45d54cdd35e0a830e18224c4c74be808c)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-141246: Link to correct Windows docs in `time.sleep()` doc (GH-141248)...
Miss Islington (bot) [Sat, 8 Nov 2025 15:02:35 +0000 (16:02 +0100)] 
[3.14] gh-141246: Link to correct Windows docs in `time.sleep()` doc (GH-141248) (#141251)

gh-141246: Link to correct Windows docs in `time.sleep()` doc (GH-141248)
(cherry picked from commit 6545a4e8f83c27996fc771ed7c8c96ae0ce8d2e0)

Co-authored-by: 莯凛 <1348292515@qq.com>
2 weeks ago[3.14] gh-141004: correctly document `Py_HASH_*` and `PyHASH_*` as `hash_info` attrib...
Miss Islington (bot) [Sat, 8 Nov 2025 12:28:01 +0000 (13:28 +0100)] 
[3.14] gh-141004: correctly document `Py_HASH_*` and `PyHASH_*` as `hash_info` attributes (GH-141233) (#141234)

gh-141004: correctly document `Py_HASH_*` and `PyHASH_*` as `hash_info` attributes (GH-141233)
(cherry picked from commit 87942d911b8bc9e83caee3c0b699f0b0ba15daa9)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2 weeks ago[3.14] gh-140615: Update docstrings in the fcntl module (GH-140619) (GH-141231)
Serhiy Storchaka [Sat, 8 Nov 2025 11:16:45 +0000 (13:16 +0200)] 
[3.14] gh-140615: Update docstrings in the fcntl module (GH-140619) (GH-141231)

* Refer to bytes objects or bytes-like objects instead of strings.
* Remove backticks -- they do not have effect on formatting.
* Re-wrap lines to ensure the pydoc output fits in 80 columns.
(cherry picked from commit 610377056bad696915d70590429e68002bee9006)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 weeks ago[3.14] gh-140793: Improve documentatation and tests for the ensure_ascii option in...
Miss Islington (bot) [Sat, 8 Nov 2025 10:32:44 +0000 (11:32 +0100)] 
[3.14] gh-140793: Improve documentatation and tests for the ensure_ascii option in the json module (GH-140906) (GH-141227)

* Document that ensure_ascii=True forces escaping not only non-ASCII, but also
  non-printable characters (the only affected ASCII character is U+007F).
* Ensure that the help output for the json module does not exceed 80
  columns (except one long line in an example and generated lines).
* Add more tests.
(cherry picked from commit 7e90bac3cc6fd68fe6696ab4bce1262751de7531)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 weeks ago[3.14] gh-141004: Document `Py_HASH_*` macros (GH-141205) (#141225)
Miss Islington (bot) [Sat, 8 Nov 2025 09:19:34 +0000 (10:19 +0100)] 
[3.14] gh-141004: Document `Py_HASH_*` macros (GH-141205) (#141225)

* gh-141004: Document `Py_HASH_*` macros (GH-141205)

(cherry picked from commit 3989e12d39bfe2587e5ba80873c37e0c2d449088)
(cherry picked from commit 8cec3d3a9d827aadc7008ab4312121fcf28329c6)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2 weeks ago[3.14] gh-141004: Document `PyTraceBack*` APIs (GH-141192) (GH-141210)
Miss Islington (bot) [Fri, 7 Nov 2025 18:52:45 +0000 (19:52 +0100)] 
[3.14] gh-141004: Document `PyTraceBack*` APIs (GH-141192) (GH-141210)

gh-141004: Document `PyTraceBack*` APIs (GH-141192)
(cherry picked from commit d13ee0ae186f4704f3b6016dd52f7727b81f9194)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-140826: Update winreg's docstring (GH-141050) (GH-141200)
Hugo van Kemenade [Fri, 7 Nov 2025 18:38:26 +0000 (20:38 +0200)] 
[3.14] gh-140826: Update winreg's docstring (GH-141050) (GH-141200)

(cherry picked from commit bea0d3d12bcd122d8498b92cdd6c724822fd6505)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
2 weeks ago[3.14] gh-141004: Document `PyErr_WarnExplicitFormat` (GH-141187) (GH-141202)
Miss Islington (bot) [Fri, 7 Nov 2025 16:26:40 +0000 (17:26 +0100)] 
[3.14] gh-141004: Document `PyErr_WarnExplicitFormat` (GH-141187) (GH-141202)

gh-141004: Document `PyErr_WarnExplicitFormat` (GH-141187)
(cherry picked from commit 9420795b47ac88f31315a8d1041e2c66c2cd9a8b)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.14] gh-141004: Document `PyCapsule_Type` (GH-141079) (GH-141199)
Miss Islington (bot) [Fri, 7 Nov 2025 14:16:43 +0000 (15:16 +0100)] 
[3.14] gh-141004: Document `PyCapsule_Type` (GH-141079) (GH-141199)

gh-141004: Document `PyCapsule_Type` (GH-141079)
(cherry picked from commit 7af9b5354dd7633df422b9f720633989b3090199)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.14] Update NaNs handling description in `c-api/float.rst` (GH-141179) (#141194)
Miss Islington (bot) [Fri, 7 Nov 2025 13:40:59 +0000 (14:40 +0100)] 
[3.14] Update NaNs handling description in `c-api/float.rst` (GH-141179) (#141194)

Update NaNs handling description in `c-api/float.rst` (GH-141179)

Clarified the behavior of NaNs on IEEE platforms regarding signaling and quiet NaNs.
(cherry picked from commit 920286d6b296f9971fc79e14ec22966f8f7a7b90)

Co-authored-by: W. H. Wang <mattwang44@gmail.com>
2 weeks ago[3.14] Clarify argument/result ownership/validity for PyModule_* functions (GH-141159...
Miss Islington (bot) [Fri, 7 Nov 2025 13:23:29 +0000 (14:23 +0100)] 
[3.14] Clarify argument/result ownership/validity for PyModule_* functions (GH-141159) (GH-141190)

(cherry picked from commit ffd64737d00277eea1c4721d278a0951168d07ca)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.14] gh-139246: zero-width word paste can be wrong in default repl (GH-139254)...
Miss Islington (bot) [Fri, 7 Nov 2025 12:50:06 +0000 (13:50 +0100)] 
[3.14] gh-139246: zero-width word paste can be wrong in default repl (GH-139254) (GH-140796)

gh-139246: zero-width word paste can be wrong in default repl (GH-139254)

(cherry picked from commit 4e6dba0ef74523a52f66547c16b9972664b18fd4)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: yihong <zouzou0208@gmail.com>
Co-authored-by: grayjk <grayjk@gmail.com>
2 weeks ago[3.14] gh-141141: Make base64.b85decode() thread safe (GH-141149) (GH-141184)
Miss Islington (bot) [Fri, 7 Nov 2025 11:14:51 +0000 (12:14 +0100)] 
[3.14] gh-141141: Make base64.b85decode() thread safe (GH-141149) (GH-141184)

(cherry picked from commit a7bf27f7f521384a8964718bdb58a5cb113bb3ec)

Co-authored-by: Benel Tayar <86257734+beneltayar@users.noreply.github.com>
2 weeks ago[3.14] gh-140734: fix off-by-one error when comparing to `_SUN_PATH_MAX` (GH-140903...
Miss Islington (bot) [Fri, 7 Nov 2025 10:27:14 +0000 (11:27 +0100)] 
[3.14] gh-140734: fix off-by-one error when comparing to `_SUN_PATH_MAX` (GH-140903) (#141181)

gh-140734: fix off-by-one error when comparing to `_SUN_PATH_MAX` (GH-140903)

The limit includes a NULL terminator.
(cherry picked from commit 9a199006733dae999f96c0f596c2035f4b9847b2)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2 weeks ago[3.14] gh-141125: delete unused import textwrap in interpreter.py (GH-141126) (#141177)
Miss Islington (bot) [Fri, 7 Nov 2025 00:29:25 +0000 (01:29 +0100)] 
[3.14] gh-141125: delete unused import textwrap in interpreter.py (GH-141126) (#141177)

gh-141125: delete unused import textwrap in interpreter.py (GH-141126)
(cherry picked from commit c77441ef1d1f3182280bd14d11516d54f38fe90b)

Co-authored-by: yihong <zouzou0208@gmail.com>
2 weeks ago[3.14] Minor documentation improvements (GH-140626) (#141160)
Miss Islington (bot) [Thu, 6 Nov 2025 17:19:30 +0000 (18:19 +0100)] 
[3.14] Minor documentation improvements (GH-140626) (#141160)

Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
2 weeks ago[3.14] gh-141004: Document `Py_GetRecursionLimit` and `Py_SetRecursionLimit` (GH...
Miss Islington (bot) [Thu, 6 Nov 2025 16:45:31 +0000 (17:45 +0100)] 
[3.14] gh-141004: Document `Py_GetRecursionLimit` and `Py_SetRecursionLimit` (GH-141151) (GH-141156)

gh-141004: Document `Py_GetRecursionLimit` and `Py_SetRecursionLimit` (GH-141151)
(cherry picked from commit 0b260305d302eace7d59931ca582a1953d894018)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-140939: Fix memory leak in `_PyBytes_FormatEx` error path (GH-140957) ...
Stan Ulbrych [Thu, 6 Nov 2025 16:20:03 +0000 (16:20 +0000)] 
[3.14] gh-140939: Fix memory leak in `_PyBytes_FormatEx` error path (GH-140957) (#141154)

(cherry picked from commit d6c89a2df2c8b7603125883494e9058a88348f66)

2 weeks ago[3.14] gh-141004: Document `PyLong_FromPid` and `PyLong_AsPid` (GH-141028) (GH-141142)
Miss Islington (bot) [Thu, 6 Nov 2025 14:07:56 +0000 (06:07 -0800)] 
[3.14] gh-141004: Document `PyLong_FromPid` and `PyLong_AsPid` (GH-141028) (GH-141142)

gh-141004: Document `PyLong_FromPid` and `PyLong_AsPid` (GH-141028)
(cherry picked from commit bcc524f82d8548707046ce90f5bc56f60018767a)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2 weeks ago[3.14] gh-141004: Document `Py_hexdigits` (GH-141059) (GH-141138)
Miss Islington (bot) [Thu, 6 Nov 2025 13:56:41 +0000 (05:56 -0800)] 
[3.14] gh-141004: Document `Py_hexdigits` (GH-141059) (GH-141138)

gh-141004: Document `Py_hexdigits` (GH-141059)
(cherry picked from commit 54110e20e0ed0584e159c42d9f57516c1a3b997a)

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-141004: Document built-in iterator types in the C API (GH-141006) (GH-141134)
Miss Islington (bot) [Thu, 6 Nov 2025 12:35:02 +0000 (04:35 -0800)] 
[3.14] gh-141004: Document built-in iterator types in the C API (GH-141006) (GH-141134)

gh-141004: Document built-in iterator types in the C API (GH-141006)

Adds documentation for each of the following:

- PyEnum_Type
- PyFilter_Type
- PyMap_Type
- PyReversed_Type
- PyZip_Type

In addition, PyRange_Type and PyRange_Check are also documented.
(cherry picked from commit 1697cb5710f526d38816bb00ca3dcd4434e5e773)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.14] gh-138189: Document type slots, and other constants, as part of Limited API...
Hugo van Kemenade [Thu, 6 Nov 2025 11:39:19 +0000 (13:39 +0200)] 
[3.14] gh-138189: Document type slots, and other constants, as part of Limited API (GH-138190) (GH-141131)

(cherry picked from commit d81e1ef0f3a7c63f5d246e4cf918700016b72489)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.14] gh-125346: Add more base64 tests (GH-141061) (GH-141130)
Serhiy Storchaka [Thu, 6 Nov 2025 11:03:59 +0000 (13:03 +0200)] 
[3.14] gh-125346: Add more base64 tests (GH-141061) (GH-141130)

Add more tests for the altchars argument of b64decode() and for the map01
argument of b32decode().
(cherry picked from commit 13360efd385d1a7d0659beba03787ea3d063ef9b)

2 weeks ago[3.14] gh-137232: Update free-threading HOWTOs with up-to-date info for 3.14 (GH...
Miss Islington (bot) [Thu, 6 Nov 2025 10:25:50 +0000 (02:25 -0800)] 
[3.14] gh-137232: Update free-threading HOWTOs with up-to-date info for 3.14 (GH-140817) (#141129)

(cherry picked from commit 86ab7bb87a3b8c7d617763bffc1992791c0e9bde)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
2 weeks ago[3.14] Add FFY00 to CODEOWNERS for generate-build-details (GH-139561) (#141080)
Hugo van Kemenade [Thu, 6 Nov 2025 09:18:46 +0000 (11:18 +0200)] 
[3.14] Add FFY00 to CODEOWNERS for generate-build-details (GH-139561) (#141080)

Co-authored-by: Filipe Laíns 🇵🇸 <lains@riseup.net>
2 weeks ago[3.14] Minor fixes to `idle.rst` and regenerate `help.html` (GH-140037) (#141121)
Miss Islington (bot) [Thu, 6 Nov 2025 08:51:28 +0000 (00:51 -0800)] 
[3.14] Minor fixes to `idle.rst` and regenerate `help.html` (GH-140037) (#141121)

Minor fixes to `idle.rst` and regenerate `help.html` (GH-140037)
(cherry picked from commit 4e6e208be9d1c52d1b55a8bb3a83682cb078e55e)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.14] gh-129876: Move misplaced IDLE news item (GH-141118) (#141119)
Miss Islington (bot) [Thu, 6 Nov 2025 08:34:06 +0000 (00:34 -0800)] 
[3.14] gh-129876: Move misplaced IDLE news item (GH-141118) (#141119)

gh-129876: Move misplaced IDLE news item (GH-141118)
(cherry picked from commit 6a7c969d003d3ba932d5c7f14a58e2a6408f4a3d)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2 weeks ago[3.14] gh-140569: recommend the new REPL in the asyncio REPL docs (GH-140570) (#141115)
Miss Islington (bot) [Thu, 6 Nov 2025 05:46:15 +0000 (21:46 -0800)] 
[3.14] gh-140569: recommend the new REPL in the asyncio REPL docs (GH-140570) (#141115)

gh-140569: recommend the new REPL in the asyncio REPL docs (GH-140570)
(cherry picked from commit 8822166200ddb4a7635337b97b626e658a443cef)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 weeks ago[3.14] Fix Queue.shutdown docs for condition to unblock a join (gh-137088) (#141073)
Stan Ulbrych [Thu, 6 Nov 2025 05:41:31 +0000 (05:41 +0000)] 
[3.14] Fix Queue.shutdown docs for condition to unblock a join (gh-137088) (#141073)

(cherry picked from commit ea06ae5b5e7b335efbdff03c087fad9980a53f69)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2 weeks ago[3.14] gh-118516: clarify that subprocess are automatically killed if transport gets...
Miss Islington (bot) [Thu, 6 Nov 2025 05:04:27 +0000 (21:04 -0800)] 
[3.14] gh-118516: clarify that subprocess are automatically killed if transport gets garbage collected (GH-140997) (#141110)

gh-118516: clarify that subprocess are automatically killed if transport gets garbage collected (GH-140997)
(cherry picked from commit 101c9c0a2187940900f684086cb9ba0d456fda49)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2 weeks ago[3.14] GH-108009: Add clarification of parser and argument defaults in argparse docs...
Miss Islington (bot) [Wed, 5 Nov 2025 22:52:22 +0000 (23:52 +0100)] 
[3.14] GH-108009: Add clarification of parser and argument defaults in argparse docs (GH-124154) (#141084)

GH-108009: Add clarification of parser and argument defaults in argparse docs (GH-124154)
(cherry picked from commit 95f6e1275b1c9de550d978cb2b4351cc4ed24fe4)

Co-authored-by: Savannah Ostrowski <savannah@python.org>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2 weeks ago[3.14] gh-141004: Document `PyDict_GET_SIZE` (GH-141078) (GH-141082)
Miss Islington (bot) [Wed, 5 Nov 2025 22:38:20 +0000 (23:38 +0100)] 
[3.14] gh-141004: Document `PyDict_GET_SIZE` (GH-141078) (GH-141082)

gh-141004: Document `PyDict_GET_SIZE` (GH-141078)
(cherry picked from commit f0ab07f22c5fd18058a3ece7a1e745b3922af908)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>