Commit graph

29010 commits

Author SHA1 Message Date
Miss Islington (bot)
9c11745ede
[3.13] gh-136682: Remove incorrect statement that os.path.samestat accepts file-like objects (GH-136683) (#136685)
gh-136682: Remove incorrect statement that `os.path.samestat` accepts file-like objects (GH-136683)
(cherry picked from commit 7e10a103df)

Co-authored-by: Ran Benita <ran@unusedvar.com>
2025-07-15 12:56:33 +00:00
Miss Islington (bot)
8517a890cf
[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 a02cf19dee)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-07-15 12:10:10 +00:00
Miss Islington (bot)
592a31369e
[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 e4654e0b3e)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2025-07-15 05:37:55 +00:00
Miss Islington (bot)
2115e71ea5
[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>
2025-07-14 13:19:40 +03:00
Miss Islington (bot)
ce21b1a250
[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 a93d9aaf62)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-07-13 13:19:28 +00:00
Miss Islington (bot)
fac28e4791
[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 3dbe02ccd3)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-07-13 09:18:27 +00:00
Miss Islington (bot)
bec9bdf619
[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 609d5adc7c)

Co-authored-by: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com>
2025-07-13 06:03:33 +00:00
Miss Islington (bot)
39f36a1adf
[3.13] gh-101100: Fix sphinx warnings in Doc/library/platform.rst (GH-136562) (GH-136598)
(cherry picked from commit 47b01da4cc)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
2025-07-12 18:23:04 +00:00
Serhiy Storchaka
01710af49d
[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 252e2f710e)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
2025-07-11 17:13:07 +00:00
Miss Islington (bot)
f7f1448ffe
[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 fb9f933b8e)

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>
2025-07-11 17:04:03 +00:00
Miss Islington (bot)
175ada2806
[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 975b57d945)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-07-11 10:57:39 +00:00
Miss Islington (bot)
aa4bb1c685
[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>
2025-07-11 12:43:52 +03:00
Miss Islington (bot)
81d1986297
[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 4b41b2043b)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-07-10 17:41:27 +02:00
Miss Islington (bot)
15e9c3bc51
[3.13] gh-136209: Add .. c:var:: declarations for C exception types (GH-136210) (GH-136503)
(cherry picked from commit 85bc89f35f)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-07-10 15:10:51 +02:00
Miss Islington (bot)
d223739883
[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 9c4d287775)

Co-authored-by: Victor Stinner <vstinner@python.org>
2025-07-09 23:13:59 +00:00
Miss Islington (bot)
2c2dd75941
[3.13] gh-136145: Define 'standard library' and 'stdlib' in the glossary (GH-136486)
(cherry picked from commit 92f392ad9e)

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>
2025-07-09 21:40:58 +00:00
Miss Islington (bot)
6c81051aa8
[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 591abcc01f)

Co-authored-by: Oskar Roesler <o.roesler@oscloud.info>
2025-07-09 16:02:49 +00:00
Miss Islington (bot)
217638588f
[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 6a6cd3c07c)

Co-authored-by: NekrodNIK <60639354+NekrodNIK@users.noreply.github.com>
2025-07-09 14:13:02 +00:00
Miss Islington (bot)
7a548e26ac
[3.13] Docs: unittest.enterModuleContext is not a classmethod (GH-136464) (#136466)
Co-authored-by: Geoffrey Thomas <geofft@ldpreload.com>
2025-07-09 14:01:23 +00:00
Stan Ulbrych
a66af8b827
[3.13] gh-136162: Clean up encodings package documentation (#136456)
Remove docs of functions not yet implemented in 3.13
2025-07-09 10:41:22 +02:00
Miss Islington (bot)
21bcecfa2b
[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 ffd7f2f231)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-07-09 10:07:25 +02:00
Miss Islington (bot)
faee3625c3
[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 f1dcf3c7bf)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-07-09 10:07:10 +02:00
Miss Islington (bot)
301c89ced8
[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>
2025-07-09 09:00:07 +01:00
Miss Islington (bot)
c44070b2d5
[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>
2025-07-08 12:12:22 +00:00
Miss Islington (bot)
f17be28cd8
[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>
2025-07-08 10:04:09 +03:00
Miss Islington (bot)
dcfc3d3cc2
[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>
2025-07-08 06:46:32 +00:00
Miss Islington (bot)
095715ceae
[3.13] gh-136032: Fix argparse.BooleanOptionalAction doc (GH-136133) (#136330)
gh-136032: Fix `argparse.BooleanOptionalAction` doc (GH-136133)
(cherry picked from commit 1953713d0d)

Co-authored-by: W. H. Wang <mattwang44@gmail.com>
2025-07-07 19:34:13 -07:00
Miss Islington (bot)
f39103b3fc
[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>
2025-07-07 19:51:04 +03:00
Miss Islington (bot)
843e8054b0
[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 11f074b243)

Co-authored-by: Anthony Sottile <asottile@umich.edu>
2025-07-07 11:28:32 +00:00
Miss Islington (bot)
d7bb308e80
[3.13] gh-101100: Fix sphinx warnings in whatsnew/3.9 (GH-136163) (#136373)
Co-authored-by: sobolevn <mail@sobolevn.me>
2025-07-07 10:47:59 +00:00
Miss Islington (bot)
0467b1fd17
[3.13] gh-94503: Update logging cookbook with an example of uniformly handling newlines in output. (GH-136217) (GH-136358)
(cherry picked from commit d05423a90c)
2025-07-07 10:18:53 +01:00
Miss Islington (bot)
8f5630d729
[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 cb99d99277)

Co-authored-by: Victor Stinner <vstinner@python.org>
2025-07-07 09:10:20 +00:00
Rafael Fontenelle
bc3390c00a
[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 ade1988094)
2025-07-06 21:24:51 -04:00
Miss Islington (bot)
52180bfb37
[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 77a8bd29da)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
2025-07-06 18:32:15 +00:00
Miss Islington (bot)
e7a2d2ae2c
[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 f0c7344a8f)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
2025-07-05 13:35:52 +00:00
Victor Stinner
8cbece1ffa
[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 b2e498ac26)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-07-03 12:55:30 +00:00
Miss Islington (bot)
004f464338
[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 135ba86212)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
2025-07-03 00:59:13 +00:00
Miss Islington (bot)
c99354cf1f
[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 7afe1adb00)

Co-authored-by: sobolevn <mail@sobolevn.me>
2025-07-02 20:55:17 +03:00
Sergey B Kirpichev
1e6db47078
[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 b19c9da401)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2025-07-02 14:37:06 +02:00
Miss Islington (bot)
0c439de010
[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 9c0cb5beb8)

Co-authored-by: Vladyslav Lazoryk <80263725+lazorikv@users.noreply.github.com>
2025-07-01 13:30:49 +00:00
Miss Islington (bot)
b415d1c18e
[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 486587da42)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-06-30 16:16:27 +00:00
Miss Islington (bot)
38c7b0efb8
[3.13] gh-136122: Fix video link for math.tau documentation (GH-136129) (#136132)
Co-authored-by: sedram <54665381+sedram@users.noreply.github.com>
2025-06-30 14:49:35 +00:00
Miss Islington (bot)
ef4a70b63f
[3.13] gh-48181: Document codecs.charmap_build (GH-135997) (#136124)
gh-48181: Document `codecs.charmap_build` (GH-135997)
(cherry picked from commit 2bdd50309f)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-06-30 15:52:53 +02:00
Miss Islington (bot)
ad5f88eafa
[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 75f40595e5)

Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
2025-06-30 13:38:49 +00:00
Miss Islington (bot)
008c8cafed
[3.13] gh-132813: Fix the csv documentation for quoting and escaping (GH-133209) (#136114)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-06-30 07:48:11 +00:00
Miss Islington (bot)
a2f1d22a36
[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 579acf4562)

Co-authored-by: Nicolas Trangez <ikke@nicolast.be>
2025-06-28 13:07:42 +00:00
Russell Keith-Magee
07a763624d
[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 b38810bab7)
2025-06-27 13:37:05 +08:00
Brian Schubert
cee66dd2a0
[3.13] Docs: Fix duplicate word typos (GH-135958) (GH-136008)
(cherry picked from commit 34ce1920ca)
2025-06-26 20:13:46 -04:00
Miss Islington (bot)
3be3c496df
[3.13] gh-91555: add warning to docs about possibility of deadlock/infinite recursion (GH-135954) (GH-135989)
(cherry picked from commit a4625d597f)
2025-06-26 15:26:11 +01:00
Miss Islington (bot)
a7246323a2
[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 0d76dccc3b)

Co-authored-by: Connor Denihan <188690869+cdenihan@users.noreply.github.com>
2025-06-26 13:34:11 +00:00