]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
3 weeks ago[3.13] gh-72570: mention the incompatibility of XOFs with HMAC (GH-136676) (#136679)
Miss Islington (bot) [Tue, 15 Jul 2025 12:10:10 +0000 (14:10 +0200)] 
[3.13] gh-72570: mention the incompatibility of XOFs with HMAC (GH-136676) (#136679)

gh-72570: mention the incompatibility of XOFs with HMAC (GH-136676)
(cherry picked from commit a02cf19deed353d1e0e7564468f10aced61c12e8)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
3 weeks ago[3.13] gh-136663: fix signatures of PyFloat_Pack/Unpack in docs (GH-136664) (#136667)
Miss Islington (bot) [Tue, 15 Jul 2025 05:37:55 +0000 (07:37 +0200)] 
[3.13] gh-136663: fix signatures of PyFloat_Pack/Unpack in docs (GH-136664) (#136667)

gh-136663: fix signatures of PyFloat_Pack/Unpack in docs (GH-136664)
(cherry picked from commit e4654e0b3e7d802c8fe984cf39a36a42b67de1ad)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
3 weeks ago[3.13] gh-130664: support '_' (just as ',') in Decimal's formatting (GH-132155) ...
Miss Islington (bot) [Mon, 14 Jul 2025 12:01:49 +0000 (14:01 +0200)] 
[3.13] gh-130664: support '_' (just as ',') in Decimal's formatting (GH-132155) (#136649)

gh-130664: support '_' (just as ',') in Decimal's formatting (GH-132155)
(cherry picked from commit e10fe81cc6ae0979938eb3925139d56a74c620e3)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
3 weeks ago[3.13] Partially revert "gh-101100: Fix sphinx warnings in `library/email.parser...
Miss Islington (bot) [Mon, 14 Jul 2025 10:19:40 +0000 (12:19 +0200)] 
[3.13] Partially revert "gh-101100: Fix sphinx warnings in `library/email.parser.rst` (GH-136475)" (GH-136629) (#136647)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
3 weeks ago[3.13] gh-127971: fix off-by-one read beyond the end of a string during search (...
Duane Griffin [Mon, 14 Jul 2025 09:50:22 +0000 (21:50 +1200)] 
[3.13] gh-127971: fix off-by-one read beyond the end of a string during search (#132574) (#136648)

(cherry picked from commit 85ec3b3b503ffd5b7e45f8b3fa2cec0c10e4bef0)

3 weeks ago[3.13] gh-109700: fix memory error handling in `PyDict_SetDefault` (#136338) (#136642)
Kumar Aditya [Mon, 14 Jul 2025 08:25:31 +0000 (13:55 +0530)] 
[3.13] gh-109700: fix memory error handling in `PyDict_SetDefault` (#136338) (#136642)

gh-109700: fix memory error handling in `PyDict_SetDefault` (#136338)

(cherry picked from commit d22e073d2b49313bbf42d40cbe74afa2b69385df)

4 weeks ago[3.13] gh-42237: Link to complete list of codec aliases (GH-136625) (#136627)
Miss Islington (bot) [Sun, 13 Jul 2025 13:19:28 +0000 (15:19 +0200)] 
[3.13] gh-42237: Link to complete list of codec aliases (GH-136625) (#136627)

gh-42237: Link to complete list of codec aliases (GH-136625)

Closes GH-42237
(cherry picked from commit a93d9aaf62bb2565e9eec00a2a8d06a91305127b)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
4 weeks ago[3.13] gh-132346: Docs: Clarify that reference counts aren't stable between versions...
Miss Islington (bot) [Sun, 13 Jul 2025 09:18:27 +0000 (11:18 +0200)] 
[3.13] gh-132346: Docs: Clarify that reference counts aren't stable between versions (GH-132352) (GH-136614)

gh-132346: Docs: Clarify that reference counts aren't stable between versions (GH-132352)
(cherry picked from commit 3dbe02ccd3eefc48ac9fa14427bb4cdb82d1ebae)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
4 weeks ago[3.13] gh-136523: Fix wave.Wave_write emitting an unraisable when open raises (GH...
Miss Islington (bot) [Sun, 13 Jul 2025 06:13:01 +0000 (08:13 +0200)] 
[3.13] gh-136523: Fix wave.Wave_write emitting an unraisable when open raises (GH-136529) (GH-136607)

(cherry picked from commit 171de05b4884d1353044417ea51a4efcb55ba633)

Co-authored-by: Sachin Shah <39803835+inventshah@users.noreply.github.com>
4 weeks ago[3.13] gh-134833: improve docs for `del s[i:j]` in `Mutable Sequence Types` (GH-13483...
Miss Islington (bot) [Sun, 13 Jul 2025 06:03:33 +0000 (08:03 +0200)] 
[3.13] gh-134833: improve docs for `del s[i:j]` in `Mutable Sequence Types` (GH-134834) (#136609)

gh-134833: improve docs for `del s[i:j]` in `Mutable Sequence Types` (GH-134834)
(cherry picked from commit 609d5adc7cc241da8fe314a64ddd2c8a883ee8b7)

Co-authored-by: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com>
4 weeks ago[3.13] gh-101100: Fix sphinx warnings in Doc/library/platform.rst (GH-136562) (GH...
Miss Islington (bot) [Sat, 12 Jul 2025 18:23:04 +0000 (20:23 +0200)] 
[3.13] gh-101100: Fix sphinx warnings in Doc/library/platform.rst (GH-136562) (GH-136598)

(cherry picked from commit 47b01da4ccedd9c00fad4325b3e87d7732abeb6d)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
4 weeks ago[3.13] gh-136549: Fix signature of threading.excepthook() (GH-136559) (GH-136590)
Miss Islington (bot) [Sat, 12 Jul 2025 16:16:19 +0000 (18:16 +0200)] 
[3.13] gh-136549: Fix signature of threading.excepthook() (GH-136559) (GH-136590)

(cherry picked from commit be2c3d284ecce67474a260b8c37e2f1e0628a9cf)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 weeks ago[3.13] gh-91153: prevent a crash in `bytearray.__setitem__(ind, ...)` when `ind.__ind...
Bénédikt Tran [Sat, 12 Jul 2025 14:34:45 +0000 (16:34 +0200)] 
[3.13] gh-91153: prevent a crash in `bytearray.__setitem__(ind, ...)` when `ind.__index__` has side-effects (GH-132379) (#136582)

(cherry picked from commit 5e1e21dee35b8e9066692d08033bbbdb562e2c28)

Co-authored-by: Bast <52266665+bast0006@users.noreply.github.com>
4 weeks ago[3.13] gh-134759: fix `UnboundLocalError` in `email.message.Message.get_payload`...
Miss Islington (bot) [Sat, 12 Jul 2025 13:52:54 +0000 (15:52 +0200)] 
[3.13] gh-134759: fix `UnboundLocalError` in `email.message.Message.get_payload` (GH-136071) (#136580)

gh-134759: fix `UnboundLocalError` in `email.message.Message.get_payload` (GH-136071)
(cherry picked from commit 25335d297b5248922a4c82183bcdf0c0ada8352b)

Co-authored-by: Kliment Lamonov <klimentlamonov@yandex.ru>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
4 weeks ago[3.13] gh-101100: Fix sphinx warnings in Doc/library/functools.rst (GH-136424) (GH...
Serhiy Storchaka [Fri, 11 Jul 2025 17:13:07 +0000 (20:13 +0300)] 
[3.13] gh-101100: Fix sphinx warnings in Doc/library/functools.rst (GH-136424) (GH-136554)

Add index entries and anchors for cache_info, cache_clear and register.
(cherry picked from commit 252e2f710ea376a38c4545dd758e03d331c1eaad)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
4 weeks ago[3.13] gh-130160: use `.. program::` directive for documenting `venv` CLI (GH-130699...
Miss Islington (bot) [Fri, 11 Jul 2025 17:04:03 +0000 (19:04 +0200)] 
[3.13] gh-130160: use `.. program::` directive for documenting `venv` CLI (GH-130699) (#136551)

gh-130160: use `.. program::` directive for documenting `venv` CLI (GH-130699)
(cherry picked from commit fb9f933b8eda6cdc1336582dc8709b759ced91af)

Co-authored-by: Kanishk Pachauri <itskanishkp.py@gmail.com>
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
4 weeks ago[3.13] gh-136541: Fix several problems of perf trampolines in x86_64 and aarch64...
Pablo Galindo Salgado [Fri, 11 Jul 2025 14:02:19 +0000 (15:02 +0100)] 
[3.13] gh-136541: Fix several problems of perf trampolines in x86_64 and aarch64 (GH-136500) (#136545)

This commit fixes the following problems:

* The x86_64 trampolines are not preserving frame pointers
* The hardcoded offsets to the code segment from the FDE only worked properly for x64_64
* The CIE data was not following conventions of aarch64
* The eh_frame for aarch64 was not fully correct
(cherry picked from commit 236f733d8ffb3d587e1167fa0a0248c24512e7fd)

4 weeks ago[3.13] gh-76637: Note that `undefined` Codec is for testing (GH-136531) (#136537)
Miss Islington (bot) [Fri, 11 Jul 2025 10:57:39 +0000 (12:57 +0200)] 
[3.13] gh-76637: Note that `undefined` Codec is for testing (GH-136531) (#136537)

gh-76637: Note that `undefined` Codec is for testing (GH-136531)

Closes GH-76637
(cherry picked from commit 975b57d945c84000949f241ded8f44413ecc6217)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
4 weeks ago[3.13] gh-101100: Fix sphinx warnings in `library/email.parser.rst` (GH-136475) ...
Miss Islington (bot) [Fri, 11 Jul 2025 09:43:52 +0000 (11:43 +0200)] 
[3.13] gh-101100: Fix sphinx warnings in `library/email.parser.rst` (GH-136475) (#136533)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
4 weeks ago[3.13] gh-52876: Implement missing parameter in `codecs.StreamReaderWriter` functions...
Miss Islington (bot) [Thu, 10 Jul 2025 16:06:34 +0000 (18:06 +0200)] 
[3.13] gh-52876: Implement missing parameter in `codecs.StreamReaderWriter` functions (GH-136498) (#136515)

gh-52876: Implement missing parameter in `codecs.StreamReaderWriter` functions (GH-136498)

Closes GH-52876
(cherry picked from commit 35e2c359703e076256c1249b74b87043972e04d6)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
4 weeks ago[3.13] gh-82663: Clarify `codecs.iterdecode/encode` docs (GH-136497) (#136512)
Miss Islington (bot) [Thu, 10 Jul 2025 15:41:27 +0000 (17:41 +0200)] 
[3.13] gh-82663: Clarify `codecs.iterdecode/encode` docs (GH-136497) (#136512)

gh-82663: Clarify `codecs.iterdecode/encode` docs (GH-136497)

Closes GH-82663
(cherry picked from commit 4b41b2043b110a38616ff86ddb3f065ae7f15c3e)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
4 weeks ago[3.13] gh-136209: Add .. c:var:: declarations for C exception types (GH-136210) ...
Miss Islington (bot) [Thu, 10 Jul 2025 13:10:51 +0000 (15:10 +0200)] 
[3.13] gh-136209: Add .. c:var:: declarations for C exception types (GH-136210) (GH-136503)

(cherry picked from commit 85bc89f35f40c844df74d913fd32b2b1475fc942)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
4 weeks ago[3.13] gh-136438: Make sure `test_builtins` pass with all optimization levels (GH...
sobolevn [Thu, 10 Jul 2025 11:17:20 +0000 (14:17 +0300)] 
[3.13] gh-136438: Make sure `test_builtins` pass with all optimization levels (GH-136474) (#136502)

(cherry picked from commit c17654334946b232aa296696cf70ec93a09d8156)

4 weeks ago[3.13] gh-102740: Clarify time.monotonic() "system-wide" in the doc (GH-136431) ...
Miss Islington (bot) [Wed, 9 Jul 2025 23:13:59 +0000 (01:13 +0200)] 
[3.13] gh-102740: Clarify time.monotonic() "system-wide" in the doc (GH-136431) (#136489)

gh-102740: Clarify time.monotonic() "system-wide" in the doc (GH-136431)
(cherry picked from commit 9c4d28777526e9975b212d49fb0a530f773a3209)

Co-authored-by: Victor Stinner <vstinner@python.org>
4 weeks ago[3.13] gh-136145: Define 'standard library' and 'stdlib' in the glossary (GH-136486)
Miss Islington (bot) [Wed, 9 Jul 2025 21:40:58 +0000 (23:40 +0200)] 
[3.13] gh-136145: Define 'standard library' and 'stdlib' in the glossary (GH-136486)

(cherry picked from commit 92f392ad9e5e10ff98eac319e58ec79df5951ce0)

Co-authored-by: Zachary Ware <zach@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Éric <merwok@netwok.org>
4 weeks ago[3.13] gh-81520: Document unexpected `os.path.ismount` behaviour with btrfs subvolume...
Miss Islington (bot) [Wed, 9 Jul 2025 16:02:49 +0000 (18:02 +0200)] 
[3.13] gh-81520: Document unexpected `os.path.ismount` behaviour with btrfs subvolumes (GH-136058) (GH-136473)

gh-81520: Document unexpected `os.path.ismount` behaviour with btrfs subvolumes (GH-136058)
(cherry picked from commit 591abcc01fcf1c65c7fdfaca7274f5d3f9f022da)

Co-authored-by: Oskar Roesler <o.roesler@oscloud.info>
4 weeks ago[3.13] gh-131825: Fix `sqlite3` timezone-naive adapter recipe (GH-136270) (GH-136468)
Miss Islington (bot) [Wed, 9 Jul 2025 14:13:02 +0000 (16:13 +0200)] 
[3.13] gh-131825: Fix `sqlite3` timezone-naive adapter recipe (GH-136270) (GH-136468)

gh-131825: Fix `sqlite3` timezone-naive adapter recipe (GH-136270)
(cherry picked from commit 6a6cd3c07c0300c8799878a48d555470be2a52f7)

Co-authored-by: NekrodNIK <60639354+NekrodNIK@users.noreply.github.com>
4 weeks ago[3.13] Docs: unittest.enterModuleContext is not a classmethod (GH-136464) (#136466)
Miss Islington (bot) [Wed, 9 Jul 2025 14:01:23 +0000 (16:01 +0200)] 
[3.13] Docs: unittest.enterModuleContext is not a classmethod (GH-136464) (#136466)

Co-authored-by: Geoffrey Thomas <geofft@ldpreload.com>
4 weeks ago[3.13] gh-136447: Use `self.loop` instead of global `loop` variable in asyncio REPL...
Miss Islington (bot) [Wed, 9 Jul 2025 09:21:47 +0000 (11:21 +0200)] 
[3.13] gh-136447: Use `self.loop` instead of global `loop` variable in asyncio REPL (GH-136448) (#136457)

gh-136447: Use `self.loop` instead of global `loop` variable in asyncio REPL (GH-136448)
(cherry picked from commit 77fa7a4dcc771bf4d297ebfd4f357483d0750a1c)

Co-authored-by: Justin Su <injustsu@gmail.com>
4 weeks ago[3.13] gh-136162: Clean up `encodings` package documentation (#136456)
Stan Ulbrych [Wed, 9 Jul 2025 08:41:22 +0000 (10:41 +0200)] 
[3.13] gh-136162: Clean up `encodings` package documentation (#136456)

Remove docs of functions not yet implemented in 3.13

4 weeks ago[3.13] gh-136162: Document `encodings` package functions (GH-136164) (#136453)
Miss Islington (bot) [Wed, 9 Jul 2025 08:07:25 +0000 (10:07 +0200)] 
[3.13] gh-136162: Document `encodings` package functions (GH-136164) (#136453)

gh-136162: Document `encodings` package functions (GH-136164)

Closes GH-136162.
(cherry picked from commit ffd7f2f231f5543e6863c6c85e86f72233229771)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
4 weeks ago[3.13] gh-53243: Document `codecs.readbuffer_encode()` (GH-136284) (#136451)
Miss Islington (bot) [Wed, 9 Jul 2025 08:07:10 +0000 (10:07 +0200)] 
[3.13] gh-53243: Document `codecs.readbuffer_encode()` (GH-136284) (#136451)

gh-53243: Document `codecs.readbuffer_encode()` (GH-136284)

Closes GH-53243
(cherry picked from commit f1dcf3c7bf90961b8d5475154d3f28cfef0a054f)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
4 weeks ago[3.13] gh-94503: Update logging cookbook example with info on addressing log injectio...
Miss Islington (bot) [Wed, 9 Jul 2025 08:00:07 +0000 (10:00 +0200)] 
[3.13] gh-94503: Update logging cookbook example with info on addressing log injection. (GH-136446) (GH-136450)

Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
4 weeks ago[3.13] gh-101100: Fix sphinx warnings in `Doc/library/exceptions.rst` (GH-136309...
Miss Islington (bot) [Tue, 8 Jul 2025 12:12:22 +0000 (14:12 +0200)] 
[3.13] gh-101100: Fix sphinx warnings in `Doc/library/exceptions.rst` (GH-136309) (#136415)

Co-authored-by: Yuki Kobayashi <drsuaimqjgar@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
4 weeks ago[3.13] gh-136297: Fix `hypothesis` and `subTest` usage in `test_zoneinfo_property...
Miss Islington (bot) [Tue, 8 Jul 2025 08:14:14 +0000 (10:14 +0200)] 
[3.13] gh-136297: Fix `hypothesis` and `subTest` usage in `test_zoneinfo_property.py` (GH-136384) (#136408)

gh-136297: Fix `hypothesis` and `subTest` usage in `test_zoneinfo_property.py` (GH-136384)
(cherry picked from commit db699db99d214dccb7c4849fa609fdd5188ee038)

Co-authored-by: sobolevn <mail@sobolevn.me>
4 weeks ago[3.13] gh-136155: Docs: only add custom OpenGraph protocol meta tags for HTML builds...
Miss Islington (bot) [Tue, 8 Jul 2025 07:04:09 +0000 (09:04 +0200)] 
[3.13] gh-136155: Docs: only add custom OpenGraph protocol meta tags for HTML builds (GH-136187) (#136383)

Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
4 weeks ago[3.13] gh-101100: Fix sphinx warnings in `whatsnew/3.11.rst` (GH-136402) (#136404)
Miss Islington (bot) [Tue, 8 Jul 2025 06:46:32 +0000 (08:46 +0200)] 
[3.13] gh-101100: Fix sphinx warnings in `whatsnew/3.11.rst` (GH-136402) (#136404)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
4 weeks ago[3.13] gh-136032: Fix `argparse.BooleanOptionalAction` doc (GH-136133) (#136330)
Miss Islington (bot) [Tue, 8 Jul 2025 02:34:13 +0000 (04:34 +0200)] 
[3.13] gh-136032: Fix `argparse.BooleanOptionalAction` doc (GH-136133) (#136330)

gh-136032: Fix `argparse.BooleanOptionalAction` doc (GH-136133)
(cherry picked from commit 1953713d0d67a4f54ff75bf8449895a2f08cc750)

Co-authored-by: W. H. Wang <mattwang44@gmail.com>
4 weeks ago[3.13] gh-101100: Fix Sphinx warnings in library/email.compat32-message.rst (GH-13632...
Miss Islington (bot) [Mon, 7 Jul 2025 16:51:04 +0000 (18:51 +0200)] 
[3.13] gh-101100: Fix Sphinx warnings in library/email.compat32-message.rst (GH-136323) (#136390)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
4 weeks ago[3.13] gh-124486: Fix test_whichdb_ndbm in test_dbm on NetBSD (GH-136335) (GH-136379)
Miss Islington (bot) [Mon, 7 Jul 2025 12:50:40 +0000 (14:50 +0200)] 
[3.13] gh-124486: Fix test_whichdb_ndbm in test_dbm on NetBSD (GH-136335) (GH-136379)

On NetBSD, ndbm.open() does not fail for empty file.
(cherry picked from commit b7aa2a4b4df697db6ea45a555eeb3fefa5ca5bd4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 weeks ago[3.13] gh-86682: Add versionadded for sys._getframemodulename (GH-136325) (#136376)
Miss Islington (bot) [Mon, 7 Jul 2025 11:28:32 +0000 (13:28 +0200)] 
[3.13] gh-86682: Add versionadded for sys._getframemodulename (GH-136325) (#136376)

gh-86682: Add versionadded for sys._getframemodulename (GH-136325)

add versionadded for sys._getframemodulename
(cherry picked from commit 11f074b243756bca0db5a7d35dd84f00879de616)

Co-authored-by: Anthony Sottile <asottile@umich.edu>
4 weeks ago[3.13] gh-101100: Fix sphinx warnings in `whatsnew/3.9` (GH-136163) (#136373)
Miss Islington (bot) [Mon, 7 Jul 2025 10:47:59 +0000 (12:47 +0200)] 
[3.13] gh-101100: Fix sphinx warnings in `whatsnew/3.9` (GH-136163) (#136373)

Co-authored-by: sobolevn <mail@sobolevn.me>
4 weeks ago[3.13] gh-136289: Fix test_sqlite3 on platforms with strict UTF-8 filesystem (GH...
Miss Islington (bot) [Mon, 7 Jul 2025 09:43:22 +0000 (11:43 +0200)] 
[3.13] gh-136289: Fix test_sqlite3 on platforms with strict UTF-8 filesystem (GH-136326) (GH-136351)

(cherry picked from commit 85b817da94cf911a964d42e81a57e1de9ab71ef9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 weeks ago[3.13] gh-94503: Update logging cookbook with an example of uniformly handling newlin...
Miss Islington (bot) [Mon, 7 Jul 2025 09:18:53 +0000 (11:18 +0200)] 
[3.13] gh-94503: Update logging cookbook with an example of uniformly handling newlines in output. (GH-136217) (GH-136358)

(cherry picked from commit d05423a90ce0ee9ad5207dce3dd06ab2397f3d6e)

4 weeks ago[3.13] gh-127502: Remove XML vulnerability table (GH-135294) (#136360)
Miss Islington (bot) [Mon, 7 Jul 2025 09:10:20 +0000 (11:10 +0200)] 
[3.13] gh-127502: Remove XML vulnerability table (GH-135294) (#136360)

gh-127502: Remove XML vulnerability table (GH-135294)

* Remove the table
* Replace warnings with notes

Latest releases of Python 3.9-3.15 include expat 2.7.1 which is not vulnerable.

expat 2.6.0 was released in February 2024.
(cherry picked from commit cb99d992774b67761441e122965ed056bac09241)

Co-authored-by: Victor Stinner <vstinner@python.org>
4 weeks ago[3.13] gh-109700: fix interpreter finalization while handling memory error (GH-136342...
Miss Islington (bot) [Mon, 7 Jul 2025 07:37:35 +0000 (09:37 +0200)] 
[3.13] gh-109700: fix interpreter finalization while handling memory error (GH-136342) (#136353)

gh-109700: fix interpreter finalization while handling memory error (GH-136342)
(cherry picked from commit 0c3e3da19570424649c33c0c2c29dc12541935e7)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
5 weeks ago[3.13] Docs: Move "or" outside monospace syntax in tarfile.rst (GH-136263) (GH-136348)
Rafael Fontenelle [Mon, 7 Jul 2025 01:24:51 +0000 (22:24 -0300)] 
[3.13] Docs: Move "or" outside monospace syntax in tarfile.rst (GH-136263) (GH-136348)

Docs: Move "or" outside monospace syntax in `tarfile.rst` (GH-136263)

(cherry picked from commit ade19880943509945da193202ca89e0b2b6fbd75)

5 weeks ago[3.13] gh-109070: Document that get_context in multiprocessing have side effect ...
Miss Islington (bot) [Sun, 6 Jul 2025 18:32:15 +0000 (20:32 +0200)] 
[3.13] gh-109070: Document that get_context in multiprocessing have side effect (GH-136341) (GH-136344)

gh-109070: Document that get_context in multiprocessing have side effect (GH-136341)

Document that get_context in multiprocessing have side effect
(cherry picked from commit 77a8bd29da99e7d4fa8e7f07c4063977c2bb14d3)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
5 weeks ago[3.13] gh-101100: Fix references in `http.cookiejar` docs (GH-136238) (GH-136317)
Miss Islington (bot) [Sat, 5 Jul 2025 13:35:52 +0000 (15:35 +0200)] 
[3.13] gh-101100: Fix references in `http.cookiejar` docs (GH-136238) (GH-136317)

gh-101100: Fix references in `http.cookiejar` docs (GH-136238)
(cherry picked from commit f0c7344a8fbfe67c05981cce67562e7facfae73d)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
5 weeks ago[3.13] gh-136297: Test all `pickle` protocols in `test_zoneinfo_property.py` (GH...
Miss Islington (bot) [Sat, 5 Jul 2025 06:36:41 +0000 (08:36 +0200)] 
[3.13] gh-136297: Test all `pickle` protocols in `test_zoneinfo_property.py` (GH-136298) (#136312)

gh-136297: Test all `pickle` protocols in `test_zoneinfo_property.py` (GH-136298)
(cherry picked from commit 5de7e3f9739b01ad180fffb242ac57cea930e74d)

Co-authored-by: sobolevn <mail@sobolevn.me>
5 weeks ago[3.13] gh-136288: Fix error message in `_testcapi/vectorcall.c` (GH-136258) (GH-136295)
Miss Islington (bot) [Fri, 4 Jul 2025 16:17:10 +0000 (18:17 +0200)] 
[3.13] gh-136288: Fix error message in `_testcapi/vectorcall.c` (GH-136258) (GH-136295)

gh-136288: Fix error message in `_testcapi/vectorcall.c` (GH-136258)

Use the %N format specifier instead of %s and `PyType_GetName`.
(cherry picked from commit d1d5dce14f90d777608e4403d09079421ff55944)

Co-authored-by: William S Fulton <wsf@fultondesigns.co.uk>
5 weeks ago[3.13] gh-102555: Fix comment parsing in HTMLParser according to the HTML5 standard...
Miss Islington (bot) [Fri, 4 Jul 2025 07:22:33 +0000 (09:22 +0200)] 
[3.13] gh-102555: Fix comment parsing in HTMLParser according to the HTML5 standard (GH-135664) (GH-136272)

* "--!>" now ends the comment.
* "-- >" no longer ends the comment.
* Support abnormally ended empty comments "<-->" and "<--->".

---------
(cherry picked from commit 8ac7613dc8b8f82253d7c0e2b6ef6ed703a0a1ee)

Co-author: Kerim Kabirov <the.privat33r+gh@pm.me>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
5 weeks ago[3.13] gh-135661: Fix parsing start and end tags in HTMLParser according to the HTML5...
Miss Islington (bot) [Thu, 3 Jul 2025 21:07:40 +0000 (23:07 +0200)] 
[3.13] gh-135661: Fix parsing start and end tags in HTMLParser according to the HTML5 standard (GH-135930) (GH-136256)

* Whitespaces no longer accepted between `</` and the tag name.
  E.g. `</ script>` does not end the script section.

* Vertical tabulation (`\v`) and non-ASCII whitespaces no longer recognized
  as whitespaces. The only whitespaces are `\t\n\r\f `.

* Null character (U+0000) no longer ends the tag name.

* Attributes and slashes after the tag name in end tags are now ignored,
  instead of terminating after the first `>` in quoted attribute value.
  E.g. `</script/foo=">"/>`.

* Multiple slashes and whitespaces between the last attribute and closing `>`
  are now ignored in both start and end tags. E.g. `<a foo=bar/ //>`.

* Multiple `=` between attribute name and value are no longer collapsed.
  E.g. `<a foo==bar>` produces attribute "foo" with value "=bar".

* Whitespaces between the `=` separator and attribute name or value are no
  longer ignored. E.g. `<a foo =bar>` produces two attributes "foo" and
  "=bar", both with value None; `<a foo= bar>` produces two attributes:
  "foo" with value "" and "bar" with value None.

---------
(cherry picked from commit 0243f97cbadec8d985e63b1daec5d1cbc850cae3)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
5 weeks ago[3.13] gh-115119: Recommend upstream libmpdec in build requirements (#136205) (#136245)
Victor Stinner [Thu, 3 Jul 2025 12:55:30 +0000 (14:55 +0200)] 
[3.13] gh-115119: Recommend upstream libmpdec in build requirements (#136205) (#136245)

gh-115119: Recommend upstream libmpdec in build requirements (#136205)

(cherry picked from commit b2e498ac26ba4720fa8a6a466aa8416ab69754d7)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
5 weeks ago[3.13] gh-130664: Treat '0' fill character with align '=' as zero-padding for Fractio...
Miss Islington (bot) [Thu, 3 Jul 2025 11:20:49 +0000 (13:20 +0200)] 
[3.13] gh-130664: Treat '0' fill character with align '=' as zero-padding for Fraction's (GH-131067) (GH-136242)

(cherry picked from commit c113a8e5236b31217d82ce289d3df6ec9e8411cd)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
5 weeks ago[3.13] gh-135069: Fix exception message in encodings.idna module (GH-135071) (#136236)
Miss Islington (bot) [Thu, 3 Jul 2025 10:31:43 +0000 (12:31 +0200)] 
[3.13] gh-135069: Fix exception message in encodings.idna module (GH-135071) (#136236)

gh-135069: Fix exception message in encodings.idna module (GH-135071)
(cherry picked from commit 8dc3383abea72ee3deafec60818aeb817d8fec09)

Co-authored-by: Daniel Hollas <daniel.hollas@bristol.ac.uk>
5 weeks ago[3.13] Docs: fix docstring of `email.message.Message.add_header` (GH-134355) (#135340)
Miss Islington (bot) [Thu, 3 Jul 2025 10:22:39 +0000 (12:22 +0200)] 
[3.13] Docs: fix docstring of `email.message.Message.add_header` (GH-134355) (#135340)

Docs: fix docstring of `email.message.Message.add_header` (GH-134355)
(cherry picked from commit c23eec29602eb090d6f3e854e41c22c1e2c6dfc2)

Co-authored-by: Alexander Shadchin <shadchin@yandex-team.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
5 weeks ago[3.13] Fix comments for `heapq.siftup_max` (GH-135359) (#136233)
Miss Islington (bot) [Thu, 3 Jul 2025 10:15:01 +0000 (12:15 +0200)] 
[3.13] Fix comments for `heapq.siftup_max` (GH-135359) (#136233)

Fix comments for `heapq.siftup_max` (GH-135359)
(cherry picked from commit 8f8bdf251a5f79d15ac2b1a6d19860033bf50c79)

Co-authored-by: Alper <alperyoney@fb.com>
Co-authored-by: mpage <mpage@meta.com>
5 weeks ago[3.13] gh-135640: Adds more type checking to ElementTree (GH-135643) (GH-136226)
Miss Islington (bot) [Thu, 3 Jul 2025 08:12:21 +0000 (10:12 +0200)] 
[3.13] gh-135640: Adds more type checking to ElementTree (GH-135643) (GH-136226)

(cherry picked from commit e0245c789f54b63d461717a91eec8ffccbe18966)

Co-authored-by: Kira <kirawhoprograms@fastmail.com>
5 weeks ago[3.13] gh-135836: Fix `IndexError` in `asyncio.create_connection()` (GH-135875) ...
Miss Islington (bot) [Thu, 3 Jul 2025 04:31:43 +0000 (06:31 +0200)] 
[3.13] gh-135836: Fix `IndexError` in `asyncio.create_connection()` (GH-135875) (#136222)

gh-135836: Fix `IndexError` in `asyncio.create_connection()` (GH-135875)
(cherry picked from commit 9084b151567d02936ea1374961809b69b4cd883d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
5 weeks ago[3.13] gh-135836: Fix `IndexError` in `asyncio.create_connection` with empty exceptio...
Miss Islington (bot) [Thu, 3 Jul 2025 04:07:28 +0000 (06:07 +0200)] 
[3.13] gh-135836: Fix `IndexError` in `asyncio.create_connection` with empty exceptions list (GH-135845) (#136168)

gh-135836: Fix `IndexError` in `asyncio.create_connection` with empty exceptions list (GH-135845)
(cherry picked from commit 0e19db653dfa1a6e750e9cede1f6922e5fd1e808)

Co-authored-by: heliang666s <147408835+heliang666s@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
5 weeks ago[3.13] gh-136135: Doc: Fix some broken links (GH-136137) (GH-136219)
Miss Islington (bot) [Thu, 3 Jul 2025 00:59:13 +0000 (02:59 +0200)] 
[3.13] gh-136135: Doc: Fix some broken links (GH-136137) (GH-136219)

gh-136135: Doc: Fix some broken links (GH-136137)
(cherry picked from commit 135ba86212ad116af3cc4a6ba656bc8cfaab131a)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
5 weeks ago[3.13] Replace `capi-sig` mailing list with `discuss.python.org` (GH-136211) (#136214)
Miss Islington (bot) [Wed, 2 Jul 2025 17:55:17 +0000 (19:55 +0200)] 
[3.13] Replace `capi-sig` mailing list with `discuss.python.org` (GH-136211) (#136214)

Replace `capi-sig` mailing list with `discuss.python.org` (GH-136211)
(cherry picked from commit 7afe1adb0089d0f2df2add79bbc2300c2f236d90)

Co-authored-by: sobolevn <mail@sobolevn.me>
5 weeks ago[3.13] gh-115119: Defer removal of bundled libmpdec to 3.16 (GH-133997) (#136201)
Sergey B Kirpichev [Wed, 2 Jul 2025 12:37:06 +0000 (15:37 +0300)] 
[3.13] gh-115119: Defer removal of bundled libmpdec to 3.16 (GH-133997) (#136201)

Rename libmpdecimal -> libmpdec

see https://www.bytereef.org/mpdecimal/doc/libmpdec/index.html
(cherry picked from commit b19c9da401b9e81078103861f55e0762b93453f0)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
5 weeks ago[3.13] gh-87298: Add tests for find_in_strong_cache() bug in _zoneinfo (GH-24829...
Miss Islington (bot) [Tue, 1 Jul 2025 15:19:39 +0000 (17:19 +0200)] 
[3.13] gh-87298: Add tests for find_in_strong_cache() bug in _zoneinfo (GH-24829) (GH-136182)

(cherry picked from commit 12ce16bc134a602d2ac8acde86ae69f70183cb9f)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Paul Ganssle <p.ganssle@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
5 weeks ago[3.13] gh-136169: Update parameter name in fractions.from_float method (GH-136172...
Miss Islington (bot) [Tue, 1 Jul 2025 13:30:49 +0000 (15:30 +0200)] 
[3.13] gh-136169: Update parameter name in fractions.from_float method (GH-136172) (#136175)

gh-136169: Update parameter name in fractions.from_float method (GH-136172)

Update parameter name in fractions.from_float method
(cherry picked from commit 9c0cb5beb893284c5d49f947bbd81dfe081a5d71)

Co-authored-by: Vladyslav Lazoryk <80263725+lazorikv@users.noreply.github.com>
5 weeks ago[3.13] gh-135607: remove null checking of weakref list in dealloc of extension module...
Victor Stinner [Tue, 1 Jul 2025 09:26:52 +0000 (11:26 +0200)] 
[3.13] gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614) (#136126)

gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614)

(cherry picked from commit b1056c2a446b43452e457d5fd5f1bde66afd3883)

Co-authored-by: Xuanteng Huang <44627253+xuantengh@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
5 weeks ago[3.13] gh-133982: Use implementation-specific `open` in `test_fileio.OtherFileTests...
Miss Islington (bot) [Mon, 30 Jun 2025 22:19:14 +0000 (00:19 +0200)] 
[3.13] gh-133982: Use implementation-specific `open` in `test_fileio.OtherFileTests` (GH-135364) (GH-136149)

gh-133982: Use implementation-specific `open` in `test_fileio.OtherFileTests` (GH-135364)
(cherry picked from commit 23caccf74ce2c8dc5d9c5eb6350d21ef20c6ea0b)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
5 weeks ago[3.13] gh-85702: Catch PermissionError in zoneinfo.load_tzdata() (GH-136117) (#136136)
Miss Islington (bot) [Mon, 30 Jun 2025 16:31:45 +0000 (18:31 +0200)] 
[3.13] gh-85702: Catch PermissionError in zoneinfo.load_tzdata() (GH-136117) (#136136)

gh-85702: Catch PermissionError in zoneinfo.load_tzdata() (GH-136117)
(cherry picked from commit ee47670e8b8648b14fd4cb64a9d47d6ed3c5b6b7)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
5 weeks ago[3.13] gh-63207: Update `time.time` documentation after GH-116822 (GH-136068) (#136139)
Miss Islington (bot) [Mon, 30 Jun 2025 16:16:27 +0000 (18:16 +0200)] 
[3.13] gh-63207: Update `time.time` documentation after GH-116822 (GH-136068) (#136139)

gh-63207: Update `time.time` documentation after GH-116822 (GH-136068)
(cherry picked from commit 486587da42dc2beda1e7807c35678f181b57a60f)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
5 weeks ago[3.13] gh-85702: Catch IsADirectoryError in zoneinfo (GH-131333) (#136130)
Miss Islington (bot) [Mon, 30 Jun 2025 15:00:56 +0000 (17:00 +0200)] 
[3.13] gh-85702: Catch IsADirectoryError in zoneinfo (GH-131333) (#136130)

gh-85702: Catch IsADirectoryError in zoneinfo (GH-131333)
(cherry picked from commit d22604a6d1237c42ec5f43df51dfa9aa58240ba4)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
5 weeks ago[3.13] gh-136122: Fix video link for math.tau documentation (GH-136129) (#136132)
Miss Islington (bot) [Mon, 30 Jun 2025 14:49:35 +0000 (16:49 +0200)] 
[3.13] gh-136122: Fix video link for math.tau documentation (GH-136129) (#136132)

Co-authored-by: sedram <54665381+sedram@users.noreply.github.com>
5 weeks ago[3.13] gh-48181: Document `codecs.charmap_build` (GH-135997) (#136124)
Miss Islington (bot) [Mon, 30 Jun 2025 13:52:53 +0000 (15:52 +0200)] 
[3.13] gh-48181: Document `codecs.charmap_build` (GH-135997) (#136124)

gh-48181: Document `codecs.charmap_build` (GH-135997)
(cherry picked from commit 2bdd50309f543f449d7d82b64ed6f60ae0aa80b9)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
5 weeks ago[3.13] gh-131885: Update documented signatures for `csv.{writer,reader}` (GH-136085...
Miss Islington (bot) [Mon, 30 Jun 2025 13:38:49 +0000 (15:38 +0200)] 
[3.13] gh-131885: Update documented signatures for `csv.{writer,reader}` (GH-136085) (GH-136121)

gh-131885: Update documented signatures for `csv.{writer,reader}` (GH-136085)
(cherry picked from commit 75f40595e555e7d016cf9d2da8aaddb78bb20b2f)

Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
5 weeks ago[3.13] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) (#136026)
Victor Stinner [Mon, 30 Jun 2025 09:40:06 +0000 (11:40 +0200)] 
[3.13] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908) (#136026)

gh-128051: Fix tests if sys.float_repr_style is 'legacy' (#135908)

(cherry picked from commit f3aec60d7a01c5f085a3ef2d6670d46b42b8ddd3)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
5 weeks ago[3.13] gh-132813: Fix the csv documentation for quoting and escaping (GH-133209)...
Miss Islington (bot) [Mon, 30 Jun 2025 07:48:11 +0000 (09:48 +0200)] 
[3.13] gh-132813: Fix the csv documentation for quoting and escaping (GH-133209) (#136114)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
5 weeks ago[3.13] gh-136087: Remove `\r` from documented `os.linesep` values (GH-136088) (#136112)
Miss Islington (bot) [Mon, 30 Jun 2025 07:44:38 +0000 (09:44 +0200)] 
[3.13] gh-136087: Remove `\r` from documented `os.linesep` values (GH-136088) (#136112)

gh-136087: Remove `\r` from documented `os.linesep` values (GH-136088)
(cherry picked from commit 980a56843bf631ea80c1486a367d41031dec6a7e)

Co-authored-by: sobolevn <mail@sobolevn.me>
6 weeks ago[3.13] Doc: Fix duplicate words in idlelib (GH-136089) (#136091)
Miss Islington (bot) [Sun, 29 Jun 2025 07:09:36 +0000 (09:09 +0200)] 
[3.13] Doc: Fix duplicate words in idlelib (GH-136089) (#136091)

Doc: Fix duplicate words in idlelib (GH-136089)
(cherry picked from commit f04d2b8819eb37d5439b7437f1e80a1e5c5c4f07)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
6 weeks ago[3.13] gh-76595: Add note on `PyCapsule_Import` behavior (GH-134022) (GH-136075)
Miss Islington (bot) [Sat, 28 Jun 2025 13:07:42 +0000 (15:07 +0200)] 
[3.13] gh-76595: Add note on `PyCapsule_Import` behavior (GH-134022) (GH-136075)

gh-76595: Add note on `PyCapsule_Import` behavior (GH-134022)
(cherry picked from commit 579acf45629fa0b7787ec78fa4049fc6a6388b71)

Co-authored-by: Nicolas Trangez <ikke@nicolast.be>
6 weeks ago[3.13] gh-135571: Guard `_hashlib` usage in `test_hashlib.py` (GH-135572) (#136041)
Bénédikt Tran [Sat, 28 Jun 2025 08:15:49 +0000 (10:15 +0200)] 
[3.13] gh-135571: Guard `_hashlib` usage in `test_hashlib.py` (GH-135572) (#136041)

(cherry picked from commit 065194c1a971b59547f1bb2cc64760c4bf0ee674)

Co-authored-by: Will Childs-Klein <willck93@gmail.com>
6 weeks ago[3.13] gh-108765: fix comment about macro definitions in `_stat.c` post GH-108854...
Miss Islington (bot) [Fri, 27 Jun 2025 15:39:18 +0000 (17:39 +0200)] 
[3.13] gh-108765: fix comment about macro definitions in `_stat.c` post GH-108854 (GH-136027) (#136044)

gh-108765: fix comment about macro definitions in `_stat.c` post GH-108854 (GH-136027)
(cherry picked from commit 0141e7f9e66e5e5ac3949fb018dd6811cd630dca)

Co-authored-by: Lee Dogeon <dev.moreal@gmail.com>
6 weeks ago[3.13] gh-136028: Fix parsing month names containing "İ" (U+0130) in strptime() ...
Miss Islington (bot) [Fri, 27 Jun 2025 14:10:51 +0000 (16:10 +0200)] 
[3.13] gh-136028: Fix parsing month names containing "İ" (U+0130) in strptime() (GH-136029) (GH-136038)

This affects locales az_AZ, ber_DZ, ber_MA and crh_UA.
(cherry picked from commit 731f5b8ab3970e344bfbc4ff86df767a0795f0fc)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 weeks ago[3.13] gh-92266: Replace tabs with four spaces in Python files (GH-135983) (#136036)
Miss Islington (bot) [Fri, 27 Jun 2025 13:27:12 +0000 (15:27 +0200)] 
[3.13] gh-92266: Replace tabs with four spaces in Python files (GH-135983) (#136036)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
6 weeks ago[3.13] gh-78465: Fix error message for cls.__new__(cls, ...) where cls is not instant...
Serhiy Storchaka [Fri, 27 Jun 2025 12:07:22 +0000 (15:07 +0300)] 
[3.13] gh-78465: Fix error message for cls.__new__(cls, ...) where cls is not instantiable (GH-135981) (GH-136031)

Previous error message suggested to use cls.__new__(), which
obviously does not work. Now the error message is the same as for
cls(...).
(cherry picked from commit c45f4f3ebe34529a8db3a7918e8dd2e9f7ce8e86)

6 weeks ago[3.13] gh-53203: Fix strptime() for %c, %x and %X formats on some locales (GH-135971...
Miss Islington (bot) [Fri, 27 Jun 2025 08:12:58 +0000 (10:12 +0200)] 
[3.13] gh-53203: Fix strptime() for %c, %x and %X formats on some locales (GH-135971) (GH-136020)

* Add detection of decimal non-ASCII alt digits.
* Add support of non-decimal alt digits on locale lzh_TW.
* Accept only numbers in correct range if alt digits are known.
* Fix bug in detecting the position of the week day name on locales byn_ER and wal_ET.
* Fix support of single-digit hour on locales ar_SA and bg_BG.
* Add support for %T, %R, %r, %C, %OC.
* Prepare code to use nl_langinfo().

(cherry picked from commit 07183ebce36462aaaea4d20e0502b20821dd2682)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
6 weeks ago[3.13] gh-135968: Add iOS binary stubs for strip (GH-135970) (#136015)
Miss Islington (bot) [Fri, 27 Jun 2025 05:38:27 +0000 (07:38 +0200)] 
[3.13] gh-135968: Add iOS binary stubs for strip (GH-135970) (#136015)

Adds iOS binary stubs for invoking `strip`
(cherry picked from commit 0c6c09b7377e10dcf80844c961b578fbdc6f5375)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
6 weeks ago[3.13] gh-135966: Modify iOS testbed to make app_packages a site directory (GH-135967...
Russell Keith-Magee [Fri, 27 Jun 2025 05:37:05 +0000 (13:37 +0800)] 
[3.13] gh-135966: Modify iOS testbed to make app_packages a site directory (GH-135967) (#136013)

The iOS testbed now treats the app_packages folder as a site folder. This ensures it is
on the path, but also ensures any .pth files are processed on app startup.
(cherry picked from commit b38810bab76c11ea09260a817b3354aebc2af580)

6 weeks ago[3.13] Docs: Fix duplicate word typos (GH-135958) (GH-136008)
Brian Schubert [Fri, 27 Jun 2025 00:13:46 +0000 (20:13 -0400)] 
[3.13] Docs: Fix duplicate word typos (GH-135958) (GH-136008)

(cherry picked from commit 34ce1920ca33c11ca2c379ed0ef30a91010bef4f)

6 weeks ago[3.13] gh-135995: Fix missing char in palmos encoding (GH-135990) (#136002)
Miss Islington (bot) [Thu, 26 Jun 2025 22:59:24 +0000 (00:59 +0200)] 
[3.13] gh-135995: Fix missing char in palmos encoding (GH-135990) (#136002)

gh-135995: Fix missing char in palmos encoding (GH-135990)

0x8b correctly encodes to ‹, but 0x9b was mistakenly marked as a control character instead of ›.
---------
(cherry picked from commit 58a42dea97f4fa0df38ef4a95a2ede65e0549f71)

Co-authored-by: Nathan Korth <nkorth@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 weeks ago[3.13] IDLE: Update NEWS2x.txt with 2.7.0 release date (GH-129908) (#136000)
Miss Islington (bot) [Thu, 26 Jun 2025 20:42:29 +0000 (22:42 +0200)] 
[3.13] IDLE: Update NEWS2x.txt with 2.7.0 release date (GH-129908) (#136000)

IDLE: Update NEWS2x.txt with 2.7.0 release date (GH-129908)
(cherry picked from commit 642e5dfc74310d15bb81f8e94167590380a5fbfb)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
6 weeks ago[3.13] gh-91555: add warning to docs about possibility of deadlock/infinite recursion...
Miss Islington (bot) [Thu, 26 Jun 2025 14:26:11 +0000 (16:26 +0200)] 
[3.13] gh-91555: add warning to docs about possibility of deadlock/infinite recursion (GH-135954) (GH-135989)

(cherry picked from commit a4625d597f9fc2d083fbb9c22d3ffcec73b2061a)

6 weeks ago[3.13] gh-135110: Fix misleading `generator.close()` documentation (GH-135152) (GH...
Miss Islington (bot) [Thu, 26 Jun 2025 13:34:11 +0000 (15:34 +0200)] 
[3.13] gh-135110: Fix misleading `generator.close()` documentation (GH-135152) (GH-135986)

gh-135110: Fix misleading `generator.close()` documentation (GH-135152)

The documentation incorrectly stated that generator.close() 'raises' a
GeneratorExit exception. This was misleading because the method doesn't
raise the exception to the caller - it sends the exception internally
to the generator and returns None.
(cherry picked from commit 0d76dccc3b4376ba075a1737f58809e3d83aaaa3)

Co-authored-by: Connor Denihan <188690869+cdenihan@users.noreply.github.com>
6 weeks ago[3.13] gh-135965: Delete duplicate word in isolating-extensions howto (GH-135964...
Miss Islington (bot) [Thu, 26 Jun 2025 11:47:47 +0000 (13:47 +0200)] 
[3.13] gh-135965: Delete duplicate word in isolating-extensions howto (GH-135964) (#135978)

gh-135965: Delete duplicate word in isolating-extensions howto (GH-135964)

Change use use to use.
(cherry picked from commit ffb2a02f98d904505c8a82d8540c36dee4c67eed)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
6 weeks ago[3.13] gh-135956: Remove duplicate word in _pydatetime docstring (GH-135957) (#135963)
Miss Islington (bot) [Thu, 26 Jun 2025 04:08:17 +0000 (06:08 +0200)] 
[3.13] gh-135956: Remove duplicate word in _pydatetime docstring (GH-135957) (#135963)

gh-135956: Remove duplicate word in _pydatetime docstring (GH-135957)

_pydatetime.isoformat docstring repeats 'giving'.
(cherry picked from commit e3ea6f2b3b084700a34ce392f5cf897407469b3a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
6 weeks ago[3.13] gh-91555: Revert disabling of logger while handling log record. (GH-135858...
Miss Islington (bot) [Wed, 25 Jun 2025 18:24:55 +0000 (20:24 +0200)] 
[3.13] gh-91555: Revert disabling of logger while handling log record. (GH-135858) (GH-135911)

Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
6 weeks ago[3.13] Docs: Fix indentation in `slice` class of `functions.rst` (GH-134393) (GH...
Miss Islington (bot) [Wed, 25 Jun 2025 17:45:57 +0000 (19:45 +0200)] 
[3.13] Docs: Fix indentation in `slice` class of `functions.rst` (GH-134393) (GH-135949)

Docs: Fix indentation in `slice` class of `functions.rst` (GH-134393)

Paragraph should not be under `slice.step`. It applies to the whole class.

(cherry picked from commit 6227662ff3bf838d31e9441eda935d24733d705a)

Co-authored-by: Rob Reynolds <13379223+reynoldsnlp@users.noreply.github.com>
6 weeks ago[3.13] gh-135871: Fix needless spinning in `_PyMutex_LockTimed` with zero timeout...
Sam Gross [Wed, 25 Jun 2025 17:09:17 +0000 (13:09 -0400)] 
[3.13] gh-135871: Fix needless spinning in `_PyMutex_LockTimed` with zero timeout (gh-135872) (gh-135947)

The free threading build could spin unnecessarily on `_Py_yield()` if the initial
compare and swap failed.
(cherry picked from commit cbfaf41caf135b8598a560854cd59e992a2ccfed)

Co-authored-by: Joseph Tibbertsma <josephtibbertsma@gmail.com>
6 weeks ago[3.13] Docs: Add cross-reference for `positional_item` in the `calls` productionlist...
Miss Islington (bot) [Wed, 25 Jun 2025 14:31:25 +0000 (16:31 +0200)] 
[3.13] Docs: Add cross-reference for `positional_item` in the `calls` productionlist (GH-129977) (GH-135941)

Docs: Add cross-reference for `positional_item` in the `calls` productionlist (GH-129977)

Add missing hyperlink for `positional_item`
(cherry picked from commit d2154912b3b10823c138e904e74f2a1e7e7ca96c)

Co-authored-by: HarryLHW <123lhw321@gmail.com>
6 weeks ago[3.13] gh-135839: Fix `module_traverse` and `module_clear` in `_interpchannelsmodule...
sobolevn [Wed, 25 Jun 2025 09:25:27 +0000 (12:25 +0300)] 
[3.13] gh-135839: Fix `module_traverse` and `module_clear` in `_interpchannelsmodule` (GH-135840) (#135919)

(cherry picked from commit dd59c786cfb1018eb5abe877bfa7265ea9a3c2b9)

6 weeks ago[3.13] gh-135755: Docs: C API: Document missing `PyFunction_GET*` macros (GH-135762...
Miss Islington (bot) [Wed, 25 Jun 2025 08:51:58 +0000 (10:51 +0200)] 
[3.13] gh-135755: Docs: C API: Document missing `PyFunction_GET*` macros (GH-135762) (GH-135917)

(cherry picked from commit ca87a47b3d92aabaefbbe79c0493d66602184b41)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>