]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
7 weeks ago[3.13] gh-138163: skip failures if tests are run with `SCHED_BATCH` on glibc (GH...
Miss Islington (bot) [Tue, 16 Sep 2025 08:27:19 +0000 (10:27 +0200)] 
[3.13] gh-138163: skip failures if tests are run with `SCHED_BATCH` on glibc (GH-138576) (GH-138819)

(cherry picked from commit 492941459acb5b5a104d96414288601d2e2b7e6f)

This backport omits SCHED_DEADLINE, which was added in 3.14.

---------

Co-authored-by: jxes993409 <68891412+jxes993409@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
7 weeks ago[3.13] gh-128636: Fix crash in PyREPL when os.environ is overwritten with an invalid...
Łukasz Langa [Mon, 15 Sep 2025 22:53:51 +0000 (23:53 +0100)] 
[3.13] gh-128636: Fix crash in PyREPL when os.environ is overwritten with an invalid value for macOS (GH-138089) (GH-138942)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
(cherry picked from commit 8ef7735c536e0ffe4a60224e59b7587288f53e9e)

7 weeks ago[3.13] gh-137490: Fix signal.sigwaitinfo() on NetBSD (GH-137523) (GH-138936)
Miss Islington (bot) [Mon, 15 Sep 2025 16:43:32 +0000 (18:43 +0200)] 
[3.13] gh-137490: Fix signal.sigwaitinfo() on NetBSD (GH-137523) (GH-138936)

Handle ECANCELED in the same way as EINTR to work around the Posix
violation in the NetBSD's implementation.
(cherry picked from commit 07d0b95b05dfaf5832f44c2fbc956761f9e29571)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
7 weeks ago[3.13] gh-131189: Fix "msvcrt" import warning on Linux when "_ctypes" is not availabl...
Miss Islington (bot) [Mon, 15 Sep 2025 16:29:33 +0000 (18:29 +0200)] 
[3.13] gh-131189: Fix "msvcrt" import warning on Linux when "_ctypes" is not available. (GH-131201) (GH-138934)

gh-131189: Fix "msvcrt" import warning on Linux when "_ctypes" is not available. (GH-131201)

Fix "msvcrt" import warning on Linux when "_ctypes" is not available.

On Linux, compiling without "libffi" causes a
"No module named 'msvcrt'" warning when launching PyREPL.
(cherry picked from commit f320c951c3220aa6727b581216463e8b3f8bcd6b)

Co-authored-by: Dzmitry Plashchynski <plashchynski@gmail.com>
7 weeks ago[3.13] gh-138779: Use the dev_t converter for st_rdev (GH-138780) (GH-138927)
Miss Islington (bot) [Mon, 15 Sep 2025 14:29:57 +0000 (16:29 +0200)] 
[3.13] gh-138779: Use the dev_t converter for st_rdev (GH-138780) (GH-138927)

This allows to support device numbers larger than 2**63-1.
(cherry picked from commit 43013f72f0aadc5ee428aa5bdf6d949b4e79779a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
7 weeks ago[3.13] gh-137017: Ensure `Thread.is_alive()` only returns False after the underlying...
Miss Islington (bot) [Mon, 15 Sep 2025 13:28:05 +0000 (15:28 +0200)] 
[3.13] gh-137017: Ensure `Thread.is_alive()` only returns False after the underlying OS thread exits (gh-137315) (gh-138917)

(cherry picked from commit aa9ceb17215af21ed6618d6f7ccb5bf57ca57101)

Co-authored-by: Abdul <abdulrasheedibrahim47@gmail.com>
Co-authored-by: Sam Gross <colesbury@gmail.com>
7 weeks ago[3.13] gh-138902: Fix generator send arg name (GH-138905) (#138913)
Miss Islington (bot) [Mon, 15 Sep 2025 11:35:22 +0000 (13:35 +0200)] 
[3.13] gh-138902: Fix generator send arg name (GH-138905) (#138913)

gh-138902: Fix generator send arg name (GH-138905)
(cherry picked from commit cb07bd24eed43a0ac182e664398398164089f294)

Co-authored-by: Marat Khagazheev <marathagazeev@gmail.com>
Co-authored-by: marat <khagazheev@artlebedev.ru>
7 weeks ago[3.13] gh-138669: Increase test coverage for difflib (GH-138670) (#138818)
Miss Islington (bot) [Sun, 14 Sep 2025 19:42:05 +0000 (21:42 +0200)] 
[3.13] gh-138669: Increase test coverage for difflib (GH-138670) (#138818)

gh-138669: Increase test coverage for difflib (GH-138670)
(cherry picked from commit 44991619ba04a98c5878ee5bbc38d2e47cbd22c7)

Co-authored-by: Jan-Eric Nitschke <47750513+JanEricNitschke@users.noreply.github.com>
7 weeks ago[3.13] gh-71648: Optimize PNG files (GH-138842) (#138852)
Stan Ulbrych [Sun, 14 Sep 2025 15:29:59 +0000 (16:29 +0100)] 
[3.13] gh-71648: Optimize PNG files (GH-138842) (#138852)

* Only keep > 1 kb savings
(cherry picked from commit 2e8f64c9317a327a2be1ab8031844ef3967c1040)

7 weeks ago[3.13] gh-71810: Fix _PyLong_AsByteArray() undefined behavior (GH-138873) (#138884)
Miss Islington (bot) [Sun, 14 Sep 2025 09:49:23 +0000 (11:49 +0200)] 
[3.13] gh-71810: Fix _PyLong_AsByteArray() undefined behavior (GH-138873) (#138884)

gh-71810: Fix _PyLong_AsByteArray() undefined behavior (GH-138873)

Don't read p[-1] when p is an empty string: when n==0.
(cherry picked from commit 8b5ce31c2b44d9bf82e6119e90a52dd530bfd1db)

Co-authored-by: Victor Stinner <vstinner@python.org>
8 weeks ago[3.13] gh-138005: Document that CSV `skipinitialspace=True` and `delimiter=' '` requi...
Miss Islington (bot) [Thu, 11 Sep 2025 15:18:42 +0000 (17:18 +0200)] 
[3.13] gh-138005: Document that CSV `skipinitialspace=True` and `delimiter=' '` require quotation for empty fields (GH-138006) (#138799)

Co-authored-by: Maurycy Pawłowski-Wieroński <5383+maurycy@users.noreply.github.com>
8 weeks ago[3.13] gh-138479: Ensure that `__typing_subst__` returns a tuple (GH-138482) (GH...
Peter Bierma [Thu, 11 Sep 2025 11:08:57 +0000 (07:08 -0400)] 
[3.13] gh-138479: Ensure that `__typing_subst__` returns a tuple (GH-138482) (GH-138786)

* gh-138479: Ensure that `__typing_subst__` returns a tuple (GH-138482)

Raise an exception if __typing_subst__ returns a non-tuple object.

(cherry picked from commit 1da989be74eaa94590ec28e750e5352de1ead227)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
8 weeks ago[3.13] gh-71810: Fix corner case (length==0) for int.to_bytes() (GH-138739) (#138783)
Miss Islington (bot) [Thu, 11 Sep 2025 10:53:27 +0000 (12:53 +0200)] 
[3.13] gh-71810: Fix corner case (length==0) for int.to_bytes() (GH-138739) (#138783)

gh-71810: Fix corner case (length==0) for int.to_bytes() (GH-138739)

```pycon
>>> (0).to_bytes(0, 'big', signed=True)
b''
>>> (-1).to_bytes(0, 'big', signed=True)  # was b''
Traceback (most recent call last):
  File "<python-input-0>", line 1, in <module>
    (-1).to_bytes(0, 'big', signed=True)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
OverflowError: int too big to convert
```
(cherry picked from commit 011179a79a0d7b93ce074b25b0819e96b6dd3315)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
8 weeks ago[3.13] gh-138432: Improved invalid path checking in zoneinfo.reset_tzpath() (GH-13843...
Serhiy Storchaka [Thu, 11 Sep 2025 07:35:39 +0000 (10:35 +0300)] 
[3.13] gh-138432: Improved invalid path checking in zoneinfo.reset_tzpath() (GH-138433) (GH-138778)

* Improve error messages for path-like relative paths and path-like bytes paths.
* TZPATH is now always a tuple of strings.
(cherry picked from commit 859aecc33b82f45e5b7ae30138d28f2a2f33a575)

Co-authored-by: Stephen Morton <git@tungol.org>
8 weeks ago[3.13] gh-134163: Fix an infinite loop when the process runs out of memory in a ...
yihong [Wed, 10 Sep 2025 16:54:42 +0000 (00:54 +0800)] 
[3.13] gh-134163: Fix an infinite loop when the process runs out of memory in a `try` block (GH-138491)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
8 weeks ago[3.13] gh-138744: GitHub Actions: pin to `windows-2022` (GH-138743) (#138753)
Hugo van Kemenade [Wed, 10 Sep 2025 16:15:22 +0000 (19:15 +0300)] 
[3.13] gh-138744: GitHub Actions: pin to `windows-2022` (GH-138743) (#138753)

8 weeks ago[3.13] gh-138729: Cover `inspect.formatannotationrelativeto` with tests (GH-138730...
sobolevn [Wed, 10 Sep 2025 14:42:49 +0000 (17:42 +0300)] 
[3.13] gh-138729: Cover `inspect.formatannotationrelativeto` with tests (GH-138730) (#138748)

(cherry picked from commit f5fa336579d124e389b1c36a5431e7908aaf5e53)

8 weeks ago[3.13] gh-90548: Skip NODEV portion of test_makedev when linked to musl (GH-138713)
Miss Islington (bot) [Tue, 9 Sep 2025 20:01:53 +0000 (22:01 +0200)] 
[3.13] gh-90548: Skip NODEV portion of test_makedev when linked to musl (GH-138713)

(cherry picked from commit bbe00d53e9f598b012470cf077357cbbcbee737f)

8 weeks ago[3.13] Add impl-detail block for PyLong_FromLong docs (GH-126422) (#138695)
Miss Islington (bot) [Tue, 9 Sep 2025 09:30:44 +0000 (11:30 +0200)] 
[3.13] Add impl-detail block for PyLong_FromLong docs (GH-126422) (#138695)

Add impl-detail block for PyLong_FromLong docs (GH-126422)
(cherry picked from commit fd2e3d163340a29fc3ad1e9be3289fee64979dbd)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
8 weeks ago[3.13] gh-137242: Add a --no-randomize option, and use it in Android CI (GH-138649...
Russell Keith-Magee [Tue, 9 Sep 2025 08:53:01 +0000 (16:53 +0800)] 
[3.13] gh-137242: Add a --no-randomize option, and use it in Android CI (GH-138649) (#138685)

Adds a --no-randomize option to the CI runner, so that randomisation can be easily
disabled for --fast-ci and --slow-ci configurations on single-threaded testing platforms
like Android, iOS, and Emscripten.

---------
(cherry picked from commit 01895d233b4370e0c99f16c01a57cfd73c434b28)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Malcolm Smith <smith@chaquo.com>
8 weeks ago[3.13] gh-126631: gh-137996: fix pre-loading of `__main__` (GH-135295) (#138609)
Gregory P. Smith [Mon, 8 Sep 2025 18:13:23 +0000 (11:13 -0700)] 
[3.13] gh-126631: gh-137996: fix pre-loading of `__main__` (GH-135295) (#138609)

gh-126631: gh-137996: fix pre-loading of `__main__`

The `main_path` parameter was renamed `init_main_from_name`, update the
forkserver code accordingly.  This was leading to slower startup times when people
were trying to preload the main module.

---------
(cherry picked from commit 0912b3a6dbd226bea79eb8d70d5a06230804d4cb)

Co-authored-by: Duane Griffin <duaneg@dghda.com>
8 weeks ago[3.13] gh-107194: Improved language of list.index in tutorial (gh-138518) (#138528)
Miss Islington (bot) [Mon, 8 Sep 2025 15:01:01 +0000 (17:01 +0200)] 
[3.13] gh-107194: Improved language of list.index in tutorial (gh-138518) (#138528)

Co-authored-by: Ric <11750904+ricsatjr@users.noreply.github.com>
8 weeks ago[3.13] gh-138659: Typo in the gc module docstring (GH-138660) (#138663)
Miss Islington (bot) [Mon, 8 Sep 2025 14:39:43 +0000 (16:39 +0200)] 
[3.13] gh-138659: Typo in the gc module docstring (GH-138660) (#138663)

gh-138659: Typo in the gc module docstring (GH-138660)

docs(gc): fix typo in get_threshold() docstring

Removes a duplicate "the" from the docstring for the `gc.get_threshold()` function.
(cherry picked from commit c006a623e73d2368ec653e19c769706885161053)

Co-authored-by: Aalaap Dey <65075436+axdeyy@users.noreply.github.com>
8 weeks ago[3.13] gh-138644: Update c-api docs of `PyInterpreterState` about PEP-684 (GH-138651...
Miss Islington (bot) [Mon, 8 Sep 2025 13:52:45 +0000 (15:52 +0200)] 
[3.13] gh-138644: Update c-api docs of `PyInterpreterState` about PEP-684 (GH-138651) (#138658)

gh-138644: Update c-api docs of `PyInterpreterState` about PEP-684 (GH-138651)
(cherry picked from commit 4f0c267b40e52b83b2e1515aa0dd74eda31ae18a)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2 months ago[3.13] gh-105487: Fix `__dir__` entries of `GenericAlias` (GH-138578) (#138640)
sobolevn [Mon, 8 Sep 2025 10:03:03 +0000 (13:03 +0300)] 
[3.13] gh-105487: Fix `__dir__` entries of `GenericAlias` (GH-138578) (#138640)

(cherry picked from commit b0420b505e6c9bbc8418e0f6240835ea777137b5)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
2 months ago[3.13] gh-138584: Increase test coverage for `collections.UserList` (GH-138590) ...
Miss Islington (bot) [Sun, 7 Sep 2025 09:52:35 +0000 (11:52 +0200)] 
[3.13] gh-138584: Increase test coverage for `collections.UserList` (GH-138590) (#138611)

gh-138584: Increase test coverage for `collections.UserList` (GH-138590)

Some common tests in `test.list_tests.CommonTest` explicitly tested `list`
instead of testing the underlying list-like type defined in `type2test`.

---------
(cherry picked from commit d7b9ea5cab984497526fcc0b988e4eb5988c1e88)

Co-authored-by: dbXD320 <devanshbaghla320@gmail.com>
Co-authored-by: Devansh Baghla <devanshbaghla34@gmail.com>
2 months ago[3.13] gh-138556: Fix old link in gc docs (#138596)
Spider84pr [Sun, 7 Sep 2025 07:53:56 +0000 (10:53 +0300)] 
[3.13] gh-138556: Fix old link in gc docs  (#138596)

2 months ago[3.13] gh-118981: multiprocessing.popen_spawn_posix, fix potential hang (gh-118982...
Miss Islington (bot) [Sun, 7 Sep 2025 07:41:54 +0000 (09:41 +0200)] 
[3.13] gh-118981: multiprocessing.popen_spawn_posix, fix potential hang (gh-118982) (#138606)

gh-118981: multiprocessing.popen_spawn_posix, fix potential hang (gh-118982)

fix potential hang.

It can happen that the child crashes right in the beginning for whatever reason. In this case, the parent will hang when writing into the pipe, because the child fd is not closed yet.

The normal pattern is to close the child fds right after the child proc is forked/executed/spawned, so when the child dies, then also the pipes will be closed, and there will be no hang (the parent gets SIGPIPE instead).
(cherry picked from commit 8ed5a2b56cc6a8635e586c641b0b837669f6677b)

Co-authored-by: Albert Zeyer <albzey@gmail.com>
2 months ago[3.13] fix comment reference from man 7 signal to man 7 signal-safety (GH-138554...
Miss Islington (bot) [Sat, 6 Sep 2025 19:02:33 +0000 (21:02 +0200)] 
[3.13] fix comment reference from man 7 signal to man 7 signal-safety (GH-138554) (#138595)

fix comment reference from man 7 signal to man 7 signal-safety (GH-138554)
(cherry picked from commit 2f5ace780ba3880ce07c4aacbda08ebba36e3b4d)

docs: fix comment reference from man 7 signal to man 7 signal-safety

Co-authored-by: mqudah <mohghq@gmail.com>
2 months ago[3.13] gh-116946: fully implement GC protocol for `_curses_panel.panel` (GH-138333...
Bénédikt Tran [Sat, 6 Sep 2025 10:17:57 +0000 (12:17 +0200)] 
[3.13] gh-116946: fully implement GC protocol for `_curses_panel.panel` (GH-138333) (#138428)

[3.14] gh-116946: fully implement GC protocol for `_curses_panel.panel` (GH-138333)

This commit fixes possible reference loops via `panel.set_userptr`
by implementing `tp_clear` and `tp_traverse` for panel objects.
(cherry picked from commit 572df47840d910b9fc9cd951074232ae89442be1)

2 months ago[3.13] GH-138465: Improve documentation for common sequence methods (GH-138474) ...
Adam Turner [Fri, 5 Sep 2025 21:39:32 +0000 (22:39 +0100)] 
[3.13] GH-138465: Improve documentation for common sequence methods (GH-138474) (#138567)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 months ago[3.13] gh-137985: Correct description of Formatter's datefmt param in logging documen...
Miss Islington (bot) [Fri, 5 Sep 2025 21:32:49 +0000 (23:32 +0200)] 
[3.13] gh-137985: Correct description of Formatter's datefmt param in logging documentation (GH-138530) (GH-138566)

(cherry picked from commit 83688950490f26d098a462569201ef8e94378852)
Co-authored-by: W. H. Wang <mattwang44@gmail.com>
2 months ago[3.13] gh-138010: Fix `__init_subclass__` forwarding by `warnings.deprecated` (GH...
Brian Schubert [Fri, 5 Sep 2025 21:21:19 +0000 (17:21 -0400)] 
[3.13] gh-138010: Fix `__init_subclass__` forwarding by `warnings.deprecated` (GH-138210) (#138564)

(cherry picked from commit e2c038f5be2df39a7b06364dec0836a25c423b67)

2 months ago[3.13] gh-138307: Update the Ellipsis documentation (GH-138306) (#138439)
Miss Islington (bot) [Fri, 5 Sep 2025 20:47:19 +0000 (22:47 +0200)] 
[3.13] gh-138307: Update the Ellipsis documentation (GH-138306) (#138439)

(cherry picked from commit 88665de120d7f89e18774b136f3c898bcfe52c7b)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
2 months ago[3.13] gh-88375, gh-111788: Fix parsing errors and normalization in robotparser ...
Miss Islington (bot) [Fri, 5 Sep 2025 20:21:02 +0000 (22:21 +0200)] 
[3.13] gh-88375, gh-111788: Fix parsing errors and normalization in robotparser (GH-138502) (GH-138549)

* Don't fail trying to parse weird patterns.
* Don't fail trying to decode non-UTF-8 "robots.txt" files.
* No longer ignore trailing "?" in patterns and URLs.
* Distinguish raw special characters "?", "=" and "&" from the
  percent-encoded ones.
* Remove tests that do nothing.
(cherry picked from commit cb7ef18d70a0bc1363799e2dfa475db457155e43)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 months ago[3.13] gh-138515: Include email module in Emscripten build (gh-138520) (gh-138534)
Miss Islington (bot) [Fri, 5 Sep 2025 08:56:25 +0000 (10:56 +0200)] 
[3.13] gh-138515: Include email module in Emscripten build (gh-138520) (gh-138534)

gh-138515: Include email module in Emscripten build (gh-138520)
(cherry picked from commit d1d84098f6ac408ef36f1a85a4bc80d857d0f4ff)

Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
2 months ago[3.13] gh-138286: Run ``ruff`` on ``Tools/i18n`` (GH-138287) (#138524)
Stan Ulbrych [Fri, 5 Sep 2025 07:55:04 +0000 (08:55 +0100)] 
[3.13] gh-138286: Run ``ruff`` on ``Tools/i18n`` (GH-138287) (#138524)

* [3.13] gh-138286: Run ``ruff`` on ``Tools/i18n`` (GH-138287)
(cherry picked from commit 78acd8e95e78bc410b8207cd60e1323ece01b3d5)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
* Commit

* Commit

---------

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
2 months ago[3.13] gh-138516: fix typo in OrderedDict exception msg (GH-138517) (#138522)
Miss Islington (bot) [Fri, 5 Sep 2025 07:19:43 +0000 (09:19 +0200)] 
[3.13] gh-138516: fix typo in OrderedDict exception msg (GH-138517) (#138522)

gh-138516: fix typo in OrderedDict exception msg (GH-138517)
(cherry picked from commit e9c2a357fba72e46e965ecaa54e78be69c6c5d6b)

Co-authored-by: asas1asas200 <asas1asas200@gmail.com>
2 months ago[3.13] Docs: Fix typo in `os.fwalk()` example (GH-138486) (GH-138501)
Miss Islington (bot) [Thu, 4 Sep 2025 12:39:58 +0000 (14:39 +0200)] 
[3.13] Docs: Fix typo in `os.fwalk()` example (GH-138486) (GH-138501)

Docs: Fix typo in `os.fwalk()` example (GH-138486)
(cherry picked from commit 849a80ec412c36bbca5d400a7db5645b8cf54f1f)

Co-authored-by: William Andrea <22385371+wjandrea@users.noreply.github.com>
2 months ago[3.13] gh-95844: Move help_url code to a help module function (GH-129971) (#138485)
Miss Islington (bot) [Wed, 3 Sep 2025 21:49:29 +0000 (23:49 +0200)] 
[3.13] gh-95844: Move help_url code to a help module function (GH-129971) (#138485)

gh-95844: Move help_url code to a help module function (GH-129971)

---------
(cherry picked from commit 3b4cd885634abc029b409cb566e8d9a530d061f8)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2 months ago[3.13] GH-101100: Resolve reference warnings in whatsnew/3.10.rst (GH-138408) (#138481)
Miss Islington (bot) [Wed, 3 Sep 2025 21:05:16 +0000 (23:05 +0200)] 
[3.13] GH-101100: Resolve reference warnings in whatsnew/3.10.rst (GH-138408) (#138481)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 months ago[3.13] GH-101100: Resolve reference warnings in whatsnew/3.5.rst (GH-138412) (#138460)
Miss Islington (bot) [Wed, 3 Sep 2025 20:58:54 +0000 (22:58 +0200)] 
[3.13] GH-101100: Resolve reference warnings in whatsnew/3.5.rst (GH-138412) (#138460)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 months ago[3.13] Fix Windows path in `venv` docs (GH-138478)
Miss Islington (bot) [Wed, 3 Sep 2025 20:22:05 +0000 (22:22 +0200)] 
[3.13] Fix Windows path in `venv` docs (GH-138478)

(cherry picked from commit f8d9cb140726a0167c9f733c706b834a7d273476)

2 months ago[3.13] gh-138281: Run `ruff` on `Tools/peg_generator` (GH-138282) (#138472)
sobolevn [Wed, 3 Sep 2025 18:46:52 +0000 (21:46 +0300)] 
[3.13] gh-138281: Run `ruff` on `Tools/peg_generator` (GH-138282) (#138472)

(cherry picked from commit 0d1f4e163990cb7e08b21d1fd88ff54bac5b0699)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 months ago[3.13] gh-72249: Correct wording of GH-101910 blurb (GH-138471)
Miss Islington (bot) [Wed, 3 Sep 2025 18:27:23 +0000 (20:27 +0200)] 
[3.13] gh-72249: Correct wording of GH-101910 blurb (GH-138471)

This incidentally corrects a reST issue reported by Daniel Nylander from the Swedish translation.

(cherry picked from commit 007bc5fc623c632b13bc0c818bbb31db3dce83a9)

2 months ago[3.13] GH-101100: Resolve reference warnings in using/windows.rst (#138416) (#138463)
Adam Turner [Wed, 3 Sep 2025 17:12:51 +0000 (18:12 +0100)] 
[3.13] GH-101100: Resolve reference warnings in using/windows.rst (#138416) (#138463)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 months ago[3.13] GH-101100: Resolve reference warnings in whatsnew/3.4.rst (GH-138413) (#138444)
Miss Islington (bot) [Wed, 3 Sep 2025 15:47:22 +0000 (17:47 +0200)] 
[3.13] GH-101100: Resolve reference warnings in whatsnew/3.4.rst (GH-138413) (#138444)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 months ago[3.13] GH-101100: Resolve reference warnings in whatsnew/3.6.rst (GH-138411) (#138456)
Miss Islington (bot) [Wed, 3 Sep 2025 15:28:22 +0000 (17:28 +0200)] 
[3.13] GH-101100: Resolve reference warnings in whatsnew/3.6.rst (GH-138411) (#138456)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 months ago[3.13] gh-60462: Fix locale.strxfrm() on Solaris (GH-138242) (GH-138449)
Miss Islington (bot) [Wed, 3 Sep 2025 13:31:23 +0000 (15:31 +0200)] 
[3.13] gh-60462: Fix locale.strxfrm() on Solaris (GH-138242) (GH-138449)

It should interpret the result of wcsxfrm() as a sequence of abstract
integers, not a sequence of Unicode code points or using other encoding
scheme that does not preserve ordering.
(cherry picked from commit 482fd0c811a366f25bd076fc73bf37ffb6b3081e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 months ago[3.13] GH-101100: Resolve reference warnings in extending/extending.rst (GH-138417...
Miss Islington (bot) [Wed, 3 Sep 2025 13:15:33 +0000 (15:15 +0200)] 
[3.13] GH-101100: Resolve reference warnings in extending/extending.rst (GH-138417) (#138447)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 months ago[3.13] GH-101100: Resolve reference warnings in whatsnew/2.7.rst (GH-138415) (#138442)
Miss Islington (bot) [Wed, 3 Sep 2025 11:42:23 +0000 (13:42 +0200)] 
[3.13] GH-101100: Resolve reference warnings in whatsnew/2.7.rst (GH-138415) (#138442)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 months ago[3.13] GH-101100: Resolve reference warnings in whatsnew/3.8.rst (GH-138409) (#138438)
Miss Islington (bot) [Wed, 3 Sep 2025 11:32:17 +0000 (13:32 +0200)] 
[3.13] GH-101100: Resolve reference warnings in whatsnew/3.8.rst (GH-138409) (#138438)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 months ago[3.13] GH-101100: Resolve reference warnings in whatsnew/3.3.rst (GH-138414) (#138436)
Miss Islington (bot) [Wed, 3 Sep 2025 11:28:33 +0000 (13:28 +0200)] 
[3.13] GH-101100: Resolve reference warnings in whatsnew/3.3.rst (GH-138414) (#138436)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 months ago[3.13] gh-138204: Forbid expansion of a shared anonymous mmap on Linux (GH-138220...
Miss Islington (bot) [Wed, 3 Sep 2025 08:33:08 +0000 (10:33 +0200)] 
[3.13] gh-138204: Forbid expansion of a shared anonymous mmap on Linux (GH-138220) (GH-138387)

This is a Linux kernel bug which caused a bus error.
https://bugzilla.kernel.org/show_bug.cgi?id=8691
(cherry picked from commit 33fcb0c4a054f646d9d3686c145209a893b09bb0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 months ago[3.13] GH-101100: Resolve reference warnings in whatsnew/3.7.rst (GH-138410) (#138424)
Miss Islington (bot) [Wed, 3 Sep 2025 06:27:17 +0000 (08:27 +0200)] 
[3.13] GH-101100: Resolve reference warnings in whatsnew/3.7.rst (GH-138410) (#138424)

GH-101100: Resolve reference warnings in whatsnew/3.7.rst (GH-138410)

Resolve reference warnings in whatsnew/3.7.rst
(cherry picked from commit dd86fb4ba5a9db1c1e7293917af68d0cf0ddeaaf)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 months ago[3.13] gh-101100: Resolve reference warnings in library/xml.sax.handler.rst (GH-13661...
Miss Islington (bot) [Wed, 3 Sep 2025 00:43:18 +0000 (02:43 +0200)] 
[3.13] gh-101100: Resolve reference warnings in library/xml.sax.handler.rst (GH-136612) (#138422)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
2 months ago[3.13] Doc: Track file downloads via plausible (GH-138393) (#138397)
Miss Islington (bot) [Tue, 2 Sep 2025 20:00:17 +0000 (22:00 +0200)] 
[3.13] Doc: Track file downloads via plausible (GH-138393) (#138397)

Co-authored-by: Jacob Coffee <jacob@z7x.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 months ago[3.13] gh-136599: Add tests for long_hash (GH-138335) (#138391)
Miss Islington (bot) [Tue, 2 Sep 2025 17:04:13 +0000 (19:04 +0200)] 
[3.13] gh-136599: Add tests for long_hash (GH-138335) (#138391)

gh-136599: Add tests for long_hash (GH-138335)
(cherry picked from commit 2d3711dc06657e072a83b580636cbb0009658636)

Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2 months ago[3.13] gh-138297 Point link in docs for `finally` to try/else, instead of if/else...
Miss Islington (bot) [Tue, 2 Sep 2025 15:10:30 +0000 (17:10 +0200)] 
[3.13] gh-138297 Point link in docs for `finally` to try/else, instead of if/else (GH-138298) (#138382)

Co-authored-by: James Parrott <80779630+JamesParrott@users.noreply.github.com>
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2 months ago[3.13] gh-89905: Correct `-R` option doc (GH-137608) (#138354)
Miss Islington (bot) [Mon, 1 Sep 2025 18:05:26 +0000 (20:05 +0200)] 
[3.13] gh-89905: Correct `-R` option doc (GH-137608) (#138354)

gh-89905: Correct `-R` option doc (GH-137608)
(cherry picked from commit b3ff3165d2c935fdda7c5bb1e69314372e1cf84c)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 months ago[3.13] gh-54874: Expand unicodedata module documentation (GH-138301) (#138345)
Miss Islington (bot) [Mon, 1 Sep 2025 16:18:57 +0000 (18:18 +0200)] 
[3.13] gh-54874: Expand unicodedata module documentation (GH-138301) (#138345)

* gh-54874: Expand unicodedata module documentation (GH-138301)

Closes GH-54874
(cherry picked from commit 0d383f86eec97b343457ee1ce1d274f6b3d9ce6c)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Alexander Belopolsky <abalkin@users.noreply.github.com>
* Changes links to UCD 15.0.0

---------

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Alexander Belopolsky <abalkin@users.noreply.github.com>
2 months ago[3.13] gh-116946: Revert GC protocol for immutable empty heap types (GH-138322, GH...
Bénédikt Tran [Mon, 1 Sep 2025 15:44:47 +0000 (17:44 +0200)] 
[3.13] gh-116946: Revert GC protocol for immutable empty heap types (GH-138322, GH-138323, GH-138326) (#138337)

* Revert "[3.13] gh-116946: fully implement GC protocol for `bz2` objects (GH-138266) (#138322)"

This reverts commit 90036f51fe4bb2eed0e5161f26712cf08e1563d2.

* Revert "[3.13] gh-116946: fully implement GC protocol for `lzma` objects (GH-138288) (#138323)"

This reverts commit 828682df868217788cda695a21bb63635f6fadc7.

* Revert "[3.13] gh-116946: fully implement GC protocol for `_hashlib` objects (GH-138289) (#138326)"

This reverts commit 21b593219ad5cf444553afaebe12ff9137d4d55e.

2 months ago[3.13] gh-116946: fully implement GC protocol for `zlib` objects (GH-138290) (#138328)
Bénédikt Tran [Mon, 1 Sep 2025 10:25:11 +0000 (12:25 +0200)] 
[3.13] gh-116946: fully implement GC protocol for `zlib` objects (GH-138290) (#138328)

(cherry picked from commit 2a54acf3c3d9f388c3d878a17ea804a801affca9)

2 months ago[3.13] gh-116946: fully implement GC protocol for `_hashlib` objects (GH-138289)...
Bénédikt Tran [Mon, 1 Sep 2025 10:23:28 +0000 (12:23 +0200)] 
[3.13] gh-116946: fully implement GC protocol for `_hashlib` objects (GH-138289) (#138326)

(cherry picked from commit 6f1dd9551a69c8c76d066a04e94db6dbc6c7597c)

2 months ago[3.13] gh-116946: fully implement GC protocol for `lzma` objects (GH-138288) (#138323)
Bénédikt Tran [Mon, 1 Sep 2025 10:22:06 +0000 (12:22 +0200)] 
[3.13] gh-116946: fully implement GC protocol for `lzma` objects (GH-138288) (#138323)

(cherry picked from commit 3ea16f990f81e1e3b2892f1dfd213937b1df2a68)

2 months ago[3.13] gh-116946: fully implement GC protocol for `bz2` objects (GH-138266) (#138322)
Bénédikt Tran [Mon, 1 Sep 2025 10:21:40 +0000 (12:21 +0200)] 
[3.13] gh-116946: fully implement GC protocol for `bz2` objects (GH-138266) (#138322)

(cherry picked from commit 9be91f6a20ed2fd9b491c3e779dc45c7392f60ca)

2 months ago[3.13] gh-138295: Fix a grammar issue in the descriptor HOWTO (GH-138296) (GH-138300)
Miss Islington (bot) [Sun, 31 Aug 2025 15:59:22 +0000 (17:59 +0200)] 
[3.13] gh-138295: Fix a grammar issue in the descriptor HOWTO (GH-138296) (GH-138300)

gh-138295: Fix a grammar issue in the descriptor HOWTO (GH-138296)

"an str" -> "a str"
(cherry picked from commit 552cf86b83e8aafebcfe9abbc77101bdbfda14c8)

Co-authored-by: Fangyi Zhou <me@fangyi.io>
2 months ago[3.13] gh-133829: Remove some specifics from the ``zipimport`` example (GH-133835...
Miss Islington (bot) [Sun, 31 Aug 2025 00:59:47 +0000 (02:59 +0200)] 
[3.13] gh-133829: Remove some specifics from the ``zipimport`` example (GH-133835) (#138273)

Co-authored-by: R Chintan Meher <meherrihaan@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 months ago[3.13] gh-138158: Use the `"data"` tarfile extraction filter in `Tools/ssl/multisslte...
Miss Islington (bot) [Sat, 30 Aug 2025 10:49:45 +0000 (12:49 +0200)] 
[3.13] gh-138158: Use the `"data"` tarfile extraction filter in `Tools/ssl/multissltests.py` (GH-138147) (#138263)

gh-138158: Use the `"data"` tarfile extraction filter in `Tools/ssl/multissltests.py` (GH-138147)

The `Tools/ssl/multissltests.py` script may extract a possibly untrusted tarball.
Since the script does not necessarily use Python 3.14 or later (where the `"data"`
filter became the default `tarfile` extraction filter), the user may theoretically
suffer from a path traversal attack.

Although the script should not be used in production and usually relies on downloading
trusted sources, the `"data"` extraction filter is now explicitly used wherever relevant.
(cherry picked from commit 31d3836f26096f9503ca68f4e89d927bc1e060cd)

Co-authored-by: Tommaso Bona <piergeolo@gmail.com>
2 months ago[3.13] gh-138257: Fix internal `RuleCollectorVisitor` attribute name (GH-138208)...
Miss Islington (bot) [Sat, 30 Aug 2025 09:51:25 +0000 (11:51 +0200)] 
[3.13] gh-138257: Fix internal `RuleCollectorVisitor` attribute name (GH-138208) (#138260)

gh-138257: Fix internal `RuleCollectorVisitor` attribute name (GH-138208)

The internal `RuleCollectorVisitor` class had an attribute named "rulses"
instead of "rules" that other `GrammarVisitor` subclasses define.
(cherry picked from commit 11217a883da324b85a290f5d78f090d8f4880f16)

Co-authored-by: chemelnucfin <3982092+chemelnucfin@users.noreply.github.com>
2 months ago[3.13] gh-123858: Improve Doc: SyntaxWarning is emitted during bytecode generation...
Miss Islington (bot) [Fri, 29 Aug 2025 14:35:17 +0000 (16:35 +0200)] 
[3.13] gh-123858: Improve Doc: SyntaxWarning is emitted during bytecode generation (gh-138243)

---------
(cherry picked from commit 5f7906715adea645d8141d5337851872cfca4381)

Co-authored-by: Hang <bebound@gmail.com>
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
2 months ago[3.13] gh-137317: Fix inspect.signature() for class with wrapped __init__ or __new__...
Miss Islington (bot) [Thu, 28 Aug 2025 16:10:06 +0000 (18:10 +0200)] 
[3.13] gh-137317: Fix inspect.signature() for class with wrapped __init__ or __new__ (GH-137862) (GH-138225)

Fixed several cases where __init__, __new__ or metaclass` __call__ is a descriptor
that returns a wrapped function.
(cherry picked from commit 025a2135eff848abf24f9dc52c81386eea9da397)

Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2 months ago[3.13] bpo-41839: Fix error checking in sched_get_priority_ functions (GH-22374)...
Miss Islington (bot) [Wed, 27 Aug 2025 18:05:36 +0000 (20:05 +0200)] 
[3.13] bpo-41839: Fix error checking in sched_get_priority_ functions (GH-22374) (GH-138202)

(cherry picked from commit bbcb75c986c47887e6c0757e63d59cd7af544f39)

Co-authored-by: Jakub Kulík <Kulikjak@gmail.com>
2 months ago[3.13] Docs: Fix typo in `shutil.make_archive` example (GH-138188) (GH-138196)
Miss Islington (bot) [Wed, 27 Aug 2025 16:03:28 +0000 (18:03 +0200)] 
[3.13] Docs: Fix typo in `shutil.make_archive` example (GH-138188) (GH-138196)

Docs: Fix typo in `shutil.make_archive` example (GH-138188)
(cherry picked from commit f733e428f8d19cb211f24ca7fb8abf65e1f2efed)

Co-authored-by: Andreas Pelme <andreas@pelme.se>
2 months ago[3.13] gh-71679: Improve tests for repr() of bytes and bytearray (GH-138180) (GH...
Miss Islington (bot) [Wed, 27 Aug 2025 10:46:33 +0000 (12:46 +0200)] 
[3.13] gh-71679: Improve tests for repr() of bytes and bytearray (GH-138180) (GH-138183)

* Merge existing tests test_repr_str and test_to_str.
* Add more tests for non-printable and non-ASCII bytes.
* Add tests for special escape sequences ('\t\n\r').
* Add tests for slashes.
* Add more tests for quotes.
* Add tests for subclasses.
* Add test for non-ASCII class name.
* Only apply @check_bytes_warnings for str() tests.
(cherry picked from commit 0dbbf61cc2550428ff99daee367364c688031e1a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 months ago[3.13] gh-106318: Add example for `str.find()` (GH-134529) (#138175)
Miss Islington (bot) [Wed, 27 Aug 2025 06:49:19 +0000 (08:49 +0200)] 
[3.13] gh-106318: Add example for `str.find()` (GH-134529) (#138175)

Co-authored-by: Blaise Pabon <blaise@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 months ago[3.13] gh-137740: Clarify `__del__` invocation mechanism in reference counting (GH...
Miss Islington (bot) [Tue, 26 Aug 2025 18:13:42 +0000 (20:13 +0200)] 
[3.13] gh-137740: Clarify `__del__` invocation mechanism in reference counting (GH-137741) (#138112)

gh-137740: Clarify `__del__` invocation mechanism in reference counting (GH-137741)
(cherry picked from commit 90b932e65080008dfd974b2e03c3068dbb72b95d)

Co-authored-by: Robin Narsingh Ranabhat <robinnarsingha123@gmail.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2 months ago[3.13] enhance docs for critical sections (GH-137334) (#138168)
Miss Islington (bot) [Tue, 26 Aug 2025 17:26:09 +0000 (19:26 +0200)] 
[3.13] enhance docs for critical sections (GH-137334) (#138168)

enhance docs for critical sections (GH-137334)
(cherry picked from commit 5ae8b97f6bdcadd0cc15e0046b0db09e4c6e0d6b)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2 months ago[3.13] gh-138148: Fix grammatical error in the `asynchronous generator iterator`...
Miss Islington (bot) [Tue, 26 Aug 2025 11:20:32 +0000 (13:20 +0200)] 
[3.13] gh-138148: Fix grammatical error in the `asynchronous generator iterator` term (GH-138155) (GH-138160)

gh-138148: Fix grammatical error in the `asynchronous generator iterator` term (GH-138155)
(cherry picked from commit 43b113d23dfc5ab28d97fbb7ac94a36b361928d4)

Co-authored-by: Krishna Chaitanya <141550576+XChaitanyaX@users.noreply.github.com>
2 months ago[3.13] gh-137609: Update signatures of builtins in the documentation (GH-137610)...
Serhiy Storchaka [Mon, 25 Aug 2025 12:40:09 +0000 (15:40 +0300)] 
[3.13] gh-137609: Update signatures of builtins in the documentation (GH-137610) (GH-138138)

Show signatures that match the actual signatures or future multisignatures
for all functions, classes and methods in the "builtins" module.
(cherry picked from commit 65fb4d11a0f3f3e4aea373bd84918e4445cbfe67)

2 months ago[3.13] Lint: Create a project-wide ``.ruff.toml`` settings file (GH-133124) (#137670)
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) [Mon, 25 Aug 2025 11:38:16 +0000 (13:38 +0200)] 
[3.13] Lint: Create a project-wide ``.ruff.toml`` settings file (GH-133124) (#137670)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 months ago[3.13] gh-138081: Fix/remove incorrect links in `idlelib/HISTORY.txt` (GH-138091...
Miss Islington (bot) [Mon, 25 Aug 2025 02:10:51 +0000 (04:10 +0200)] 
[3.13] gh-138081: Fix/remove incorrect links in `idlelib/HISTORY.txt` (GH-138091) (#138125)

gh-138081: Fix/remove incorrect links in `idlelib/HISTORY.txt` (GH-138091)
(cherry picked from commit be24ff0b5738365bdc5921689feee9c2c68eebc3)

Co-authored-by: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com>
2 months ago[3.13] gh-135261: bring back CI job for testing OpenSSL 1.1.1w (GH-135262) (#138110)
Bénédikt Tran [Sun, 24 Aug 2025 09:47:09 +0000 (11:47 +0200)] 
[3.13] gh-135261: bring back CI job for testing OpenSSL 1.1.1w (GH-135262) (#138110)

This partially reverts commit ad944b5e1f304be1a8c2cc03e9f15005bcb97108
by bringing back the CI job for testing OpenSSL 1.1.1w. Despite this
version being upstream EOL, the rationale for keeping it as follows:

- It most resembles other 1.1.1-work-a-like ssl APIs supported by important vendors.
- Python officially requires OpenSSL 1.1.1 or later, although OpenSSL 3.0 or later
  is recommended for cryptographic modules. Since changing the build requirements
  requires a transition period, we need to keep testing the allowed versions.
- The code base still contains calls to OpenSSL functions that are deprecated since
  OpenSSL 3.0 as well as `ifdef` blocks constrained to OpenSSL 1.1.1.

(cherry picked from commit 96b7a2eba423b42320f15fd4974740e3e930bb8b)

2 months ago[3.13] gh-137986: Fix and improve the csv functions docstrings (GH-137987) (GH-138108)
Serhiy Storchaka [Sun, 24 Aug 2025 08:37:41 +0000 (11:37 +0300)] 
[3.13] gh-137986: Fix and improve the csv functions docstrings (GH-137987) (GH-138108)

The csv.register_dialect() docstring no longer imply that it returns a
dialect.
All functions have now signatures.
(cherry picked from commit aa1dbd4dde32951de2e7438b56d6761001604ee2)

Co-authored-by: maurycy <5383+maurycy@users.noreply.github.com>
2 months ago[3.13] gh-136134: smtplib: fix CRAM-MD5 on FIPS-only environments (GH-136623) (#138087)
Bénédikt Tran [Sat, 23 Aug 2025 12:27:47 +0000 (14:27 +0200)] 
[3.13] gh-136134: smtplib: fix CRAM-MD5 on FIPS-only environments (GH-136623) (#138087)

(cherry picked from commit 766614f88af0433c2c14f5c4ed11c92d0fb04e61)
(cherry picked from commit ab1bef8ad27ad531a1109cfc016ea627d94f9cc1)

2 months ago[3.13] gh-136134: imaplib: fix CRAM-MD5 on FIPS-only environments (GH-136615) (#138055)
Bénédikt Tran [Sat, 23 Aug 2025 11:01:36 +0000 (13:01 +0200)] 
[3.13] gh-136134: imaplib: fix CRAM-MD5 on FIPS-only environments (GH-136615) (#138055)

(cherry picked from commit 4519b8acb5a65df2af69e60b0d8c0a5df5bfb087)

2 months ago[3.13] gh-137754: Fix import of zoneinfo if _datetime is not available (GH-137845...
Miss Islington (bot) [Sat, 23 Aug 2025 09:33:58 +0000 (11:33 +0200)] 
[3.13] gh-137754: Fix import of zoneinfo if _datetime is not available (GH-137845) (GH-138085)

Both modules should use the Python implementation in that case.
(cherry picked from commit 6620ef0ff62dea2632bedf9afa88aa4780a2c9d9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 months ago[3.13] gh-133125: Clarify ZipInfo.date_time attribute documentation (GH-136082) ...
Miss Islington (bot) [Sat, 23 Aug 2025 00:01:37 +0000 (02:01 +0200)] 
[3.13] gh-133125: Clarify ZipInfo.date_time attribute documentation (GH-136082) (#138076)

gh-133125: Clarify ZipInfo.date_time attribute documentation (GH-136082)

Specifically, clarify that ZipInfo.date_time pulls the datetime information from the central directory, and that times are interpreted as local time.
(cherry picked from commit 282e88506b1d3c2ea2a0fd2fbce6c4e27ddc1c92)

Co-authored-by: Kentaro Jay Takahashi <64148935+KentaroJay@users.noreply.github.com>
Co-authored-by: Emma Smith <emma@emmatyping.dev>
2 months ago[3.13] gh-91116: Add hyperlink from `sys.settrace` to frame objects (GH-138062) ...
Miss Islington (bot) [Fri, 22 Aug 2025 18:25:55 +0000 (20:25 +0200)] 
[3.13] gh-91116: Add hyperlink from `sys.settrace` to frame objects (GH-138062) (GH-138069)

gh-91116: Add hyperlink from `sys.settrace` to frame objects (GH-138062)
(cherry picked from commit f278afcabf1a1c4162a0bfd4912662517d5d04a2)

Co-authored-by: Krishna Chaitanya <141550576+XChaitanyaX@users.noreply.github.com>
2 months ago[3.13] gh-135386: Skip readonly tests for the root user (GH-138058) (GH-138064)
Miss Islington (bot) [Fri, 22 Aug 2025 13:44:19 +0000 (15:44 +0200)] 
[3.13] gh-135386: Skip readonly tests for the root user (GH-138058) (GH-138064)

(cherry picked from commit 5b0f00e616738ededcf4b178dee8c30f5005e7ae)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 months ago[3.13] gh-132744: Check recursion limit in _PY_FRAME_GENERAL (GH-132746) (GH-138032)
Kliment Lamonov [Fri, 22 Aug 2025 12:25:24 +0000 (15:25 +0300)] 
[3.13] gh-132744: Check recursion limit in _PY_FRAME_GENERAL (GH-132746) (GH-138032)

2 months ago[3.13] gh-135386: Fix "unable to open database file" errors on readonly DB (GH-135566...
Miss Islington (bot) [Fri, 22 Aug 2025 11:35:21 +0000 (13:35 +0200)] 
[3.13] gh-135386: Fix "unable to open database file" errors on readonly DB (GH-135566) (GH-138057)

Add immutable=1 flag for read-only SQLite access to avoid WAL/SHM errors on readonly DB.
(cherry picked from commit c0ae92b7c07d8146bbcc6ed5197f97a7a16efded)

Co-authored-by: General_K1ng <generak1ng0@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 months ago[3.13] gh-137973: Add a non-parallel test plan to the iOS testbed project (GH-138018...
Miss Islington (bot) [Fri, 22 Aug 2025 06:30:58 +0000 (08:30 +0200)] 
[3.13] gh-137973: Add a non-parallel test plan to the iOS testbed project (GH-138018) (#138039)

Modifies the iOS testbed project to add a test plan. This simplifies the iOS
test runner, as we can now use the built-in log streaming to see test results.
It also allows for some other affordances, like providing a default LLDB config,
and using a standardized mechanism for specifying test arguments.
(cherry picked from commit 2ba2287b85eea3cc3a71d77c6bcf9eb5670ca05d)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2 months ago[3.13] gh-135734: correctly handle `--enable-optimizations --disable-test-modules...
Bénédikt Tran [Thu, 21 Aug 2025 18:28:03 +0000 (20:28 +0200)] 
[3.13] gh-135734: correctly handle `--enable-optimizations --disable-test-modules` combination (#137998)

2 months ago[3.13] gh-138011: Clarify tutorial method object example code (GH-138014) (#138026)
Miss Islington (bot) [Thu, 21 Aug 2025 16:40:15 +0000 (18:40 +0200)] 
[3.13] gh-138011: Clarify tutorial method object example code (GH-138014) (#138026)

x must be a MyClass instance for examples to work.

---------

(cherry picked from commit 339f5da6395868073e22157424405b89cafb5c6d)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2 months ago[3.13] gh-137477: Fix inspect.getblock() for generator expressions (GH-137488) (GH...
Serhiy Storchaka [Wed, 20 Aug 2025 13:43:28 +0000 (16:43 +0300)] 
[3.13] gh-137477: Fix inspect.getblock() for generator expressions (GH-137488) (GH-137995)

This fixes also inspect.getsourcelines() and inspect.getsource().
(cherry picked from commit eae9d7de1c45a64076a926d53672823e6ae1777d)

2 months ago[3.13] gh-137900: Improve dataclasses frozen parameter documentation (GH-137937)...
Miss Islington (bot) [Wed, 20 Aug 2025 13:15:39 +0000 (15:15 +0200)] 
[3.13] gh-137900: Improve dataclasses frozen parameter documentation (GH-137937) (#137991)

gh-137900: Improve dataclasses frozen parameter documentation (GH-137937)
(cherry picked from commit 7685b8ada84822a7ee9ce51e8ee0e2e35fd60b4e)

Co-authored-by: Tangyuan <47830915@qq.com>
2 months ago[3.13] Fix typo in `logging` docs (GH-137981) (GH-137984)
Miss Islington (bot) [Wed, 20 Aug 2025 11:13:53 +0000 (13:13 +0200)] 
[3.13] Fix typo in `logging` docs (GH-137981) (GH-137984)

Fix typo in `logging` docs (GH-137981)
(cherry picked from commit 9b5235b62ed85e4757f1530cd73ef8d318be6215)

Co-authored-by: Maximilian Linhoff <maximilian.linhoff@cta-observatory.org>
2 months ago[3.13] Update the dbm documentation (GH-137919) (GH-137963)
Serhiy Storchaka [Tue, 19 Aug 2025 17:39:08 +0000 (20:39 +0300)] 
[3.13] Update the dbm documentation (GH-137919) (GH-137963)

Unify documentation for all backends, enumerate all not implemented mapping
methods, document particularities of implemented mapping methods.
(cherry picked from commit 8700404f8688d6a56279dce47a5a5802ec53ed06)

2 months ago[3.13] [docs] fix grammar in ssl.SSLContect.sslsocket_class docs (GH-137935) (#137951)
Miss Islington (bot) [Tue, 19 Aug 2025 12:22:42 +0000 (14:22 +0200)] 
[3.13] [docs] fix grammar in ssl.SSLContect.sslsocket_class docs (GH-137935) (#137951)

[docs] fix grammar in ssl.SSLContect.sslsocket_class docs (GH-137935)

---------
(cherry picked from commit 379161dd51c2cf67568e007fbb5fa225e73c9e10)

Co-authored-by: PrinceNaroliya <naroliyaprince@gmail.com>
Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>