]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
32 hours ago[3.13] Minor fixes to `idle.rst` and regenerate `help.html` (GH-140037) (#141122)
Miss Islington (bot) [Thu, 6 Nov 2025 12:11:50 +0000 (04:11 -0800)] 
[3.13] Minor fixes to `idle.rst` and regenerate `help.html` (GH-140037) (#141122)

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>
36 hours ago[3.13] gh-129876: Move misplaced IDLE news item (GH-141118) (#141120)
Miss Islington (bot) [Thu, 6 Nov 2025 08:34:15 +0000 (00:34 -0800)] 
[3.13] gh-129876: Move misplaced IDLE news item (GH-141118) (#141120)

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

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
39 hours ago[3.13] gh-140569: recommend the new REPL in the asyncio REPL docs (GH-140570) (#141116)
Miss Islington (bot) [Thu, 6 Nov 2025 05:45:18 +0000 (21:45 -0800)] 
[3.13] gh-140569: recommend the new REPL in the asyncio REPL docs (GH-140570) (#141116)

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>
40 hours ago[3.13] gh-118516: clarify that subprocess are automatically killed if transport gets...
Miss Islington (bot) [Thu, 6 Nov 2025 05:05:01 +0000 (21:05 -0800)] 
[3.13] gh-118516: clarify that subprocess are automatically killed if transport gets garbage collected (GH-140997) (#141111)

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>
46 hours ago[3.13] GH-108009: Add clarification of parser and argument defaults in argparse docs...
Miss Islington (bot) [Wed, 5 Nov 2025 22:52:43 +0000 (23:52 +0100)] 
[3.13] GH-108009: Add clarification of parser and argument defaults in argparse docs (GH-124154) (#141085)

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>
46 hours ago[3.13] gh-141004: Document `PyDict_GET_SIZE` (GH-141078) (GH-141083)
Miss Islington (bot) [Wed, 5 Nov 2025 22:41:16 +0000 (23:41 +0100)] 
[3.13] gh-141004: Document `PyDict_GET_SIZE` (GH-141078) (GH-141083)

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

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
47 hours ago[3.13] gh-76007: remove curses.__version__ doc (GH-141052) (#141077)
Miss Islington (bot) [Wed, 5 Nov 2025 22:07:32 +0000 (23:07 +0100)] 
[3.13] gh-76007: remove curses.__version__ doc (GH-141052) (#141077)

Co-authored-by: Zenith <me@arielle.codes>
47 hours ago[3.13] gh-141004: Document `Py_RETURN_NAN` and `Py_RETURN_INF` (GH-141029) (GH-141075)
Miss Islington (bot) [Wed, 5 Nov 2025 22:06:41 +0000 (23:06 +0100)] 
[3.13] gh-141004: Document `Py_RETURN_NAN` and `Py_RETURN_INF` (GH-141029) (GH-141075)

gh-141004: Document `Py_RETURN_NAN` and `Py_RETURN_INF` (GH-141029)
(cherry picked from commit 5b02c6e920aaef4b202fc19186f742d008460fd3)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
47 hours ago[3.13] Docs: replace an esoteric Von Neumann mention (GH-137598) (#140371)
Miss Islington (bot) [Wed, 5 Nov 2025 21:40:56 +0000 (22:40 +0100)] 
[3.13] Docs: replace an esoteric Von Neumann mention (GH-137598) (#140371)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
2 days ago[3.13] Fix a compiler warning in _randommodule.c (GH-141058) (#141064)
Miss Islington (bot) [Wed, 5 Nov 2025 19:08:41 +0000 (20:08 +0100)] 
[3.13] Fix a compiler warning in _randommodule.c (GH-141058) (#141064)

Fix a compiler warning in _randommodule.c (GH-141058)

The test just before the cast ensures that the cast cannot overflow.

Fix the warning on 32-bit Windows:

    Modules\_randommodule.c(525,28): warning C4244: '=': conversion
    from 'uint64_t' to 'Py_ssize_t', possible loss of data
(cherry picked from commit 4ac16dd10950fad2d3e58e8b0ba5f2e621af3cc1)

Co-authored-by: Victor Stinner <vstinner@python.org>
2 days ago[3.13] gh-139313: Improve docs on XML security (GH-139460) (GH-141066)
Miss Islington (bot) [Wed, 5 Nov 2025 19:06:37 +0000 (20:06 +0100)] 
[3.13] gh-139313: Improve docs on XML security (GH-139460) (GH-141066)

Clarify that:
- it takes parsing for an attack
- that some doors are closed by default
- only Expat version 2.7.2 has all the fixes
- use of the bundle depends on configuration
(cherry picked from commit baa9f338971c6a13433a8232db77cd45e6b87b77)

Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
2 days ago[3.13] Docs: Fix cached calls count in factorial example (gh-140882) (gh-141032)
Miss Islington (bot) [Wed, 5 Nov 2025 18:15:05 +0000 (19:15 +0100)] 
[3.13] Docs: Fix cached calls count in factorial example (gh-140882) (gh-141032)

Co-authored-by: Clifford Gama <cliffygamy@gmail.com>
2 days ago[3.13] gh-140815: Fix faulthandler for invalid/freed frame (#140921) (#140985)
Victor Stinner [Wed, 5 Nov 2025 17:39:28 +0000 (18:39 +0100)] 
[3.13] gh-140815: Fix faulthandler for invalid/freed frame (#140921) (#140985)

gh-140815: Fix faulthandler for invalid/freed frame (#140921)

faulthandler now detects if a frame or a code object is invalid or
freed.

Add helper functions:

* _PyCode_SafeAddr2Line()
* _PyFrame_SafeGetCode()
* _PyFrame_SafeGetLasti()

_PyMem_IsPtrFreed() now detects pointers in [-0xff, 0xff] range
as freed.

(cherry picked from commit a84181c31bfc45a1d6bcb1296bd298ad612c54d0)

2 days ago[3.13] gh-141004: Document `PyMemoryView_Type` (GH-141034) (GH-141055)
Miss Islington (bot) [Wed, 5 Nov 2025 16:51:31 +0000 (17:51 +0100)] 
[3.13] gh-141004: Document `PyMemoryView_Type` (GH-141034) (GH-141055)

gh-141004: Document `PyMemoryView_Type` (GH-141034)
(cherry picked from commit 3f6aca1be49f96c5c5f52040b8e78c73c79c0a86)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 days ago[3.13] gh-138772: Add tests for Turtle.dot() signature (GH-138773) (#140992)
Jan-Eric Nitschke [Wed, 5 Nov 2025 15:24:46 +0000 (16:24 +0100)] 
[3.13] gh-138772: Add tests for Turtle.dot() signature (GH-138773) (#140992)

Co-authored-by: Jan-Eric Nitschke <47750513+JanEricNitschke@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 days ago[3.13] gh-141004: Document missing iterator types in the C API (GH-141010) (GH-141047)
Miss Islington (bot) [Wed, 5 Nov 2025 14:22:32 +0000 (15:22 +0100)] 
[3.13] gh-141004: Document missing iterator types in the C API (GH-141010) (GH-141047)

gh-141004: Document missing iterator types in the C API (GH-141010)

Add documentation for each of the following:

- PyByteArrayIter_Type
- PyBytesIter_Type
- PyListIter_Type
- PyListRevIter_Type
- PySetIter_Type
- PyTupleIter_Type
- PyRangeIter_Type
- PyLongRangeIter_Type
- PyDictIterKey_Type
- PyDictRevIterKey_Type
- PyDictIterValue_Type
- PyDictRevIterValue_Type
- PyDictIterItem_Type
- PyDictRevIterItem_Type

---------
(cherry picked from commit 35528fccdcaa0890e959eb7884332d1a426819ac)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2 days ago[3.13] Omit `Python/perf_jit_trampoline.c` from the `**/*jit*` CODEOWNERS rule (GH...
Hugo van Kemenade [Wed, 5 Nov 2025 12:24:12 +0000 (14:24 +0200)] 
[3.13] Omit `Python/perf_jit_trampoline.c` from the `**/*jit*` CODEOWNERS rule (GH-136519) (#140988)

Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com>
2 days ago[3.13] gh-141004: Document `Py_UNICODE_{HIGH, LOW}_SURROGATE` functions (GH-141019...
Miss Islington (bot) [Tue, 4 Nov 2025 21:24:52 +0000 (22:24 +0100)] 
[3.13] gh-141004: Document `Py_UNICODE_{HIGH, LOW}_SURROGATE` functions (GH-141019) (GH-141026)

gh-141004: Document `Py_UNICODE_{HIGH, LOW}_SURROGATE` functions (GH-141019)
(cherry picked from commit bfe54810c408ff066591d1af0411b1d9c10084b1)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 days ago[3.13] gh-139434: Update selected RFC 2822 references to RFC 5322 (GH-139435) (#141024)
Filip Łajszczak [Tue, 4 Nov 2025 21:22:31 +0000 (22:22 +0100)] 
[3.13] gh-139434: Update selected RFC 2822 references to RFC 5322 (GH-139435) (#141024)

Update selected RFC 2822 references to RFC 5322

RFC 2822 was obsoleted by RFC 5322 in 2008. This updates references
to use the current standard in documentation, docstrings, and comments.

It preserves RFC 2822 references in legacy API components to maintain their
historical context.

RFC 822 → RFC 2822 → RFC 5322 progression is explained where relevant.

In some places specific sections of RFC are referenced where it seems helpful.

Scout rule was applied in some places and RFC mentions format was
normalized in doc strings and comments.
(cherry picked from commit ce1bb85d286130f44b7e874430b0b12990d61dc1)

3 days ago[3.13] Docs: Fix typo in `email.headerregistry.rst` (GH-140965) (#141021)
Miss Islington (bot) [Tue, 4 Nov 2025 19:35:14 +0000 (20:35 +0100)] 
[3.13] Docs: Fix typo in `email.headerregistry.rst` (GH-140965) (#141021)

Docs: Fix typo in `email.headerregistry.rst` (GH-140965)

Fix missing 'Header' suffix on header class name in `email.headerregistry.rst`
(cherry picked from commit 97d8dda980fcddf88b782be343118257f483a864)

Co-authored-by: Guo Ci <zguoci@gmail.com>
3 days ago[3.13] gh-134817: Restore accidentally deleted line in documentation. (GH-141013...
Miss Islington (bot) [Tue, 4 Nov 2025 18:57:32 +0000 (19:57 +0100)] 
[3.13] gh-134817: Restore accidentally deleted line in documentation. (GH-141013) (GH-141017)

(cherry picked from commit 66c86c6)

3 days ago[3.13] Document that returning `sys.monitoring.DISABLE` in response to a global event...
Miss Islington (bot) [Tue, 4 Nov 2025 18:36:40 +0000 (19:36 +0100)] 
[3.13] Document that returning `sys.monitoring.DISABLE` in response to a global event raises `ValueError` (GH-140726) (GH-141015)

Document that returning `sys.monitoring.DISABLE` in response to a global event raises `ValueError` (GH-140726)
(cherry picked from commit 8a7dbb7a68b5da1f3f1805f564c028f1eea4ebc3)

Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
3 days ago[3.13] gh-139590: Stricter `ruff` rules for `Tools/wasm` (GH-139752) (#140986)
Hugo van Kemenade [Tue, 4 Nov 2025 18:17:57 +0000 (20:17 +0200)] 
[3.13] gh-139590: Stricter `ruff` rules for `Tools/wasm` (GH-139752) (#140986)

Co-authored-by: sobolevn <mail@sobolevn.me>
3 days ago[3.13] gh-140826 Remove the wrong documents about comparison behavior on winreg.HKEYT...
Miss Islington (bot) [Tue, 4 Nov 2025 16:36:46 +0000 (17:36 +0100)] 
[3.13] gh-140826 Remove the wrong documents about comparison behavior on winreg.HKEYType (GH-140999) (GH-141003)

(cherry picked from commit c3f9702f04f64f9cf9848b9a51a4aead4a612fa1)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
3 days ago[3.13] gh-140979: Fix off-by-one error in the RE code validator (GH-140984) (GH-141000)
Miss Islington (bot) [Tue, 4 Nov 2025 16:16:40 +0000 (17:16 +0100)] 
[3.13] gh-140979: Fix off-by-one error in the RE code validator (GH-140984) (GH-141000)

It was too lenient and allowed MARK opcodes with too large value.
(cherry picked from commit 1326d2a808245e5f2de9e515460bab30556e8f05)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 days ago[3.13] Fix minor typo: 'web site' -> 'website' (GH-140561) (GH-140977)
Miss Islington (bot) [Tue, 4 Nov 2025 13:11:15 +0000 (14:11 +0100)] 
[3.13] Fix minor typo: 'web site' -> 'website' (GH-140561) (GH-140977)

(cherry picked from commit 08115d241a724a4769599993f654f77abcdebf5a)

Co-authored-by: commitWithTisha <tishaa1010@gmail.com>
3 days ago[3.13] gh-140797: Forbid capturing groups in re.Scanner lexicon patterns (GH-140944...
Miss Islington (bot) [Tue, 4 Nov 2025 11:17:29 +0000 (12:17 +0100)] 
[3.13] gh-140797: Forbid capturing groups in re.Scanner lexicon patterns (GH-140944) (GH-140983)

(cherry picked from commit fa9c3eefd475f0647a69bf3f49db8100848fb6a9)

Co-authored-by: Abhishek Tiwari <Abhi210@users.noreply.github.com>
3 days ago[3.13] Docs: Fix a typo in `idle.rst` (Chitespace -> Whitespace) (GH-140946) (#140954)
Miss Islington (bot) [Tue, 4 Nov 2025 08:02:17 +0000 (09:02 +0100)] 
[3.13] Docs: Fix a typo in `idle.rst` (Chitespace -> Whitespace) (GH-140946) (#140954)

Co-authored-by: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com>
3 days ago[3.13] Fix minor typos and wording in C API docs (GH-140955) (#140967)
Hugo van Kemenade [Tue, 4 Nov 2025 07:46:18 +0000 (09:46 +0200)] 
[3.13] Fix minor typos and wording in C API docs (GH-140955) (#140967)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
5 days ago[3.13] gh-135307: Fix email error when policy max_line_length is set to 0 or None...
Jiucheng(Oliver) [Sun, 2 Nov 2025 20:20:29 +0000 (15:20 -0500)] 
[3.13] gh-135307: Fix email error when policy max_line_length is set to 0 or None (GH-135367) (#140917)

[3.13] gh-135307: Fix email error when policy max_line_length is set to 0 or None (GH-135367)
(cherry picked from commit 6d45cd8dbb07ae020ec07f2c3375dd06e52377f6)

Co-authored-by: Jiucheng(Oliver) <git.jiucheng@gmail.com>
RDM: Like the change made in a earlier PR to the folder, we can/must use 'maxlen' as a stand in for 'unlimited' when computing line lengths when max_line_length is 0 or None; otherwise the computation results in a traceback.

5 days ago[3.13] Docs: avoid informal formulation in `Doc/c-api/conversion.rst` (GH-140898...
Miss Islington (bot) [Sun, 2 Nov 2025 13:57:03 +0000 (14:57 +0100)] 
[3.13] Docs: avoid informal formulation in `Doc/c-api/conversion.rst` (GH-140898) (#140913)

Docs: avoid informal formulation in `Doc/c-api/conversion.rst` (GH-140898)
(cherry picked from commit 173cc53d9fdc596d7a19102fa407c829f9c71516)

Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
5 days ago[3.13] gh-90949: add Expat API to prevent XML deadly allocations (CVE-2025-59375...
Sebastian Pipping [Sun, 2 Nov 2025 12:39:11 +0000 (13:39 +0100)] 
[3.13] gh-90949: add Expat API to prevent XML deadly allocations (CVE-2025-59375) (GH-139234) (#139367)

* gh-90949: add Expat API to prevent XML deadly allocations (CVE-2025-59375) (#139234)

Expose the XML Expat 2.7.2 mitigation APIs to disallow use of
disproportional amounts of dynamic memory from within an Expat
parser (see CVE-2025-59375 for instance).

The exposed APIs are available on Expat parsers, that is,
parsers created by `xml.parsers.expat.ParserCreate()`, as:

- `parser.SetAllocTrackerActivationThreshold(threshold)`, and
- `parser.SetAllocTrackerMaximumAmplification(max_factor)`.

(cherry picked from commit f04bea44c37793561d753dd4ca6e7cd658137553)
(cherry picked from commit 68a1778b7721f3fb853cd3aa674f7039c2a4df36)

5 days ago[3.13] Docs: fix some grammatical errors in `Doc/c-api/dict.rst` (GH-140899) (#140902)
Miss Islington (bot) [Sun, 2 Nov 2025 08:39:12 +0000 (09:39 +0100)] 
[3.13] Docs: fix some grammatical errors in `Doc/c-api/dict.rst` (GH-140899) (#140902)

Docs: fix some grammatical errors in `Doc/c-api/dict.rst` (GH-140899)
(cherry picked from commit d12cbf2865d2845d238f697ddace83face814972)

Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
6 days ago[3.13] gh-140874: Upgrade bundled pip to 25.3 (GH-140876) (gh-140880)
Miss Islington (bot) [Sat, 1 Nov 2025 12:42:15 +0000 (13:42 +0100)] 
[3.13] gh-140874: Upgrade bundled pip to 25.3 (GH-140876) (gh-140880)

* gh-140874: Upgrade bundled pip to 25.3 (GH-140876)

Upgrade bundled pip to 25.3
(cherry picked from commit d440a0f96c6e87ee93810e0184068e90087af466)

Co-authored-by: Damian Shaw <damian.peter.shaw@gmail.com>
* Update Misc/NEWS.d/next/Library/2025-11-01-00-36-14.gh-issue-140874.eAWt3K.rst

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
---------

Co-authored-by: Damian Shaw <damian.peter.shaw@gmail.com>
Co-authored-by: Paul Moore <p.f.moore@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
7 days ago[3.13] gh-136065: Fix quadratic complexity in os.path.expandvars() (GH-134952) (GH...
Łukasz Langa [Fri, 31 Oct 2025 16:58:09 +0000 (17:58 +0100)] 
[3.13] gh-136065: Fix quadratic complexity in os.path.expandvars() (GH-134952) (GH-140845)

(cherry picked from commit f029e8db626ddc6e3a3beea4eff511a71aaceb5c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
7 days ago[3.13] Fix the versionchanged directive for gh-137836 (GH-140859)
Serhiy Storchaka [Fri, 31 Oct 2025 16:55:54 +0000 (18:55 +0200)] 
[3.13] Fix the versionchanged directive for gh-137836 (GH-140859)

7 days ago[3.13] gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-13783...
Miss Islington (bot) [Fri, 31 Oct 2025 16:08:42 +0000 (17:08 +0100)] 
[3.13] gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-137837) (GH-140842)

* the "plaintext" element
* the RAWTEXT elements "xmp", "iframe", "noembed" and "noframes"
* optionally RAWTEXT (if scripting=True) element "noscript"
(cherry picked from commit a17c57eee5b5cc81390750d07e4800b19c0c3084)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
8 days ago[3.13] gh-140551: Fix dict crash if clear is called at lookup stage (GH-140558) ...
Mikhail Efimov [Thu, 30 Oct 2025 17:06:49 +0000 (20:06 +0300)] 
[3.13] gh-140551: Fix dict crash if clear is called at lookup stage (GH-140558) (#140744)

* gh-140551: Fix `dict` crash if `clear` is called at `lookup` stage (#140558)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
8 days ago[3.13] gh-137821: Fix wrongly tested json.decoder.scanstring (gh-140781)
Donghee Na [Thu, 30 Oct 2025 13:51:10 +0000 (22:51 +0900)] 
[3.13] gh-137821: Fix wrongly tested json.decoder.scanstring (gh-140781)

8 days ago[3.13] gh-138162: Fix logging.LoggerAdapter with merge_extra=True and without the...
Miss Islington (bot) [Thu, 30 Oct 2025 11:31:54 +0000 (12:31 +0100)] 
[3.13] gh-138162: Fix logging.LoggerAdapter with merge_extra=True and without the extra argument (GH-140511) (GH-140785)

(cherry picked from commit 327dbbedffa3f2c95e70129a11974b83e27864f9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
9 days ago[3.13] gh-140576: Fixed crash produced by lexer in case of dedented zero byte (GH...
Mikhail Efimov [Wed, 29 Oct 2025 14:33:55 +0000 (17:33 +0300)] 
[3.13] gh-140576: Fixed crash produced by lexer in case of dedented zero byte (GH-140583) (#140762)

9 days ago[3.13] gh-140082: Forward colorizing from libregrtest to unittest (GH-140083) (#140755)
Miss Islington (bot) [Wed, 29 Oct 2025 12:55:54 +0000 (13:55 +0100)] 
[3.13] gh-140082: Forward colorizing from libregrtest to unittest (GH-140083) (#140755)

gh-140082: Forward colorizing from libregrtest to unittest (GH-140083)

libregrtest redirects test output to a file as part of its operation.
When `unittest` checks to see if it should colorize with
`isatty(sys.stdout)` that fails resulting in no colorizing of the
unittest output.

Update `libregrtest` to set `FORCE_COLOR=1` when redirecting test output
so that unittest will do color printing.
(cherry picked from commit 6ff62ac4fbc3f17529823c146cc3a3f8c21eed42)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
9 days ago[3.13] gh-140702: Log color and GHA env vars in test.pythoninfo (GH-140747) (#140754)
Miss Islington (bot) [Wed, 29 Oct 2025 12:51:18 +0000 (13:51 +0100)] 
[3.13] gh-140702: Log color and GHA env vars in test.pythoninfo (GH-140747) (#140754)

gh-140702: Log color and GHA env vars in test.pythoninfo (GH-140747)
(cherry picked from commit 376559bf54762d7b6e0a14591a1f284c8f09a855)

Co-authored-by: Victor Stinner <vstinner@python.org>
9 days ago[3.13] gh-140607: Validate returned byte count in RawIOBase.read (GH-140611) (#140730)
Cody Maloney [Wed, 29 Oct 2025 12:31:57 +0000 (05:31 -0700)] 
[3.13] gh-140607: Validate returned byte count in RawIOBase.read (GH-140611) (#140730)

* [3.13] gh-140607: Validate returned byte count in RawIOBase.read (GH-140611)

While `RawIOBase.readinto` should return a count of bytes between 0 and
the length of the given buffer, it is not required to. Add validation
inside RawIOBase.read() that the returned byte count is valid.
(cherry picked from commit 0f0a362768aecb4c791724cce486d8317533a94d)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
Co-authored-by: Shamil <ashm.tech@proton.me>
Co-authored-by: Victor Stinner <vstinner@python.org>
* fixup: Use older attribute name

---------

Co-authored-by: Shamil <ashm.tech@proton.me>
Co-authored-by: Victor Stinner <vstinner@python.org>
10 days ago[3.13] gh-139588: Increase maximum LaTeX list depth (GH-140709) (#140725)
Miss Islington (bot) [Tue, 28 Oct 2025 20:05:32 +0000 (21:05 +0100)] 
[3.13] gh-139588: Increase maximum LaTeX list depth (GH-140709) (#140725)

Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
10 days ago[3.13] gh-140657: Don't rerun test_import single phase init test (GH-140712) (#140714)
Miss Islington (bot) [Tue, 28 Oct 2025 17:29:44 +0000 (18:29 +0100)] 
[3.13] gh-140657: Don't rerun test_import single phase init test (GH-140712) (#140714)

gh-140657: Don't rerun test_import single phase init test (GH-140712)

test_basic_multiple_interpreters_main_no_reset() leaks memory:
import_in_subinterp() is called with postcleanup=False.
(cherry picked from commit c6d4c79c9abac5c5cc2e7b429d72946d15c5e132)

Co-authored-by: Victor Stinner <vstinner@python.org>
10 days ago[3.13] GH-140590: Fix setstate for functools.partial C-module (GH-140671) (#140699)
Miss Islington (bot) [Tue, 28 Oct 2025 12:44:14 +0000 (13:44 +0100)] 
[3.13] GH-140590: Fix setstate for functools.partial C-module (GH-140671) (#140699)

GH-140590: Fix setstate for functools.partial C-module (GH-140671)

(cherry picked from commit d26686a7f87d63499f7296c0811fa0535637a93b)

Co-authored-by: Sergey Miryanov <sergey.miryanov@gmail.com>
Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
11 days ago[3.13] gh-140634: Fix a reference counting bug in os.sched_param.__reduce__() (GH...
Miss Islington (bot) [Mon, 27 Oct 2025 20:05:10 +0000 (21:05 +0100)] 
[3.13] gh-140634: Fix a reference counting bug in os.sched_param.__reduce__() (GH-140667) (GH-140686)

(cherry picked from commit 364ae607d8035db8ba92486ebebd8225446c1a90)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
11 days ago[3.13] gh-140301: Fix memory leak in subinterpreter PyConfig cleanup (GH-140303)...
Shamil [Mon, 27 Oct 2025 19:42:13 +0000 (22:42 +0300)] 
[3.13] gh-140301: Fix memory leak in subinterpreter PyConfig cleanup (GH-140303) (#140684)

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

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
11 days ago[3.13] gh-92266: Update pre-commit (GH-139411) (#139760)
Hugo van Kemenade [Mon, 27 Oct 2025 14:14:48 +0000 (16:14 +0200)] 
[3.13] gh-92266: Update pre-commit (GH-139411) (#139760)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
11 days ago[3.13] gh-140487: Fix Py_RETURN_NOTIMPLEMENTED in limited C API 3.11 (GH-140636)...
Victor Stinner [Mon, 27 Oct 2025 13:43:59 +0000 (14:43 +0100)] 
[3.13] gh-140487: Fix Py_RETURN_NOTIMPLEMENTED in limited C API 3.11 (GH-140636) (GH-140670)

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

(cherry picked from commit c6364775236e3c634c3393c7f50fece50611245f)

11 days ago[3.13] gh-140633: AppleFrameworkLoader: Ignore AttributeError when setting __file__...
Miss Islington (bot) [Mon, 27 Oct 2025 13:08:09 +0000 (14:08 +0100)] 
[3.13] gh-140633: AppleFrameworkLoader: Ignore AttributeError when setting __file__ (GH-140635) (GH-140659)

(cherry picked from commit 3416e7c8dc004773d814b6f9ec9562434ed961cd)

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

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

Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
12 days ago[3.13] gh-137568: Ignore startup file in `test_dumb_terminal_exits_cleanly` (GH-14029...
Bartosz Sławecki [Sun, 26 Oct 2025 15:36:47 +0000 (16:36 +0100)] 
[3.13] gh-137568: Ignore startup file in `test_dumb_terminal_exits_cleanly` (GH-140295) (GH-140632)

(cherry picked from commit 06c779474c7f53bccb8ebf42c66e73b2488bf488)

12 days ago[3.13] gh-140593: Fix a memory leak in function `my_ElementDeclHandler` of `pyexpat...
Sebastian Pipping [Sun, 26 Oct 2025 15:22:20 +0000 (16:22 +0100)] 
[3.13] gh-140593: Fix a memory leak in function `my_ElementDeclHandler` of `pyexpat` (GH-140602) (#140630)

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

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

(cherry picked from commit e34a5e33049ce845de646cf24a498766a2da3586)

12 days ago[3.13] Docs: Fix a grammatical error in `Doc/c-api/codec.rst` (GH-140612) (#140617)
Miss Islington (bot) [Sun, 26 Oct 2025 09:45:42 +0000 (10:45 +0100)] 
[3.13] Docs: Fix a grammatical error in `Doc/c-api/codec.rst` (GH-140612) (#140617)

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

Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
12 days ago[3.13] Standardize translation of `Doc/bugs.rst` (GH-137449) (GH-140282)
Miss Islington (bot) [Sun, 26 Oct 2025 09:07:09 +0000 (10:07 +0100)] 
[3.13] Standardize translation of `Doc/bugs.rst` (GH-137449) (GH-140282)

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

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
13 days ago[3.13] Fix typo in `Doc/c-api/code.rst` (GH-140586) (#140592)
Miss Islington (bot) [Sat, 25 Oct 2025 15:43:00 +0000 (17:43 +0200)] 
[3.13] Fix typo in `Doc/c-api/code.rst` (GH-140586) (#140592)

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

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

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

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

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

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

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

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

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

Co-authored-by: Miša Jakovljević <misajakovljevic3@gmail.com>
2 weeks ago[3.13] gh-140482: Preserve and restore `stty echo` as a test environment (GH-140519...
Miss Islington (bot) [Fri, 24 Oct 2025 18:30:59 +0000 (20:30 +0200)] 
[3.13] gh-140482: Preserve and restore `stty echo` as a test environment (GH-140519) (#140563)

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

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

Co-authored-by: Barry Warsaw <barry@python.org>
2 weeks ago[3.13] Document that PyModule_GetDef can return NULL with or without setting an excep...
Miss Islington (bot) [Fri, 24 Oct 2025 13:37:09 +0000 (15:37 +0200)] 
[3.13] Document that PyModule_GetDef can return NULL with or without setting an exception (GH-140529) (GH-140546)

(cherry picked from commit 289360ae63933c8956f87307ff091ec9ed19afed)

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

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

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

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

2 weeks ago[3.13] gh-137093: Fix race condition in `test_embed.test_bpo20891` (GH-137094) (GH...
Miss Islington (bot) [Fri, 24 Oct 2025 08:17:26 +0000 (10:17 +0200)] 
[3.13] gh-137093: Fix race condition in `test_embed.test_bpo20891` (GH-137094) (GH-140524) (#140527)

[3.14] gh-137093: Fix race condition in `test_embed.test_bpo20891` (GH-137094) (GH-140524)

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

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 weeks ago[3.13] gh-140471: Fix buffer overflow in AST node initialization with malformed ...
Stan Ulbrych [Thu, 23 Oct 2025 23:38:02 +0000 (00:38 +0100)] 
[3.13] gh-140471: Fix buffer overflow in AST node initialization with malformed `_fields` (GH-140506) (#140510)

(cherry picked from commit 95953b692db6cbd88139de12d81fb123293ec2d5)

2 weeks ago[3.13] gh-140438: properly run the asyncio REPL tests (GH-140298) (#140508)
Miss Islington (bot) [Thu, 23 Oct 2025 15:47:55 +0000 (17:47 +0200)] 
[3.13] gh-140438: properly run the asyncio REPL tests (GH-140298) (#140508)

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

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
2 weeks ago[3.13] gh-140474: Fix memory leak in `array.array` (GH-140478) (GH-140499)
Miss Islington (bot) [Thu, 23 Oct 2025 12:18:01 +0000 (14:18 +0200)] 
[3.13] gh-140474: Fix memory leak in `array.array` (GH-140478) (GH-140499)

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

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.13] gh-132835: Add defensive NULL checks to MRO resolution (GH-134763) (GH-140437)
Miss Islington (bot) [Wed, 22 Oct 2025 03:44:42 +0000 (05:44 +0200)] 
[3.13] gh-132835: Add defensive NULL checks to MRO resolution (GH-134763) (GH-140437)

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

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

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

Co-authored-by: Emma Smith <emma@emmatyping.dev>
2 weeks ago[3.13] gh-140406: Fix memory leak upon `__hash__` returning a non-integer (GH-140411...
Peter Bierma [Wed, 22 Oct 2025 01:07:32 +0000 (21:07 -0400)] 
[3.13] gh-140406: Fix memory leak upon `__hash__` returning a non-integer (GH-140411) (GH-140441)

* gh-140406: Fix memory leak upon `__hash__` returning a non-integer (GH-140411)

(cherry picked from commit 71db05a12d9953a96f809d84b4d0d452a464e431)

2 weeks ago[3.13] `zlib.rst`: Link to constants and deduplicate text (GH-140115) (GH-140350)
Emma Smith [Tue, 21 Oct 2025 21:45:02 +0000 (14:45 -0700)] 
[3.13] `zlib.rst`: Link to constants and deduplicate text (GH-140115) (GH-140350)

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

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2 weeks ago[3.13] gh-135801: Add tests for filtering warnings by module (GH-140240) (GH-140247)
Miss Islington (bot) [Tue, 21 Oct 2025 18:18:27 +0000 (20:18 +0200)] 
[3.13] gh-135801: Add tests for filtering warnings by module (GH-140240) (GH-140247)

(cherry picked from commit fbf0843e39e01ec8a8295f6475065b08053f13dd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 weeks ago[3.13] Use ``sphinxext-opengraph`` v0.13.0 (GH-140425) (#140428)
Miss Islington (bot) [Tue, 21 Oct 2025 16:10:29 +0000 (18:10 +0200)] 
[3.13] Use ``sphinxext-opengraph`` v0.13.0 (GH-140425) (#140428)

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

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

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

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 weeks ago[3.13] gh-66646: Explain __base__ attribute in the docs (GH-102554) (GH-140366)
Miss Islington (bot) [Tue, 21 Oct 2025 07:06:56 +0000 (09:06 +0200)] 
[3.13] gh-66646: Explain __base__ attribute in the docs (GH-102554) (GH-140366)

(cherry picked from commit faa169afa0dad9586b294ea9ab6e5e17c5712861)

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

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

Co-authored-by: Sam Bull <git@sambull.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2 weeks ago[3.13] gh-140306: Fix memory leaks in cross-interpreter data handling (GH-140307...
Serhiy Storchaka [Mon, 20 Oct 2025 10:13:15 +0000 (13:13 +0300)] 
[3.13] gh-140306: Fix memory leaks in cross-interpreter data handling (GH-140307) (GH-140357)

(cherry picked from commit f9323213c98c9f1f7f3bf5af883b73047432fe50)

Co-authored-by: Shamil <ashm.tech@proton.me>
2 weeks ago[3.13] gh-101100: Fix sphinx warnings in `library/resource.rst` (GH-140023) (#140353)
Miss Islington (bot) [Mon, 20 Oct 2025 07:23:27 +0000 (09:23 +0200)] 
[3.13] gh-101100: Fix sphinx warnings in `library/resource.rst` (GH-140023) (#140353)

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

(cherry picked from commit ed672f7a8a3c843d8e6e6b673d5a7c1f752f208c)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
2 weeks ago[3.13] `Lib/idlelib/idle_test/__init__.py`: remove commented out duplicate code ...
Miss Islington (bot) [Sun, 19 Oct 2025 08:49:57 +0000 (10:49 +0200)] 
[3.13] `Lib/idlelib/idle_test/__init__.py`: remove commented out duplicate code (GH-140259) (#140323)

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

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

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

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

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

Co-authored-by: Parham MohammadAlizadeh <prhmma@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 weeks ago[3.13] gh-140241: Fix documentation for the registry parameter of warnings.warn_expli...
Miss Islington (bot) [Sat, 18 Oct 2025 11:03:03 +0000 (13:03 +0200)] 
[3.13] gh-140241: Fix documentation for the registry parameter of warnings.warn_explicit() (GH-140242) (GH-140293)

(cherry picked from commit 78e1d65a4d656e783bc28a02e113f59e4323e41a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2 weeks ago[3.13] gh-140272: Fix memory leak in _gdbm.gdbm.clear() (GH-140274) (GH-140289)
Serhiy Storchaka [Sat, 18 Oct 2025 11:00:10 +0000 (14:00 +0300)] 
[3.13] gh-140272: Fix memory leak in _gdbm.gdbm.clear() (GH-140274) (GH-140289)

(cherry picked from commit f937468e7c88c768a28ff4e653da051ffa30d86c)

Co-authored-by: Shamil <ashm.tech@proton.me>
3 weeks ago[3.13] gh-138859: Account for `ParamSpec` defaults that are not lists … (GH-138868...
Miss Islington (bot) [Thu, 16 Oct 2025 20:26:24 +0000 (22:26 +0200)] 
[3.13] gh-138859: Account for `ParamSpec` defaults that are not lists … (GH-138868) (#140208)

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

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

(cherry picked from commit 2ebd0cdb16a8824957ea588e1aab0a35d45e6b7b)

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

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

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

Co-authored-by: wangxiaolei <fatelei@gmail.com>
3 weeks ago[3.13] Remove reference to docs mailing list for bug reports (GH-122323) (#140202)
Miss Islington (bot) [Thu, 16 Oct 2025 11:07:07 +0000 (13:07 +0200)] 
[3.13] Remove reference to docs mailing list for bug reports (GH-122323) (#140202)

Remove reference to docs mailing list for bug reports (GH-122323)
(cherry picked from commit 33586d64ca911b472de2550cf4f5b524cef65921)

Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
3 weeks ago[3.13] gh-140170: Fix test_site with -s flag (GH-140179) (#140201)
Miss Islington (bot) [Thu, 16 Oct 2025 10:57:00 +0000 (12:57 +0200)] 
[3.13] gh-140170: Fix test_site with -s flag (GH-140179) (#140201)

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

Commit
(cherry picked from commit 7ac94fcb1d09796f55faeaf30e349a86a88f7ed6)

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

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

Co-authored-by: Malcolm Smith <smith@chaquo.com>
3 weeks ago[3.13] gh-138993: Dedent `credits` text (GH-138994) (#140087)
Miss Islington (bot) [Wed, 15 Oct 2025 11:05:53 +0000 (13:05 +0200)] 
[3.13] gh-138993: Dedent `credits` text (GH-138994) (#140087)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
3 weeks agoPost 3.13.9
Thomas Wouters [Tue, 14 Oct 2025 18:32:03 +0000 (20:32 +0200)] 
Post 3.13.9

3 weeks agoPython 3.13.9
Thomas Wouters [Tue, 14 Oct 2025 18:33:45 +0000 (20:33 +0200)] 
Python 3.13.9

3 weeks ago[3.13] gh-139640: Fix swallowing syntax warnings in different modules (GH-139755...
Serhiy Storchaka [Tue, 14 Oct 2025 15:46:11 +0000 (18:46 +0300)] 
[3.13] gh-139640: Fix swallowing syntax warnings in different modules (GH-139755) (GH-140119)

Revert GH-131993.

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

Fix duplicated warnings in the "finally" block.

(cherry picked from commit 279db6bede30be3a1b86803585eb4404d27800da)

3 weeks ago[3.13] gh-101828: Fix `jisx0213` codecs removing null characters (gh-139340) (gh...
Stan Ulbrych [Tue, 14 Oct 2025 14:48:29 +0000 (15:48 +0100)] 
[3.13] gh-101828: Fix `jisx0213` codecs removing null characters (gh-139340) (gh-140112)

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

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* Accidentally removed line

3 weeks ago[3.13] gh-106318: Add examples for str.istitle() (GH-140046) (#140114)
Miss Islington (bot) [Tue, 14 Oct 2025 14:25:57 +0000 (16:25 +0200)] 
[3.13] gh-106318: Add examples for str.istitle()  (GH-140046) (#140114)

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

Co-authored-by: Doug Hoskisson <beauxq@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
3 weeks agoPython 3.13.9 v3.13.9
Thomas Wouters [Tue, 14 Oct 2025 13:52:15 +0000 (15:52 +0200)] 
Python 3.13.9