]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
3 months ago[3.13] Remove Alex Waygood as a codeowner for pre-commit config (#137372) (#137374)
Alex Waygood [Mon, 4 Aug 2025 10:40:56 +0000 (11:40 +0100)] 
[3.13] Remove Alex Waygood as a codeowner for pre-commit config (#137372) (#137374)

3 months ago[3.13] Fix typo in `Lib/test/test_ast/test_ast.py` (GH-136767) (#137356)
Brian Schubert [Mon, 4 Aug 2025 05:56:07 +0000 (01:56 -0400)] 
[3.13] Fix typo in `Lib/test/test_ast/test_ast.py` (GH-136767) (#137356)

`ASTOptimiziationTests` -> `ASTOptimizationTests`
(cherry picked from commit 60146f4f6f24f37e3bfcb9f101565f6e86cf0146)

Co-authored-by: Hunter Hogan <hunterhogan@users.noreply.github.com>
3 months ago[3.13] gh-137257: Upgrade bundled pip to 25.2 (GH-137258) (GH-137362)
Miss Islington (bot) [Mon, 4 Aug 2025 02:23:25 +0000 (04:23 +0200)] 
[3.13] gh-137257: Upgrade bundled pip to 25.2 (GH-137258) (GH-137362)

gh-137257: Upgrade bundled pip to 25.2 (GH-137258)
(cherry picked from commit 506542b5966073203f0da71a487de24e596b7979)

Co-authored-by: Richard Si <sichard26@gmail.com>
3 months ago[3.13] Doc: fix duplicated words (GH-136086) (#137357)
Brian Schubert [Sun, 3 Aug 2025 22:41:47 +0000 (18:41 -0400)] 
[3.13] Doc: fix duplicated words (GH-136086) (#137357)

(cherry picked from commit 698bab5a4031c8f54e04e1dd42bcbe3e4564eba5)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 months ago[3.13] GH-136155: Use ``sphinxext-opengraph`` v0.11.0 (GH-137348) (#137350)
Miss Islington (bot) [Sun, 3 Aug 2025 18:39:39 +0000 (20:39 +0200)] 
[3.13] GH-136155: Use ``sphinxext-opengraph`` v0.11.0 (GH-137348) (#137350)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
3 months ago[3.13] gh-137341: Remove more word duplications (GH-137342) (GH-137347)
Serhiy Storchaka [Sun, 3 Aug 2025 17:24:26 +0000 (20:24 +0300)] 
[3.13] gh-137341: Remove more word duplications (GH-137342) (GH-137347)

(cherry picked from commit 1612dcbafe763014deefd679fe75ac5831a14a43)

3 months ago[3.13] gh-137314: Fix incorrect treatment of format specs in raw fstrings (GH-137328...
Miss Islington (bot) [Sun, 3 Aug 2025 16:58:49 +0000 (18:58 +0200)] 
[3.13] gh-137314: Fix incorrect treatment of format specs in raw fstrings (GH-137328) (#137345)

gh-137314: Fix incorrect treatment of format specs in raw fstrings (GH-137328)
(cherry picked from commit 0153d82a5ab0c6ac16c046bdd4438ea11b58d59d)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 months agoDoc: remove unused images (GH-137323)
Miss Islington (bot) [Sun, 3 Aug 2025 05:28:52 +0000 (07:28 +0200)] 
Doc: remove unused images (GH-137323)

(cherry picked from commit f195c2803002d4a4827c61171d8c327e230842b6)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
3 months ago[3.13] gh-135444: fix `asyncio.DatagramTransport.sendto` to account for datagram...
Miss Islington (bot) [Sun, 3 Aug 2025 04:48:53 +0000 (06:48 +0200)] 
[3.13] gh-135444: fix `asyncio.DatagramTransport.sendto` to account for datagram header size when data cannot be sent (GH-135445) (#137246)

gh-135444: fix `asyncio.DatagramTransport.sendto` to account for datagram header size when data cannot be sent (GH-135445)
(cherry picked from commit e3ea8613519bd08aa6ce7d142403e644ae32d843)

Co-authored-by: Justin Bronder <jsbronder@cold-front.org>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
3 months ago[3.13] gh-135755: Document __future__.* and CO_* as proper Sphinx objects (GH-135980...
Petr Viktorin [Sat, 2 Aug 2025 14:19:20 +0000 (16:19 +0200)] 
[3.13] gh-135755: Document __future__.* and CO_* as proper Sphinx objects (GH-135980) (GH-136371)

* Turn the __future__ table to list-table.
  This'll make it easier to add entries that need longer markup
* Semantic markup for __future__ feature descriptions.
* Document CO_* C macros.
(cherry picked from commit 2468aafe984fdf923811ef0c6969e3d6c1b92a82)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
3 months ago[3.13] gh-137273: Fix debug assertion failure in locale.setlocale() on Windows (GH...
Miss Islington (bot) [Fri, 1 Aug 2025 15:06:16 +0000 (17:06 +0200)] 
[3.13] gh-137273: Fix debug assertion failure in locale.setlocale() on Windows (GH-137300) (GH-137306)

It happened when there were at least 16 characters after dot in the
locale name.
(cherry picked from commit 718e0c89ba0610bba048245028ac133bbf2d44c2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 months ago[3.13] GH-111758: Merge TSan and UBSan reusable GHA workflows (#136820) (GH-137029)
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) [Fri, 1 Aug 2025 13:00:48 +0000 (15:00 +0200)] 
[3.13] GH-111758: Merge TSan and UBSan reusable GHA workflows (#136820) (GH-137029)

(cherry picked from commit 65d2c51c10425dcfacc0a13810d58c41240d7ff9)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Sviatoslav Sydorenko <webknjaz@redhat.com>
3 months ago[3.13] GH-133136: Revise QSBR to reduce excess memory held (gh-135473) (gh-136480)
Neil Schemenauer [Wed, 30 Jul 2025 18:06:44 +0000 (11:06 -0700)] 
[3.13] GH-133136: Revise QSBR to reduce excess memory held (gh-135473) (gh-136480)

The free threading build uses QSBR to delay the freeing of dictionary
keys and list arrays when the objects are accessed by multiple threads
in order to allow concurrent reads to proceed with holding the object
lock. The requests are processed in batches to reduce execution
overhead, but for large memory blocks this can lead to excess memory
usage.

Take into account the size of the memory block when deciding when to
process QSBR requests.

Also track the amount of memory being held by QSBR for mimalloc pages.
Advance the write sequence if this memory exceeds a limit.  Advancing
the sequence will allow it to be freed more quickly.

Process the held QSBR items from the "eval breaker", rather than from
`_PyMem_FreeDelayed()`.  This gives a higher chance that the global read
sequence has advanced enough so that items can be freed.

(cherry picked from commit 113de8545ffe74a4a1dddb9351fa1cbd3562b621)

Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Co-authored-by: Sam Gross <colesbury@gmail.com>
3 months ago[3.13] GH-116738: document thread-safety of bisect (GH-136555) (#137222)
Miss Islington (bot) [Wed, 30 Jul 2025 11:50:39 +0000 (13:50 +0200)] 
[3.13] GH-116738: document thread-safety of bisect (GH-136555) (#137222)

* GH-116738: document thread-safety of bisect (GH-136555)
(cherry picked from commit 5236b0281b91a874b14cf15f3fdef9b7beffb22f)

Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
3 months ago[3.13] gh-137183: Document that `array.array` typecode `w` is new in 3.13 (GH-137184...
Miss Islington (bot) [Tue, 29 Jul 2025 16:45:08 +0000 (18:45 +0200)] 
[3.13] gh-137183: Document that `array.array` typecode `w` is new in 3.13 (GH-137184) (GH-137209)

(cherry picked from commit 0b4e13c2658c5a267fc50ee045ffb7b6408b2e3b)

Co-authored-by: Akuli <akuviljanen17@gmail.com>
3 months ago[3.13] gh-130577: tarfile now validates archives to ensure member offsets are non...
Miss Islington (bot) [Mon, 28 Jul 2025 15:59:33 +0000 (17:59 +0200)] 
[3.13] gh-130577: tarfile now validates archives to ensure member offsets are non-negative (GH-137027) (#137170)

gh-130577: tarfile now validates archives to ensure member offsets are non-negative (GH-137027)
(cherry picked from commit 7040aa54f14676938970e10c5f74ea93cd56aa38)

Co-authored-by: Alexander Urieles <aeurielesn@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
3 months ago[3.13] gh-136759: revert rename `lock.h` to `pylock.h` (GH-137041) (#137075) (#137166)
Kumar Aditya [Mon, 28 Jul 2025 12:19:32 +0000 (17:49 +0530)] 
[3.13] gh-136759: revert rename `lock.h` to `pylock.h` (GH-137041) (#137075) (#137166)

Revert "[3.13] gh-136759: rename `lock.h` to `pylock.h` (GH-137041) (#137075)"

This reverts commit 74503acba7d6c563aeef307ccf2d0cee141838b0.

3 months ago[3.13] gh-119711: describe `create_datagram_endpoint`'s behavior in asyncio when...
Miss Islington (bot) [Mon, 28 Jul 2025 11:03:08 +0000 (13:03 +0200)] 
[3.13] gh-119711: describe `create_datagram_endpoint`'s behavior in asyncio when `local_addr` is `None` (GH-136913) (#137163)

gh-119711: describe `create_datagram_endpoint`'s behavior in asyncio when `local_addr` is `None` (GH-136913)
(cherry picked from commit 1481384141342479b3ba4b89f653b4e5bef0d272)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
3 months ago[3.13] gh-84559: improve What's New entry for `multiprocessing` startmethod changes...
Brian Schubert [Mon, 28 Jul 2025 01:12:16 +0000 (21:12 -0400)] 
[3.13] gh-84559: improve What's New entry for `multiprocessing` startmethod changes (GH-128173) (#137156)

[3.13] gh-84559: improve What's New entry for `multiprocessing` start method changes (GH-128173)
(cherry picked from commit b8c313a41c411331c603bbda28048b2a3f4a2ab4)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
3 months ago[3.13] gh-136992: Add "None" as valid `SameSite` value as per RFC 6265bis (GH-137040...
Miss Islington (bot) [Sun, 27 Jul 2025 20:08:46 +0000 (22:08 +0200)] 
[3.13] gh-136992: Add "None" as valid `SameSite` value as per RFC 6265bis (GH-137040) (#137141)

gh-136992: Add "None" as valid `SameSite` value as per RFC 6265bis (GH-137040)

The "SameSite" attribute defined in RFC 6265bis [1] allows the "Strict", "Lax" and "None"
enforcement modes. We already documented "Strict" and "Lax" as being valid values
but "None" was missing from the list. While the RFC has not been formally approved,
modern browsers support the "None" value [2, 3] thereby making sense to document it.

[1]: https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis
[2]: https://developers.google.com/search/blog/2020/01/get-ready-for-new-samesitenone-secure
[3]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Set-Cookie#none

---------
(cherry picked from commit ae8b7d710020dfd336edd399fa35525dfe8fc049)

Co-authored-by: Iqra Khan <iqraakhan2519@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
3 months ago[3.13] gh-132898: Add a note in `multiprocessing.Process` docs about creating a proce...
Miss Islington (bot) [Sun, 27 Jul 2025 20:05:39 +0000 (22:05 +0200)] 
[3.13] gh-132898: Add a note in `multiprocessing.Process` docs about creating a process in a REPL (GH-137118) (#137155)

gh-132898: Add a note in `multiprocessing.Process` docs about creating a process in a REPL (GH-137118)

* Reword, expand, and clarify the limitation, highlighting the REPL case.
* Mention in the high level Process description.
* added a pointer to the GH issue from the doc note

---------
(cherry picked from commit 4e40f2bea7edfa5ba7e2e0e6159d9da9dfe4aa97)

Co-authored-by: Duprat <yduprat@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
3 months ago[3.13] gh-136278: Document codecs.escape_encode() and codecs.escape_decode() (GH...
Miss Islington (bot) [Sun, 27 Jul 2025 16:44:25 +0000 (18:44 +0200)] 
[3.13] gh-136278: Document codecs.escape_encode() and codecs.escape_decode() (GH-136314) (#137150)

gh-136278: Document codecs.escape_encode() and codecs.escape_decode() (GH-136314)

Closes GH-136278
(cherry picked from commit 6784ef7da7cbf1a944fd0685630ced54e4a0066c)

Co-authored-by: Toshaksha <147024929+Toshaksha@users.noreply.github.com>
3 months ago[3.13] gh-134698: Hold a lock when the thread state is detached in ssl (GH-134724...
Gregory P. Smith [Sun, 27 Jul 2025 15:30:25 +0000 (08:30 -0700)] 
[3.13] gh-134698: Hold a lock when the thread state is detached in ssl (GH-134724) (#137126)

Lock when the thread state is detached.
(cherry picked from commit e047a35b23c1aa69ab8d5da56f36319cec4d36b8) or really from the 3.14 backport fd565fdfc9c0001900d03d627e2fda83f1bcca90

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
3 months ago[3.13] gh-126662: naming consistency for `signal.ItimerError` (GH-126712) (#137123)
Miss Islington (bot) [Sun, 27 Jul 2025 04:28:21 +0000 (06:28 +0200)] 
[3.13] gh-126662: naming consistency for `signal.ItimerError` (GH-126712) (#137123)

gh-126662: naming consistency for `signal.ItimerError` (GH-126712)
(cherry picked from commit d5fa437dfb50e2e47632cdc994e3257608688f30)

Co-authored-by: Stephen Morton <git@tungol.org>
3 months ago[3.13] Link to plaintext for "show source" links (GH-137131) (#137133)
Miss Islington (bot) [Sun, 27 Jul 2025 01:55:51 +0000 (03:55 +0200)] 
[3.13] Link to plaintext for "show source" links (GH-137131) (#137133)

Co-authored-by: ryan-duve <ryan-duve@users.noreply.github.com>
3 months ago[3.13] gh-131038: Use text=True in subprocesses in test_perf_profiler (GH-137117...
Miss Islington (bot) [Sat, 26 Jul 2025 17:24:32 +0000 (19:24 +0200)] 
[3.13] gh-131038: Use text=True in subprocesses in test_perf_profiler (GH-137117) (#137125)

3 months ago[3.13] gh-130522: Fix unraisable TypeError in threading at interpreter shutdown ...
Miss Islington (bot) [Fri, 25 Jul 2025 15:14:27 +0000 (17:14 +0200)] 
[3.13] gh-130522: Fix unraisable TypeError in threading at interpreter shutdown (GH-131537) (GH-137106)

gh-130522: Fix unraisable TypeError in threading at interpreter shutdown (GH-131537)
(cherry picked from commit cb93b6fc5ea525f8075cb53ec373356fec63903a)

Co-authored-by: Tyler Kennedy <tk@tkte.ch>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
3 months ago[3.13] Fix Queue.shutdown docs for condition to unblock a join (gh-137088) (gh-137102)
Miss Islington (bot) [Fri, 25 Jul 2025 14:48:28 +0000 (16:48 +0200)] 
[3.13] Fix Queue.shutdown docs for condition to unblock a join (gh-137088) (gh-137102)

3 months ago[3.13] Fix docs for Queue.shutdown (gh-137028) (gh-137081)
Miss Islington (bot) [Thu, 24 Jul 2025 17:54:42 +0000 (19:54 +0200)] 
[3.13] Fix docs for Queue.shutdown (gh-137028) (gh-137081)

3 months ago[3.13] gh-136759: rename `lock.h` to `pylock.h` (GH-137041) (#137075)
AN Long [Thu, 24 Jul 2025 16:06:25 +0000 (01:06 +0900)] 
[3.13] gh-136759: rename `lock.h` to `pylock.h` (GH-137041) (#137075)

Rename `lock.h` to `pylock.h` to avoid conflicts with headers of other projects.
(cherry picked from commit ec02db5caa546cb4759999453bd6efc1d517b95c)

3 months ago[3.13] gh-136516: Mention installation artifacts as de-facto resources (GH-136419...
Miss Islington (bot) [Thu, 24 Jul 2025 07:01:12 +0000 (09:01 +0200)] 
[3.13] gh-136516: Mention installation artifacts as de-facto resources (GH-136419) (GH-137039)

Files like NUL on windows are, from `importlib.resources` point of
view, an artifact caused by installing to a filesystem directory.
Mention these.
(cherry picked from commit fac4964fdb2ae12969b485de496dd6d064fdbe99)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
3 months ago[3.13] gh-137043: mention `PyList_GET_ITEM` as unsafe borrowed API in free-threading...
Miss Islington (bot) [Wed, 23 Jul 2025 14:42:53 +0000 (16:42 +0200)] 
[3.13] gh-137043: mention `PyList_GET_ITEM` as unsafe borrowed API in free-threading docs (GH-137042) (#137046)

gh-137043: mention `PyList_GET_ITEM` as unsafe borrowed API in free-threading docs (GH-137042)
(cherry picked from commit 38b936cc9912fc6847265917f94af53f0bf228e9)

Co-authored-by: Guido Imperiale <crusaderky@gmail.com>
3 months ago[3.13] gh-136437: Convert more ``os.path`` functions to positional-only in the docs...
Miss Islington (bot) [Tue, 22 Jul 2025 13:44:36 +0000 (15:44 +0200)] 
[3.13] gh-136437: Convert more ``os.path`` functions to positional-only in the docs (GH-136970) (#137001)

Co-authored-by: sobolevn <mail@sobolevn.me>
3 months ago[3.13] gh-118350: Fix support of elements "textarea" and "title" in HTMLParser (GH...
Miss Islington (bot) [Tue, 22 Jul 2025 12:17:59 +0000 (14:17 +0200)] 
[3.13] gh-118350: Fix support of elements "textarea" and "title" in HTMLParser (GH-135310) (GH-136985)

(cherry picked from commit 4d02f31cdd45d81b95540d9076222b709d4f2335)

Co-authored-by: Timon Viola <44016238+timonviola@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
3 months ago[3.13] gh-131531: Android test fixes (GH-136845) (#136963)
Miss Islington (bot) [Tue, 22 Jul 2025 11:27:02 +0000 (13:27 +0200)] 
[3.13] gh-131531: Android test fixes (GH-136845) (#136963)

Modifies the test runner script to no longer export the the HOST environment
variable, and to allow for tests that produce no Python output (output from the
Android console is still expected and required). These changes stem from
knowledge gained during developing a PR for Android support in cibuildwheel.
(cherry picked from commit 149bddcc216a398d71ec9497e9bf3ec03d6f2914)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
3 months ago[3.13] gh-135661: Fix parsing attributes with whitespaces around the "=" separator...
Miss Islington (bot) [Tue, 22 Jul 2025 09:56:10 +0000 (11:56 +0200)] 
[3.13] gh-135661: Fix parsing attributes with whitespaces around the "=" separator in HTMLParser (GH-136908) (GH-136918)

This fixes a regression introduced in GH-135930.
(cherry picked from commit dee650189497735edbc08a54edabb5b06ef1bd09)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 months ago[3.13] gh-136859: Improve `StrEnum` docs (GH-136864) (#136937)
Miss Islington (bot) [Tue, 22 Jul 2025 08:32:30 +0000 (10:32 +0200)] 
[3.13] gh-136859: Improve `StrEnum` docs (GH-136864) (#136937)

Co-authored-by: Nacho Caballero <nachocab@gmail.com>
Co-authored-by: Nacho Caballero <nacho.caballero@astrazeneca.com>
Co-authored-by: Antonio Spadaro <ilovelinux@users.noreply.github.com>
3 months ago[3.13] gh-135468: Improve ``BaseHandler.http_error_default()`` parameter descriptions...
Miss Islington (bot) [Tue, 22 Jul 2025 08:29:59 +0000 (10:29 +0200)] 
[3.13] gh-135468: Improve ``BaseHandler.http_error_default()`` parameter descriptions (GH-136797) (#136826)

Co-authored-by: Valerio Gianella <49408327+valeriogianella@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
3 months ago[3.13] gh-136437: Document `os.path.dirname` as accepting only pos-only (GH-136946...
Miss Islington (bot) [Mon, 21 Jul 2025 18:28:55 +0000 (20:28 +0200)] 
[3.13] gh-136437: Document `os.path.dirname` as accepting only pos-only (GH-136946) (#136948)

gh-136437: Document `os.path.dirname` as accepting only pos-only (GH-136946)
(cherry picked from commit 322442945084ea9055f86a17fa5096b11ba5b344)

Co-authored-by: sobolevn <mail@sobolevn.me>
3 months ago[3.13] gh-136437: Document some `os.path` functions as requiring pos-only (GH-136812...
Miss Islington (bot) [Mon, 21 Jul 2025 18:07:56 +0000 (20:07 +0200)] 
[3.13] gh-136437: Document some `os.path` functions as requiring pos-only (GH-136812) (#136945)

gh-136437: Document some `os.path` functions as requiring pos-only (GH-136812)
(cherry picked from commit b5428bb0e786f5b67c6077472c0068cadd0b5ea9)

Co-authored-by: sobolevn <mail@sobolevn.me>
3 months ago[3.13] Pedantic rewording of why relative importing doesn't work in main modules...
Miss Islington (bot) [Mon, 21 Jul 2025 16:58:32 +0000 (18:58 +0200)] 
[3.13] Pedantic rewording of why relative importing doesn't work in main modules (GH-136846) (#136941)

Pedantic rewording of why relative importing doesn't work in main modules (GH-136846)

Pedantically reword the section about relative imports and main modules.
(cherry picked from commit 4b68289ca6954b8d135e2ee2344e67fae38239fd)

Co-authored-by: Josh Cannon <joshdcannon@gmail.com>
3 months ago[3.13] gh-135148: Correctly handle f/t strings with comments and debug expressions...
Lysandros Nikolaou [Mon, 21 Jul 2025 14:54:29 +0000 (16:54 +0200)] 
[3.13] gh-135148: Correctly handle f/t strings with comments and debug expressions (#135198) (#136899)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 months ago[3.13] gh-134411: assert `PyLong_FromLong(x) != NULL` when `x` is known to be small...
Miss Islington (bot) [Mon, 21 Jul 2025 09:21:30 +0000 (11:21 +0200)] 
[3.13] gh-134411: assert `PyLong_FromLong(x) != NULL` when `x` is known to be small (GH-134415) (#136911)

gh-134411: assert `PyLong_FromLong(x) != NULL` when `x` is known to be small (GH-134415)

Since `PyLong_From Long(PY_MONITORING_DEBUGGER_ID)` falls to `small_int` case and can't return `NULL`. Added `assert`s for extra confidence.
https://github.com/python/cpython/issues/134411#issuecomment-2897653868
(cherry picked from commit cf19b6435d02dd7be11b84a44f4a8a9f1a935b15)

Co-authored-by: Sergey Muraviov <smurav@mail.ru>
3 months ago[3.13] gh-136882: Update stale link in the basic logging tutorial. (GH-136885) (...
Miss Islington (bot) [Mon, 21 Jul 2025 09:04:28 +0000 (11:04 +0200)] 
[3.13] gh-136882: Update stale link in the basic logging tutorial. (GH-136885) (#136906)

Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
3 months ago[3.13] gh-86608: Improve and restructure tarfile examples (GH-121771) (#136867)
Miss Islington (bot) [Sun, 20 Jul 2025 13:16:26 +0000 (15:16 +0200)] 
[3.13] gh-86608: Improve and restructure tarfile examples (GH-121771) (#136867)

gh-86608: Improve and restructure tarfile examples (GH-121771)

Add an example on how to write a tarfile to stdout; general improvements.
(cherry picked from commit cc81b4e501138b5793d419c81c3a2859a17207a7)

Co-authored-by: Dominic H <dom@dominic.sk>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
3 months ago[3.13] gh-130655: gettext: Add fallback testcase (GH-136857) (#136863)
Miss Islington (bot) [Sun, 20 Jul 2025 12:30:09 +0000 (14:30 +0200)] 
[3.13] gh-130655: gettext: Add fallback testcase (GH-136857) (#136863)

gh-130655: gettext: Add fallback testcase (GH-136857)
(cherry picked from commit c6e6fe92cd8b90d546652764e3eaf1631da16f8f)

Co-authored-by: Dominic H <dom@dominic.sk>
3 months ago[3.13] gh-136854: Exit on error in `make venv` (GH-136856) (#136861)
Miss Islington (bot) [Sun, 20 Jul 2025 12:14:42 +0000 (14:14 +0200)] 
[3.13] gh-136854: Exit on error in `make venv` (GH-136856) (#136861)

Co-authored-by: Nacho Caballero <nachocab@gmail.com>
Co-authored-by: Nacho Caballero <nacho.caballero@astrazeneca.com>
3 months ago[3.13] Doc/c-api/memory.rst: extend --without-pymalloc doc with ASan information...
Miss Islington (bot) [Sun, 20 Jul 2025 08:55:40 +0000 (10:55 +0200)] 
[3.13] Doc/c-api/memory.rst: extend --without-pymalloc doc with ASan information (GH-136790) (#136799)

Extends the documentation for disabling pymalloc with the `--without-pymalloc` flag regarding why it is worth to use it when enabling AddressSanitizer for Python build (which is done, e.g., in CPython's CI builds).

(cherry picked from commit d19bb4471331ca2cb87b86e4c904bc9a2bafb044)

Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
3 months ago[3.13] gh-136764: improve comment in enum.verify.__call__ (GH-136774) (GH-136842)
Miss Islington (bot) [Sat, 19 Jul 2025 19:01:42 +0000 (21:01 +0200)] 
[3.13] gh-136764: improve comment in enum.verify.__call__ (GH-136774) (GH-136842)

gh-136764: improve comment in enum.verify.__call__ (GH-136774)
(cherry picked from commit 6a1c93af806d0ca5d3fb86cd183d00013bbf28d1)

Co-authored-by: Saurav Singh <sauravsinghshakya@yahoo.com>
3 months ago[3.13] gh-136752: Clarify documentation for ``IPv{N}Address.is_reserved`` (GH-136794...
Miss Islington (bot) [Sat, 19 Jul 2025 14:50:37 +0000 (16:50 +0200)] 
[3.13] gh-136752: Clarify documentation for ``IPv{N}Address.is_reserved`` (GH-136794) (#136828)

gh-136752: Clarify documentation for ``IPv{N}Address.is_reserved`` (GH-136794)
(cherry picked from commit 6293d8a1a648a498b7ac899631b74fa25c71c1ac)

Co-authored-by: Matthieu Lienart <50069805+mlnrt@users.noreply.github.com>
Co-authored-by: Matthieu Lienart <matthieu.lienart@axians.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
3 months ago[3.13] gh-54732: Make argparse error caused by empty rows in option files explicit...
Miss Islington (bot) [Sat, 19 Jul 2025 14:28:57 +0000 (16:28 +0200)] 
[3.13] gh-54732: Make argparse error caused by empty rows in option files explicit (GH-136795) (#136819)

gh-54732: Make argparse error caused by empty rows in option files explicit (GH-136795)
(cherry picked from commit 8ffc3ef01e83ffe629c6107082677de4d23974d5)

Co-authored-by: jdunter <2ve@mailbox.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
3 months ago[3.13] gh-135730: Clarify multiprocessing.Queue close() documentation (GH-136803...
Miss Islington (bot) [Sat, 19 Jul 2025 12:58:08 +0000 (14:58 +0200)] 
[3.13] gh-135730: Clarify multiprocessing.Queue close() documentation (GH-136803) (GH-136807)

gh-135730: Clarify multiprocessing.Queue close() documentation (GH-136803)

Add a copy of the text from SimpleQueue.close()

---------
(cherry picked from commit f575588ccf27d8d54a1e99cfda944f2614b3255c)

Co-authored-by: aggshruti99 <aggshruti99@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
3 months ago[3.13] gh-136769: Include fixed-width integers in the fundamental data types table...
Miss Islington (bot) [Sat, 19 Jul 2025 10:25:37 +0000 (12:25 +0200)] 
[3.13] gh-136769: Include fixed-width integers in the fundamental data types table (GH-136784) (#136786)

gh-136769: Include fixed-width integers in the fundamental data types table (GH-136784)

Fixed-sized types, like ``c_int32``, are currently missing from the fundamental data types table
in the ``ctypes`` documentation. This commit adds them, and  notes that ``c_[u]int8`` is an alias
of ``c_[u]byte``.
(cherry picked from commit acefb978dcb5dd554e3c49a3015ee5c2ad6bfda1)

Co-authored-by: Sina Zel taat <111974143+SZeltaat@users.noreply.github.com>
3 months ago[3.13] Docs: Improve example for ``itertools.batched()`` (GH-136775) (#136779)
Miss Islington (bot) [Sat, 19 Jul 2025 09:35:48 +0000 (11:35 +0200)] 
[3.13] Docs: Improve example for ``itertools.batched()`` (GH-136775) (#136779)

Docs: Improve example for ``itertools.batched()`` (GH-136775)

The current example `batched('ABCDEFG', n=3) → ABC DEF G` can confuse readers because both, the size of the tuples and the number of tuples are 3.
By using a batch size of n=2, it is clearer that the `n` argument refers to the size of the resulting tuples.
I.e. the new example is: `batched('ABCDEFG', n=2) → AB CD EF G`
(cherry picked from commit 3eecc72ac70943f7e33297eea17803af15322c88)

Co-authored-by: RafaelWO <38643099+RafaelWO@users.noreply.github.com>
3 months ago[3.13] parser_generator.py typo - keywods -> keywords (GH-135014) (#136773)
Miss Islington (bot) [Sat, 19 Jul 2025 09:17:27 +0000 (11:17 +0200)] 
[3.13] parser_generator.py typo - keywods -> keywords (GH-135014) (#136773)

Co-authored-by: chemelnucfin <3982092+chemelnucfin@users.noreply.github.com>
3 months ago[3.13] gh-136697: Use the standard audit event format for sys.monitor… (#136750)
Tian Gao [Thu, 17 Jul 2025 18:43:20 +0000 (11:43 -0700)] 
[3.13] gh-136697: Use the standard audit event format for sys.monitor… (#136750)

* [3.13] gh-136697: Use the standard audit event format for sys.monitoring docs (GH-136747)
(cherry picked from commit 28937d3a21cf8168c853ae43374a8287c21f71c9)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
3 months ago[3.13] Improved venv docs to indicate that isolation is the default. (GH-136698)...
Facundo Batista [Thu, 17 Jul 2025 10:25:31 +0000 (07:25 -0300)] 
[3.13] Improved venv docs to indicate that isolation is the default. (GH-136698) (GH-136725)

(cherry picked from commit 8e2f4b448380b4c835442534d566618f06e32573)

3 months ago[3.13] gh-126548: Add a thread-unsafety warning for `importlib.reload()` (GH-136704...
Miss Islington (bot) [Wed, 16 Jul 2025 16:40:22 +0000 (18:40 +0200)] 
[3.13] gh-126548: Add a thread-unsafety warning for `importlib.reload()` (GH-136704) (GH-136724)

gh-126548: Add a thread-unsafety warning for `importlib.reload()` (GH-136704)
(cherry picked from commit 69d8fe50ddc4dbe757c9929a532e2e882f0261ba)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
3 months ago[3.13] gh-136710: Fix bad indentation in `os.chdir` docstring (GH-136721)
Zachary Ware [Wed, 16 Jul 2025 16:33:46 +0000 (11:33 -0500)] 
[3.13] gh-136710: Fix bad indentation in `os.chdir` docstring (GH-136721)

(cherry picked from commit bde808ad6ba5eee8a6201983cf071449d7ce7e39)

Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
3 months ago[3.13] Add `.gram` file to the `.editorconfig` (GH-136680) (#136715)
sobolevn [Wed, 16 Jul 2025 15:05:47 +0000 (18:05 +0300)] 
[3.13] Add `.gram` file to the `.editorconfig` (GH-136680) (#136715)

(cherry picked from commit 2f0db9b05f0598548c0c136571c31065ecf961e5)

3 months ago[3.13] Fix the doctest.testmod() docstring (GH-136675) (GH-136691)
Miss Islington (bot) [Tue, 15 Jul 2025 17:04:57 +0000 (19:04 +0200)] 
[3.13] Fix the doctest.testmod() docstring (GH-136675) (GH-136691)

__test__ = None is not supported since Python 2.4.
(cherry picked from commit cb59eaefeda5ff44ac0c742bff2b8afc023be313)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 months ago[3.13] Fix index entry and anchor for module.__test__ (GH-136674) (GH-136689)
Miss Islington (bot) [Tue, 15 Jul 2025 15:59:45 +0000 (17:59 +0200)] 
[3.13] Fix index entry and anchor for module.__test__ (GH-136674) (GH-136689)

It was "doctest.module attribute". Now it is "module attribute".
(cherry picked from commit 7689407fa4406ab79d7e9e02363f50be4ec35b5e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 months ago[3.13] gh-136682: Remove incorrect statement that `os.path.samestat` accepts file...
Miss Islington (bot) [Tue, 15 Jul 2025 12:56:33 +0000 (14:56 +0200)] 
[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 7e10a103dfe52feb0ef3d541e08abc2640838101)

Co-authored-by: Ran Benita <ran@unusedvar.com>
3 months 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 months 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 months 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 months 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 months 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 months 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)

3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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)

3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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)

3 months 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>
3 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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>