Commit graph

29337 commits

Author SHA1 Message Date
dr-carlos
d768900ca4
[3.13] gh-141732: Fix ExceptionGroup repr changing when original exception sequence is mutated (GH-141736) (#142391)
* [3.13] gh-141732: Fix `ExceptionGroup` repr changing when original exception sequence is mutated (GH-141736)
(cherry picked from commit ff2577f56e)

Co-authored-by: dr-carlos <77367421+dr-carlos@users.noreply.github.com>
2025-12-08 18:46:55 +00:00
Miss Islington (bot)
2c3e3ef6a2
[3.13] gh-123241: Document restrictions for tp_traverse implementations (gh-142272) (#142422)
(cherry picked from commit 37988c57ea)

Co-authored-by: Sam Gross <colesbury@gmail.com>
2025-12-08 17:28:21 +00:00
Stan Ulbrych
a12841c197
[3.13] gh-101100: Fix references to the set methods (GH-141857) (GH-142345)
(cherry picked from commit 1d8f3ed2eb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-12-08 09:50:43 +02:00
Thomas Wouters
03cceb1a51 Merge branch '3.13' of https://github.com/python/cpython into 3.13 2025-12-02 17:44:32 +01:00
Miss Islington (bot)
caf1794b88
[3.13] Document None for timeout argument of select.select (GH-142177)
cherry picked from commit 82274c491a (GH-142182)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-12-02 14:32:04 +01:00
Thomas Wouters
4fd884356d Python 3.13.10 2025-12-02 13:49:50 +01:00
Stan Ulbrych
8d920ac1a5
[3.13] GH-138562: Remove `sort()` from the common sequence methods in the data model (GH-138563) (#140676)
(cherry picked from commit d0c9943869)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-12-01 23:29:13 +01:00
Hugo van Kemenade
5d7cacb1db
[3.13] GH-101100: Remove some entries from `nitpick_ignore` (GH-138464) (#141827)
(cherry picked from commit 22cb9ba8f9)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-12-01 23:26:32 +01:00
Miss Islington (bot)
f61e9fcdb6
[3.13] gh-141004: Document descriptor and dict proxy type objects (GH-141803) (GH-142148)
gh-141004: Document descriptor and dict proxy type objects (GH-141803)
(cherry picked from commit 52f9b5f580)

Co-authored-by: Yashraj <yashrajpala8@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-12-01 15:57:53 +00:00
Miss Islington (bot)
69fbef0d60
[3.13] Docs: Upgrade Sphinx to 9.0 (GH-142114) (#142129)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-12-01 11:23:13 +00:00
Miss Islington (bot)
6871aa160f
[3.13] gh-141473: Document not calling Popen.wait after Popen.communicate times out. (GH-142101) (#142125)
gh-141473: Document not calling Popen.wait after Popen.communicate times out. (GH-142101)

Document not calling Popen.wait after Popen.communicate times out.

Closes GH-141473
(cherry picked from commit 3e2c557493)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
2025-12-01 02:56:30 +00:00
Miss Islington (bot)
42c6e75ba1
[3.13] Improve clarity in tutorial introduction (GH-140669) (#142113)
Co-authored-by: Thierry Martos <81799048+ThierryMT@users.noreply.github.com>
2025-11-30 12:53:10 +00:00
Miss Islington (bot)
bb8984f895
[3.13] Docs: Prepare for Sphinx 9 (GH-142057) (#142092) 2025-11-29 15:52:05 +00:00
Miss Islington (bot)
342c9e0287
[3.13] GH-121970: Remove Docutils list monkeypatch (GH-142056) (#142089) 2025-11-29 14:56:41 +00:00
Miss Islington (bot)
09ceaa606a
[3.13] GH-141963: Clarify argparse documentation (GH-141964) (#142077)
GH-141963: Clarify argparse documentation (GH-141964)

Clarify argparse documentation

Tightens the phrasing for several argparse actions.
(cherry picked from commit cfcd52490d)

Co-authored-by: Moshe Kaplan <mosheekaplan@gmail.com>
2025-11-29 07:29:50 +00:00
Miss Islington (bot)
e76192f260
[3.13] Docs: multi-disk ZIP files -> multipart ZIP files (GH-141962) (#142075)
Docs: multi-disk ZIP files -> multipart ZIP files (GH-141962)

* Remove some old currentlies
* multi-disk -> multipart
* Sentence case headings
(cherry picked from commit 890fe5aad5)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-11-29 07:18:06 +00:00
Miss Islington (bot)
599093e2e9
[3.13] gh-141994: Warn of XXE vulnerability in documentation of SAX feature xml.sax.handler.feature_external_ges (GH-141996) (#142073)
gh-141994: Warn of XXE vulnerability in documentation of SAX feature `xml.sax.handler.feature_external_ges` (GH-141996)

Doc/library/xml.sax.handler.rst: Warn of XXE with feature_external_ges

Related to commit baa9f33897
(cherry picked from commit 440bcb9456)

Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
2025-11-29 07:14:23 +00:00
Miss Islington (bot)
2f3024f066
[3.13] gh-141473: Fix subprocess.Popen.communicate to send input to stdin upon a subsequent post-timeout call (GH-141477) (#142060)
* gh-141473: Fix subprocess.Popen.communicate to send input to stdin upon a subsequent post-timeout call (GH-141477)

* gh-141473: Fix subprocess.Popen.communicate to send input to stdin
* Docs: Clarify that `input` is one time only on `communicate()`
* NEWS entry
* Add a regression test.

---------
(cherry picked from commit 526d7a8bb4)

Co-authored-by: Artur Jamro <artur.jamro@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>

* no assertStartsWith

---------

Co-authored-by: Artur Jamro <artur.jamro@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2025-11-29 06:53:00 +00:00
Stan Ulbrych
3bbd669abb
[3.13] gh-141004: Document PyImport_Inittab (GH-141844) (GH-142016)
(cherry picked from commit 5f35702bb6)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-11-27 14:20:58 -05:00
Petr Viktorin
9756d8c637
[3.13] gh-141909: Add PyModuleDef_Slot and earlier Py_mod_* constants to stable ABI manifest (#141910) (GH-141977)
These were added to the limited API in 3.5-3.12.
Not including them in `Misc/stable_abi.toml` was a bug.

(cherry picked from commit 202fce0dbd)
2025-11-26 15:34:57 +01:00
Miss Islington (bot)
0e3d1b8670
[3.13] gh-141004: Document missing PyThread* APIs (GH-141810) (GH-141955)
* gh-141004: Document missing `PyThread*` APIs (GH-141810)
(cherry picked from commit a89ee4b9c2)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-11-25 18:04:42 +00:00
Miss Islington (bot)
fffa6c9ab8
[3.13] gh-141004: Document PyOS_mystr(n)icmp (GH-141760) (#141948)
gh-141004: Document `PyOS_mystr(n)icmp` (GH-141760)
(cherry picked from commit f445c452ea)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-11-25 13:51:59 +00:00
Alexander Nordin
1d16256f7d
[3.13] gh-138199: Address potential confusion re: threading (GH-138200) (GH-141929)
gh-138199: Address potential confusion regarding threading in the `asyncio` HOWTO (GH-138200)

(cherry picked from commit a4f4225213)
2025-11-25 06:52:54 -05:00
Miss Islington (bot)
7905e85ecd
[3.13] gh-141004: Document stack effect C APIs (GH-141843) (GH-141917)
gh-141004: Document stack effect C APIs (GH-141843)
(cherry picked from commit e1f1df4082)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-11-24 17:26:12 +00:00
Miss Islington (bot)
b2e4234af6
[3.13] gh-106318: Add examples for str.join() (GH-140315) (#141905)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-24 14:59:30 +00:00
Miss Islington (bot)
06db02ff1e
[3.13] gh-106318: Add example for str.format() (GH-137018) (#141903)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
2025-11-24 14:57:50 +00:00
Hugo van Kemenade
a676b2e00f
[3.13] gh-106318: Add example for str.isalpha() (GH-137557) (#141902)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-11-24 14:29:49 +00:00
Miss Islington (bot)
e2188c7e5e
[3.13] gh-106318: Add example for str.isascii() (GH-137558) (#141899)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-11-24 14:08:14 +00:00
Miss Islington (bot)
2701e8e542
[3.13] gh-141004: Document Py_ARRAY_LENGTH (GH-141601) (GH-141896)
gh-141004: Document `Py_ARRAY_LENGTH` (GH-141601)
(cherry picked from commit e0773eacb7)

Co-authored-by: Yashraj <yashrajpala8@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-24 13:40:39 +00:00
Miss Islington (bot)
ce40ad0909
[3.13] gh-106318: Add example for str.isdecimal() (GH-137559) (#141894)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-11-24 15:19:53 +02:00
Miss Islington (bot)
2e8d4f13a8
[3.13] gh-141865: Fix translation of strings in changes.py extension (GH-141882) (#141884)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-23 17:34:09 +00:00
Miss Islington (bot)
66576c2be8
[3.13] gh-101100: Fix sphinx warnings in library/unittest.rst (GH-140109) (#141854)
Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-11-22 19:22:14 +00:00
Miss Islington (bot)
616117b018
[3.13] gh-101100: Fix all Sphinx warnings in Doc/library/subprocess.rst (GH-139576) (#139788)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-11-22 19:18:55 +02:00
Miss Islington (bot)
5285ccc19e
[3.13] Docs: Fix typo in socketserver documentation (GH-140956) (#141798)
Co-authored-by: Thomas Ballard <thomasballard0503@gmail.com>
2025-11-20 16:35:54 +00:00
Miss Islington (bot)
79e0f6f684
[3.13] gh-141004: Document Py_MakePendingCalls (GH-141137) (GH-141788)
gh-141004: Document `Py_MakePendingCalls` (GH-141137)
(cherry picked from commit ce701032a3)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-11-20 14:30:51 +00:00
Miss Islington (bot)
7a27c7b2e4
[3.13] gh-141004: Document missing PyDateTime* APIs (GH-141543) (GH-141792)
gh-141004: Document missing `PyDateTime*` APIs (GH-141543)
(cherry picked from commit 4273616ebf)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-11-20 13:55:17 +00:00
Miss Islington (bot)
e90d8953a0
[3.13] gh-141004: Document missing generator APIs (GH-141409) (GH-141790)
gh-141004: Document missing generator APIs (GH-141409)
(cherry picked from commit 2da7ecc680)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-11-20 13:52:36 +00:00
Miss Islington (bot)
2ebe685702
[3.13] Remove GvR from '_stdauthor' in Doc/conf.py (GH-141765) (#141768)
Co-authored-by: Guido van Rossum <guido@python.org>
Co-authored-by: Guido van Rossum <gvanrossum@microsoft.com>
2025-11-19 20:36:32 +00:00
Miss Islington (bot)
49ac2bbe02
[3.13] gh-141004: Document Py_LOCAL and Py_LOCAL_INLINE (GH-141725) (GH-141762)
gh-141004: Document `Py_LOCAL` and `Py_LOCAL_INLINE` (GH-141725)
(cherry picked from commit 3149d64c93)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-19 18:38:53 +00:00
Miss Islington (bot)
26d831327d
[3.13] Correct class name from PullDom to PullDOM (GH-141207) (#141742)
Co-authored-by: Guo Ci <zguoci@gmail.com>
2025-11-19 13:07:07 +02:00
Sergey B Kirpichev
a5650e42ac
[3.13] gh-141004: Document Py_HUGE_VAL/IS_FINITE/IS_INFINITE/IS_NAN (GH-141544) (#141700)
(cherry picked from commit 630cd37bfa)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-18 14:32:48 +01:00
Miss Islington (bot)
8f7188847f
[3.13] gh-140873: Fix the singledispatchmethod documentation (GH-141523) (GH-141710)
It does not support non-descriptor callables yet.
(cherry picked from commit d89eb2f984)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-11-18 11:38:38 +00:00
Miss Islington (bot)
b41963a4aa
[3.13] Add missing backticks in os and decimal docs (GH-141699) (#141706)
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2025-11-18 10:38:16 +00:00
Miss Islington (bot)
d4e4924a5f
[3.13] gh-141004: Document PyODict* APIs (GH-141136) (GH-141678)
gh-141004: Document `PyODict*` APIs (GH-141136)
(cherry picked from commit b3626321b6)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-17 19:47:04 +00:00
Semyon Moroz
a63ceb7f10
[3.13] gh-130160: Add anchors to CLI Usage section for cmdline (GH-133182) (#141667)
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
2025-11-17 19:55:54 +02:00
Miss Islington (bot)
8d4e94ec6c
[3.13] gh-141650: Fix typo in xml.sax.saxutils.unescape documentation (GH-141652) (#141653)
Co-authored-by: Tamzin Hadasa Kelly <tk.infinity@gmail.com>
2025-11-17 13:02:01 +00:00
Miss Islington (bot)
e6f429c30d
[3.13] gh-141004: Document missing PyCFunction* and PyCMethod* APIs (GH-141253) (GH-141638)
gh-141004: Document missing `PyCFunction*` and `PyCMethod*` APIs (GH-141253)
(cherry picked from commit be699d6c7c)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-11-16 19:32:16 +00:00
Miss Islington (bot)
7b5c65a32f
[3.13] gh-141004: Document the PyPickleBuffer_* C API (GH-141630) (GH-141633)
gh-141004: Document the `PyPickleBuffer_*` C API (GH-141630)
(cherry picked from commit e33afa7ddb)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-16 18:58:19 +00:00
Miss Islington (bot)
9648eed33f
[3.13] gh-139344: Remove pending removal notice for undeprecated importlib.resources API (GH-141507) (GH-141557)
(cherry picked from commit 49e74210cb)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-11-14 17:24:37 +01:00
Miss Islington (bot)
c8c8cc2e8f
[3.13] gh-141004: Document PyOS_InterruptOccurred (GH-141526) (GH-141550)
gh-141004: Document `PyOS_InterruptOccurred` (GH-141526)
(cherry picked from commit ef90261be5)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-14 15:58:19 +00:00