]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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 )
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>
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>
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>
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>
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>
Thomas Wouters [Tue, 14 Oct 2025 18:32:03 +0000 (20:32 +0200)]
Post 3.13.9
Thomas Wouters [Tue, 14 Oct 2025 18:33:45 +0000 (20:33 +0200)]
Python 3.13.9
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 )
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
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>
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>
Thomas Wouters [Tue, 14 Oct 2025 13:52:15 +0000 (15:52 +0200)]
Python 3.13.9
Miss Islington (bot) [Fri, 10 Oct 2025 21:26:36 +0000 (23:26 +0200)]
[3.13] gh-139783: Fix inspect.getsourcelines() for the case when a decorator is followed by a comment or an empty line (GH-139836) (GH-139890)
(cherry picked from commit
f4104f5d74b99712253fceb39a4460ee3f7a281c )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sergey B Kirpichev [Tue, 14 Oct 2025 13:45:02 +0000 (16:45 +0300)]
[3.13] gh-102431: Clarify constraints on operands of Decimal logical operations (GH-102836) (#140106)
* [3.13] gh-102431: Clarify constraints on operands of Decimal logical operations (GH-102836)
Sync C/Python implementation of the decimal: logical_ops for contexts.
(cherry picked from commit
6ecf77dbdec7838e9ce2298cb8d16e8c2250da81 )
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Miss Islington (bot) [Tue, 14 Oct 2025 13:40:13 +0000 (15:40 +0200)]
[3.13] GH-140058: Clear key and value if `PyTuple_New` fails in `dictiter_iternextitem` (GH-140059) (#140108)
GH-140058: Clear key and value if `PyTuple_New` fails in `dictiter_iternextitem` (GH-140059)
(cherry picked from commit
ded59f7e8e93274488584574ff2336a98bc4eff6 )
Co-authored-by: Sergey Miryanov <sergey.miryanov@gmail.com>
Miss Islington (bot) [Tue, 14 Oct 2025 11:16:02 +0000 (13:16 +0200)]
[3.13] gh-70765: Remove unnecessary extra backtick from Changelog entry (GH-140071) (#140101)
gh-70765: Remove unnecessary extra backtick from Changelog entry (GH-140071)
(cherry picked from commit
f70082b4777804b69e98192121a61c2048669a16 )
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Miss Islington (bot) [Tue, 14 Oct 2025 08:37:07 +0000 (10:37 +0200)]
[3.13] gh-82575: Adjust `time.get_clock_info` *adjustable* attribute doc (GH-135920) (#140098)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Miss Islington (bot) [Tue, 14 Oct 2025 08:32:41 +0000 (10:32 +0200)]
[3.13] gh-137871: Clarify cmath.nan documentation by linking to math module (GH-137876) (#140096)
Co-authored-by: Aziz <azizbenothman76@gmail.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Miss Islington (bot) [Tue, 14 Oct 2025 08:29:16 +0000 (10:29 +0200)]
[3.13] gh-97914: Reword misleading sentence on conditional expressions (GH-139064) (#140094)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Gilles Peiffer <gilles.peiffer.yt@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Miss Islington (bot) [Tue, 14 Oct 2025 08:26:12 +0000 (10:26 +0200)]
[3.13] gh-138072: Fix typos and grammatical errors and improve clarity in asyncio howto document (GH-138895) (#140092)
Co-authored-by: Morteza24 <mortezia4444.mz@gmail.com>
Miss Islington (bot) [Tue, 14 Oct 2025 08:24:31 +0000 (10:24 +0200)]
[3.13] gh-102247: Improve documentation of http.HTTPStatus members update (GH-133190) (#140090)
Co-authored-by: Loïc Simon <loic.simon@napta.io>
Miss Islington (bot) [Tue, 14 Oct 2025 08:18:53 +0000 (10:18 +0200)]
[3.13] gh-101100: Fix sphinx warnings in `library/smtplib.rst` (GH-139991) (#140085)
Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Mikhail Efimov [Tue, 14 Oct 2025 03:02:32 +0000 (06:02 +0300)]
[3.13] gh-140000: Traverse `name` attribute for `TypeVar`, `TypeVarTuple`, `TypeAliasType`, `ParamSpec` (GH-140016) (#140073)
Correct traversing name attribute for TypeVar, TypeVarTuple, TypeAliasType, ParamSpec
Miss Islington (bot) [Mon, 13 Oct 2025 15:56:31 +0000 (17:56 +0200)]
[3.13] gh-138772: Fix and improve documentation for turtle color functions (GH-139325) (GH-140048)
Use multiple signatures for clarity.
Explain different forms of bgcolor() in details.
Fix outdated docstrings.
(cherry picked from commit
525dcfe5236ee21b234cad16d2a3d5769e77e0ec )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Miss Islington (bot) [Mon, 13 Oct 2025 11:29:41 +0000 (13:29 +0200)]
[3.13] gh-107073: fix relevant typo in `PyObject_ClearManagedDict` (GH-140032) (#140034)
gh-107073: fix relevant typo in `PyObject_ClearManagedDict` (GH-140032)
(cherry picked from commit
52996aaa78706e0f2a70953feaf97b474eb438e7 )
Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
Miss Islington (bot) [Sun, 12 Oct 2025 16:56:03 +0000 (18:56 +0200)]
[3.13] gh-139155: Remove "dictionaries are sorted by key" note in `pprint` docs (GH-139159) (GH-140004)
gh-139155: Remove "dictionaries are sorted by key" note in `pprint` docs (GH-139159)
(cherry picked from commit
68622be935b36f0ca75729157992972dbf426603 )
Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Miss Islington (bot) [Sat, 11 Oct 2025 18:35:24 +0000 (20:35 +0200)]
[3.13] gh-101100: Fix Sphinx warnings in `Doc/library/signal.rst` (GH-139930) (GH-139967)
gh-101100: Fix Sphinx warnings in `Doc/library/signal.rst` (GH-139930)
(cherry picked from commit
447c7a89fb41b7fa84b9b26f111aedd649bc5400 )
Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Miss Islington (bot) [Sat, 11 Oct 2025 15:36:44 +0000 (17:36 +0200)]
[3.13] gh-139905: Provide suggestion in error message if `Generic.__init_subclass__` was not called (GH-139943) (#139956)
gh-139905: Provide suggestion in error message if `Generic.__init_subclass__` was not called (GH-139943)
(cherry picked from commit
5776d0d2e08f4d93dcd62d875bae8c1396a04ba4 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Miss Islington (bot) [Sat, 11 Oct 2025 02:00:21 +0000 (04:00 +0200)]
[3.13] gh-96491: Deduplicate version in IDLE shell title (GH-139841) (#139932)
gh-96491: Deduplicate version in IDLE shell title (GH-139841)
Saving to a file added both the filename and repeated the version.
---------
(cherry picked from commit
d4e5802588db3459f04d4b8013cc571a8988e203 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Miss Islington (bot) [Fri, 10 Oct 2025 21:26:36 +0000 (23:26 +0200)]
[3.13] gh-139783: Fix inspect.getsourcelines() for the case when a decorator is followed by a comment or an empty line (GH-139836) (GH-139890)
(cherry picked from commit
f4104f5d74b99712253fceb39a4460ee3f7a281c )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Miss Islington (bot) [Fri, 10 Oct 2025 19:31:50 +0000 (21:31 +0200)]
[3.13] gh-138843: Removing "Unpacking" section from Download page (GH-139920)
(cherry picked from commit
aa840f500ca901deea29669df68992193a273a62 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Stan Ulbrych [Fri, 10 Oct 2025 16:03:48 +0000 (17:03 +0100)]
[3.13] gh-101100: Document zlib public constants to fix reference warnings (GH-139835) (#139912)
* gh-101100: Document `zlib` public constants to fix reference warnings (#139835)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
(cherry picked from commit
c7f1da97eb4639a17fb01ef122155bab2f262a34 )
* [3.13] gh-101100: Document `zlib` public constants to fix reference warnings (GH-139835)
(cherry picked from commit
c7f1da97eb4639a17fb01ef122155bab2f262a34 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
---------
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Miss Islington (bot) [Fri, 10 Oct 2025 15:34:52 +0000 (17:34 +0200)]
[3.13] gh-139843: Document signals (SIGSTOP, SIGVTALRM, SIGPROF) to fix sphinx references (GH-139896) (GH-139909)
gh-139843: Document signals (SIGSTOP, SIGVTALRM, SIGPROF) to fix sphinx references (GH-139896)
(cherry picked from commit
302f19d1f1880dd29deb5ad02fa2c21639319559 )
Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Miss Islington (bot) [Fri, 10 Oct 2025 13:51:41 +0000 (15:51 +0200)]
[3.13] gh-139065: Fix trailing space before long word in textwrap (GH-139070) (GH-139903)
Fix trailing space before a wrapped long word if the line length with
a space is exactly "width".
(cherry picked from commit
1c598e04361dbfc9cf465f3a02f83715c11b028c )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Miss Islington (bot) [Fri, 10 Oct 2025 06:31:10 +0000 (08:31 +0200)]
[3.13] gh-139843: Document `signal.SIGQUIT` to fix Sphinx references (GH-139844) (#139886)
gh-139843: Document `signal.SIGQUIT` to fix Sphinx references (GH-139844)
(cherry picked from commit
1f87d528a1fb999ff9cdb411a1ccc3f8ee674293 )
Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Miss Islington (bot) [Thu, 9 Oct 2025 18:00:04 +0000 (20:00 +0200)]
[3.13] gh-139842: Clarify `__module__` description in typing.rst (GH-139863) (#139870)
Co-authored-by: Timothée Mazzucotelli <dev@pawamoy.fr>
Łukasz Langa [Thu, 9 Oct 2025 17:39:23 +0000 (18:39 +0100)]
[3.13] gh-139391: properly handle `signal.signal()` in `UnixConsole` when called from a non-main thread (GH-139392) (#139861)
(cherry picked from commit
b8c8b8f1d30767e5358ffa93d41e6e27ca60570d )
Co-authored-by: yihong <zouzou0208@gmail.com>
Miss Islington (bot) [Thu, 9 Oct 2025 17:22:01 +0000 (19:22 +0200)]
[3.13] gh-139672: Remove references to `passlib` (GH-139673) (#139868)
gh-139672: Remove references to `passlib` (GH-139673)
(cherry picked from commit
04461510fb8bedc054477c2634ffd0e575485b12 )
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Miss Islington (bot) [Thu, 9 Oct 2025 16:08:04 +0000 (18:08 +0200)]
[3.13] gh-139845: do not print twice in default asyncio REPL (GH-139846) (#139860)
gh-139845: do not print twice in default asyncio REPL (GH-139846)
(cherry picked from commit
a310b3a99d05e107963023a5736b67afe4ae1968 )
Co-authored-by: yihong <zouzou0208@gmail.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Sam Gross [Thu, 9 Oct 2025 15:42:47 +0000 (11:42 -0400)]
[3.13] gh-137400: Fix thread-safety issues when profiling all threads (gh-137518) (gh-137733)
There were a few thread-safety issues when profiling or tracing all
threads via PyEval_SetProfileAllThreads or PyEval_SetTraceAllThreads:
* The loop over thread states could crash if a thread exits concurrently
(in both the free threading and default build)
* The modification of `c_profilefunc` and `c_tracefunc` wasn't
thread-safe on the free threading build.
(cherry picked from commit
a10152f8fd0f4b291e53d646cffe22fbeec73e1e )
Łukasz Langa [Thu, 9 Oct 2025 15:38:10 +0000 (16:38 +0100)]
[3.13] gh-133400: Fixed Ctrl+D (^D) behavior in :mod:`_pyrepl` module (GH-133883) (GH-139851)
(cherry picked from commit
81959a0364f5bc15414d5bd61c5c0d019d486fe5 )
Co-authored-by: DeepWzh <wzh2012@outlook.com>
Co-authored-by: adam j hartz <adam@smatz.net>
Stan Ulbrych [Thu, 9 Oct 2025 15:20:34 +0000 (16:20 +0100)]
[3.13] gh-101100: Fix reference warnings in `c-api/init.rst` document… (#139833)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Miss Islington (bot) [Thu, 9 Oct 2025 10:54:14 +0000 (12:54 +0200)]
[3.13] gh-75989: TarFile.extractall and TarFile.extract now overwrite symlinks when extracting hardlinks (GH-137316) (GH-139771)
(cherry picked from commit
481d5b54556e97fed4cf1f48a2ccbc7b4f7aaa42 )
Co-authored-by: Alexander Urieles <aeurielesn@users.noreply.github.com>
Miss Islington (bot) [Thu, 9 Oct 2025 08:24:06 +0000 (10:24 +0200)]
[3.13] gh-139743: Avoid import-time print in test_sqlite3 (GH-139746) (GH-139829)
(cherry picked from commit
65089406a54df6d3fdc65f5f7e7691ec5de088d8 )
Co-authored-by: Peter <peter86225@gmail.com>
Victor Stinner [Wed, 8 Oct 2025 23:24:30 +0000 (01:24 +0200)]
[3.13] gh-139748: Fix socket.if_nametoindex() Argument Clinic (#139815)
gh-139748: Fix socket.if_nametoindex() Argument Clinic
Fix a reference leak.
Miss Islington (bot) [Wed, 8 Oct 2025 22:57:30 +0000 (00:57 +0200)]
[3.13] gh-139805: Bump `test_repl_eio` timeout for slow builtbots (GH-139807) (#139813)
gh-139805: Bump `test_repl_eio` timeout for slow builtbots (GH-139807)
(cherry picked from commit
e7e3d1d4a8dece01b1bbd0253684d5b46b2409d7 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Miss Islington (bot) [Wed, 8 Oct 2025 19:38:52 +0000 (21:38 +0200)]
[3.13] Remove Cirrus macOS runners from CI (GH-139799) (#139803)
Co-authored-by: Jacob Coffee <jacob@z7x.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Kumar Aditya [Wed, 8 Oct 2025 16:51:49 +0000 (22:21 +0530)]
[3.13] gh-139748: fix leaks in AC error paths when using unicode FS-b… (#139792)
* [3.13] gh-139748: fix leaks in AC error paths when using unicode FS-based converters (GH-139765)
(cherry picked from commit
b04a57deef66ce08233be57d1ab5873388df2cea )
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Miss Islington (bot) [Wed, 8 Oct 2025 16:23:09 +0000 (18:23 +0200)]
[3.13] gh-138843: Clean up downloads page (GH-138844) (#139797)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Jacob Coffee [Wed, 8 Oct 2025 16:16:41 +0000 (12:16 -0400)]
[3.13] gh-137638: Use macos-15-intel in GitHub Actions (GH-139154) (#139790)
Co-authored-by: Jacob Coffee <jacob@z7x.org>
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Miss Islington (bot) [Wed, 8 Oct 2025 15:23:17 +0000 (17:23 +0200)]
gh-139769: Update `PCBuild/find_python.bat` to allow discovery of Python 3.14 (GH-139770)
Enable 3.14 py.exe can be use on PCBuild
(cherry picked from commit
570d17259f824302d20567a3a2f32c67ebdaefcd )
Co-authored-by: Wulian233 <1055917385@qq.com>
Savannah Ostrowski [Wed, 8 Oct 2025 15:10:25 +0000 (08:10 -0700)]
[3.13] GH-139590: Run `ruff format` on pre-commit for Tools/wasm (GH-139591) (#139745)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Miss Islington (bot) [Wed, 8 Oct 2025 14:10:34 +0000 (16:10 +0200)]
[3.13] gh-139308: Skip test_special_chars_csh on NetBSD due to csh variable expansion issue (GH-139341) (#139560)
gh-139308: Skip test_special_chars_csh on NetBSD due to csh variable expansion issue (GH-139341)
Skip test_special_chars_csh on NetBSD due to csh variable expansion issue
(cherry picked from commit
ae6e7f572c18d9183cb23e6e53c3324dd9bf0c64 )
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: Filipe Laíns 🇵🇸 <lains@riseup.net>
Miss Islington (bot) [Wed, 8 Oct 2025 13:56:23 +0000 (15:56 +0200)]
[3.13] gh-83424: Allow empty name if handle is non-null when create ctypes.CDLL on Windows (GH-136878) (#138547)
gh-83424: Allow empty name if handle is non-null when create ctypes.CDLL on Windows (GH-136878)
(cherry picked from commit
ed522ed211b7b9ea9d85a93b5d6ca79b2df3ef58 )
Co-authored-by: AN Long <aisk@users.noreply.github.com>
Miss Islington (bot) [Wed, 8 Oct 2025 13:54:08 +0000 (15:54 +0200)]
[3.13] `Doc/library/zoneinfo.rst`: Fix typo (GH-139190) (#139230)
`Doc/library/zoneinfo.rst`: Fix typo (GH-139190)
Removes duplicated wording.
(cherry picked from commit
4fb338d844a1e992857a17b5bd1269837e847fb2 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Miss Islington (bot) [Wed, 8 Oct 2025 13:53:35 +0000 (15:53 +0200)]
[3.13] gh-101100: Fix some Sphinx reference warnings in ``whatsnew/2.6.rst`` (GH-139236) (#139569)
gh-101100: Fix some Sphinx reference warnings in ``whatsnew/2.6.rst`` (GH-139236)
(cherry picked from commit
04a2f80a604ccb214902f35deebf0d075543737c )
Co-authored-by: rowanbudge <rowanbudge@gmail.com>
Co-authored-by: rowanvil <rowan@anvil.works>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Miss Islington (bot) [Wed, 8 Oct 2025 13:52:15 +0000 (15:52 +0200)]
[3.13] gh-137589: Zipfile tests: close file objects (GH-138080) (#139767)
gh-137589: Zipfile tests: close file objects (GH-138080)
Zipfile tests: close file objects
(cherry picked from commit
5cea8435943b4f9d22c89c80d86c2ba3b392c6f9 )
Co-authored-by: Rogdham <3994389+Rogdham@users.noreply.github.com>
Bénédikt Tran [Wed, 8 Oct 2025 10:32:45 +0000 (12:32 +0200)]
[3.13] gh-70765: avoid waiting for HTTP headers when parsing HTTP/0.9 requests (GH-139514) (#139602)
(cherry picked from commit
13dc2fde8cec1e8aad04c7635b3da4ff3e3dcb00 )
(cherry picked from commit
1fe89d324e6b96dc44a7bd593c428a90d1f39d55 )
Tomasz Pytel [Tue, 7 Oct 2025 22:15:57 +0000 (18:15 -0400)]
[3.13] gh-139516: Fix lambda colon start format spec in f-string in t… (#139726)
[3.13] gh-139516: Fix lambda colon start format spec in f-string in tokenizer (GH-139657)
(cherry picked from commit
539461d9ec8e5322ead638f7be733fd196aa6c79 )
Miss Islington (bot) [Tue, 7 Oct 2025 20:33:20 +0000 (22:33 +0200)]
[3.13] Update the availability info in the resource docs (GH-137939) (GH-139720)
(cherry picked from commit
b4d8faa22142cde789388068d0230b9ffdd95eac )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Stan Ulbrych [Tue, 7 Oct 2025 20:22:18 +0000 (21:22 +0100)]
[3.13] gh-137920: Fix semantically relevant typo in `curses.window.attron` (GH-137940) (GH-138507)
Originally authored by: vict-Yang
(cherry picked from commit
ce70a57bc02fddc8cb18a08aaf1449fceb10d66e )
Miss Islington (bot) [Tue, 7 Oct 2025 18:19:24 +0000 (20:19 +0200)]
[3.13] gh-139646: fix typo in `pickletools` error message (GH-139647) (GH-139650)
(cherry picked from commit
36a6c2cdfaddc4a82d14f2c84b04e05089802876 )
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: yihong <zouzou0208@gmail.com>
Miss Islington (bot) [Tue, 7 Oct 2025 18:12:31 +0000 (20:12 +0200)]
[3.13] gh-139436: Remove ``dist-pdf`` from the docs archives rebuild target (GH-139437) (#139693)
gh-139436: Remove ``dist-pdf`` from the docs archives rebuild target (GH-139437)
(cherry picked from commit
0e2cdd313ba5c67c5e2e21d993399b890e687c63 )
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Miss Islington (bot) [Tue, 7 Oct 2025 17:57:57 +0000 (19:57 +0200)]
[3.13] gh-136234: Fix `SelectorSocketTransport.writelines` to be robust to connection loss (GH-136743) (GH-138702) (#139710)
[3.14] gh-136234: Fix `SelectorSocketTransport.writelines` to be robust to connection loss (GH-136743) (GH-138702)
(cherry picked from commit
5cd6cfe4cf6770b9424bb23f8c7c661f7a3db7b0 )
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Serhiy Storchaka [Tue, 7 Oct 2025 17:55:44 +0000 (20:55 +0300)]
[3.13] gh-139700: Check consistency of the zip64 end of central directory record (GH-139702) (GH-139708)
Support records with "zip64 extensible data" if there are no bytes
prepended to the ZIP file.
(cherry picked from commit
162997bb70e067668c039700141770687bc8f267 )
Thomas Wouters [Tue, 7 Oct 2025 14:04:40 +0000 (16:04 +0200)]
Post 3.13.8
Thomas Wouters [Tue, 7 Oct 2025 12:01:38 +0000 (14:01 +0200)]
Python 3.13.8
Miss Islington (bot) [Tue, 7 Oct 2025 11:34:51 +0000 (13:34 +0200)]
[3.13] gh-139436: Remove link to the PDF downloads (GH-139142) (#139427)
(cherry picked from commit
6b5f15698a436591f7c305c576a2d366c38d9997 )
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Miss Islington (bot) [Tue, 7 Oct 2025 11:34:08 +0000 (13:34 +0200)]
[3.13] gh-63161: Add more tests for source encoding (GH-139440) (#139443)
(cherry picked from commit
b2f5ad0c6d7cfd249c41bfbcdd0a75a9f21f1e72 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Bénédikt Tran [Tue, 7 Oct 2025 11:33:40 +0000 (13:33 +0200)]
[3.13] gh-139283: correctly handle `size` limit in `cursor.fetchmany()` (GH-139296) (#139444)
Passing a negative or zero size to `cursor.fetchmany()` made it fetch all rows
instead of none.
While this could be considered a security vulnerability, it was decided to treat
this issue as a regular bug as passing a non-sanitized *size* value in the first
place is not recommended.
(cherry picked from commit
bc172ee8307431caf4c89612e9e454081635191f )
Miss Islington (bot) [Tue, 7 Oct 2025 11:32:51 +0000 (13:32 +0200)]
[3.13] gh-139327: fix some reference leaks in `sqlite3` error branches (GH-139328) (#139472)
(cherry picked from commit
d0a3eff9d6e72e209da0236fb1ea1f8c18938eaa )
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Miss Islington (bot) [Tue, 7 Oct 2025 05:18:49 +0000 (07:18 +0200)]
[3.13] gh-124111: Update macOS installer to use Tcl/Tk 8.6.17. (GH-139682) (#139684)
(cherry picked from commit
6d804e4efb8ed2ebeb9cef9577945c46c0038178 )
Co-authored-by: Ned Deily <nad@python.org>
Miss Islington (bot) [Tue, 7 Oct 2025 03:41:39 +0000 (05:41 +0200)]
[3.13] gh-139573: Update macOS installer to use OpenSSL 3.0.18 (GH-139575) (#139681)
Co-authored-by: Zachary Ware <zach@python.org>
Jost Migenda [Mon, 6 Oct 2025 21:28:57 +0000 (22:28 +0100)]
[3.13] gh-118767: remove bool(NotImplemented) from pending-removal document (GH-139526) (#139677)
Miss Islington (bot) [Mon, 6 Oct 2025 18:05:07 +0000 (20:05 +0200)]
[3.13] gh-138854: Skip test_script_shadowing_stdlib_cwd_failure on AIX (GH-138855) (GH-139675)
gh-138854: Skip test_script_shadowing_stdlib_cwd_failure on AIX (GH-138855)
(cherry picked from commit
171f787a297ec4b02cfe8b3ebab8374018391f20 )
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Miss Islington (bot) [Mon, 6 Oct 2025 17:13:08 +0000 (19:13 +0200)]
[3.13] gh-133210: Fix `test_inspect` without docstrings (GH-139651) (#139670)
gh-133210: Fix `test_inspect` without docstrings (GH-139651)
(cherry picked from commit
7c70cc5c23971ef448ea59827c6e6ae310157356 )
Co-authored-by: sobolevn <mail@sobolevn.me>
Miss Islington (bot) [Mon, 6 Oct 2025 15:14:04 +0000 (17:14 +0200)]
[3.13] gh-133210: Fix `test_pydoc` without docstrings (GH-139654) (#139666)
gh-133210: Fix `test_pydoc` without docstrings (GH-139654)
(cherry picked from commit
708de26e31b65cd3ae768882c8da59284917a80d )
Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
Sebastian Pipping [Mon, 6 Oct 2025 13:17:37 +0000 (15:17 +0200)]
[3.13] gh-139400: Make sure that parent parsers outlive their subparsers in `pyexpat` (GH-139403) (GH-139608)
Within libexpat, a parser created via `XML_ExternalEntityParserCreate`
is relying on its parent parser throughout its entire lifetime.
Prior to this fix, is was possible for the parent parser to be
garbage-collected too early.
(cherry picked from commit
6edb2ddb5f3695cf4938979d645f31d7fba43ec8 )
Miss Islington (bot) [Mon, 6 Oct 2025 13:11:49 +0000 (15:11 +0200)]
[3.13] gh-116488: Mention `dict.get` in the data structures tutorial (GH-139643) (GH-139656)
gh-116488: Mention `dict.get` in the data structures tutorial (GH-139643)
(cherry picked from commit
69cfad0b3e1e2805914cb647cce4c7c2bfed5910 )
Co-authored-by: Cycloctane <Cycloctane@outlook.com>
Miss Islington (bot) [Mon, 6 Oct 2025 10:49:50 +0000 (12:49 +0200)]
[3.13] gh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625) (GH-139645)
(cherry picked from commit
6f3dae0dc5ccd47b2b8a6e052244353d8c37e59b )
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Miss Islington (bot) [Mon, 6 Oct 2025 06:25:58 +0000 (08:25 +0200)]
[3.13] gh-137242: Allow Android testbed to take all Python command-line options (GH-138805) (#139638)
Modifies the Android test runner to ensure that all valid Python command line
options are preserved when running the test suite.
(cherry picked from commit
a9b0506d8db1aff8318759ed9324be56bf33eb31 )
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Adam Turner [Sun, 5 Oct 2025 20:28:30 +0000 (21:28 +0100)]
[3.13] gh-105812: Use the ``:deco:`` role in place of manual decorator markup (GH-139619) (#139628)
Miss Islington (bot) [Sun, 5 Oct 2025 17:18:11 +0000 (19:18 +0200)]
[3.13] Replace ambiguous word "pound" by "hash" in `difflib` docs (GH-139601) (#139617)
Replace ambiguous word "pound" by "hash" in `difflib` docs (GH-139601)
(cherry picked from commit
dadbb2662a405a34763db0298025f6af06342849 )
Co-authored-by: George Ogden <38294960+George-Ogden@users.noreply.github.com>
Miss Islington (bot) [Sun, 5 Oct 2025 08:52:06 +0000 (10:52 +0200)]
[3.13] gh-139310: skip `test_aead_aes_gcm` for Linux kernel between 6.16.0 and 6.17.x (GH-139552) (#139593)
gh-139310: skip `test_aead_aes_gcm` for Linux kernel between 6.16.0 and 6.17.x (GH-139552)
Currently, Fedora 42 uses a custom Linux Kernel 6.16.9 that backported an upstream change
from 6.17-rc7 [1,3] but not its subsequent fix [2]. Until the issue is resolved upstream,
we skip the failing test `test_socket.test_aead_aes_gcm` for kernel versions between 6.16
and 6.17.x.
[1] https://github.com/torvalds/linux/commit/
1b34cbbf4f011a121ef7b2d7d6e6920a036d5285
[2] https://github.com/torvalds/linux/commit/
d0ca0df179c4b21e2a6c4a4fb637aa8fa14575cb
[3] https://gitlab.com/cki-project/kernel-ark/-/commit/
45bcf60fe49b37daab1acee57b27211ad1574042
(cherry picked from commit
41712c4e095b2cc988febfe3887616c2779c6210 )
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Miss Islington (bot) [Sun, 5 Oct 2025 01:53:16 +0000 (03:53 +0200)]
[3.13] gh-139573: Update Windows builds to use OpenSSL 3.0.18 (GH-139587)
(cherry picked from commit
063cef9999d7490e62cb2ad2711634a992c090fb )
Zachary Ware [Sun, 5 Oct 2025 01:52:08 +0000 (20:52 -0500)]
[3.13] gh-139573: Update OpenSSL in CI (GH-139585)
(cherry picked from commit
98e748b3a0d97bd2c785efc63693f971113b3b63 )
Russell Keith-Magee [Sun, 5 Oct 2025 01:16:05 +0000 (09:16 +0800)]
[3.13] gh-139573: Update Android to OpenSSL 3.0.18 (GH-139562) (#139584)
Update Android to OpenSSL 3.0.18.
(cherry picked from commit
0f0fc5a16368ea45541137cff6b90d63bad5eb26 )
Co-authored-by: Malcolm Smith <smith@chaquo.com>