]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
8 months ago[3.13] gh-129873: IDLE: Improve help.py's method of parsing HTML (GH-129859) (#129884)
Miss Islington (bot) [Sun, 9 Feb 2025 09:19:36 +0000 (10:19 +0100)] 
[3.13] gh-129873: IDLE: Improve help.py's method of parsing HTML (GH-129859) (#129884)

gh-129873: IDLE: Improve help.py's method of parsing HTML (GH-129859)

In `help.copy_strip`, only copy the text `<section>`.  In `help.HelpParser.handle_starttag` and elsewhere, remove code to skip the no longer present html.  Add a reminder at the top of idle.rst to run copy_strip after changes.
---------

(cherry picked from commit 6fbf15f98e04f582aeccf5334a94840149ff7cd5)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
8 months ago[3.13] gh-129876: Initial 3.14 News3.txt entries (GH-129881) (#129882)
Terry Jan Reedy [Sun, 9 Feb 2025 07:36:37 +0000 (02:36 -0500)] 
[3.13] gh-129876: Initial 3.14 News3.txt entries (GH-129881) (#129882)

8 months ago[3.13] gh-112953: Update news to finish 3.13 as main (GH-129877) (#129878)
Miss Islington (bot) [Sun, 9 Feb 2025 06:37:29 +0000 (07:37 +0100)] 
[3.13] gh-112953: Update news to finish 3.13 as main (GH-129877) (#129878)

Entry for patch to 3.13.rc3
(cherry picked from commit f72977b2f4a29063ae3019e50360f4af869f4149)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
8 months ago[3.13] gh-129699: Add description to IDLE doc title (GH-129727) (#129864)
Miss Islington (bot) [Sat, 8 Feb 2025 20:14:47 +0000 (21:14 +0100)] 
[3.13] gh-129699: Add description to IDLE doc title (GH-129727) (#129864)

gh-129699: Add description to IDLE doc title (GH-129727)

Also extend the 'idlelib' section header. These additions affect both the displayed idle.html file and the contents.html file displayed by clicking the Complete table of contents link on the main docs.python.org page. (The module index entries are generated from the module name and synopsis within module files.)
---------

(cherry picked from commit 33a7094aa680bca66582fec4dcda7d150eb90cd8)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
8 months ago[3.13] gh-64414: mention AF_INET6 and IPv6 in socketserver docs. (GH-129866) (#129868)
Miss Islington (bot) [Sat, 8 Feb 2025 20:12:22 +0000 (21:12 +0100)] 
[3.13] gh-64414: mention AF_INET6 and IPv6 in socketserver docs. (GH-129866) (#129868)

gh-64414: mention AF_INET6 and IPv6 in socketserver docs. (GH-129866)

mention AF_INET6 and IPv6 in socketserver docs.
(cherry picked from commit 5ce70ad129d2e34a09f8ae6ee0542f4f996fb8ec)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
8 months ago[3.13] gh-128657: fix _hashopenssl ref/data race (GH-128886) (GH-129853)
Tomasz Pytel [Sat, 8 Feb 2025 15:59:30 +0000 (10:59 -0500)] 
[3.13] gh-128657: fix _hashopenssl ref/data race (GH-128886) (GH-129853)

(cherry picked from commit 6c67904e793828d84716a8c83436c9495235f3a1)

9 months ago[3.13] gh-117657: Fix data race in `dict_dict_merge` (gh-129755) (gh-129808)
Miss Islington (bot) [Fri, 7 Feb 2025 15:18:57 +0000 (16:18 +0100)] 
[3.13] gh-117657: Fix data race in `dict_dict_merge` (gh-129755) (gh-129808)

Found while running `test_load_attr_module` from `test_opcache` under TSan.
(cherry picked from commit 34379d0a593e5a76e2f754cdd7fccb79f25a4613)

Co-authored-by: Sam Gross <colesbury@gmail.com>
9 months ago[3.13] Add multinomial to the itertools recipes docs (gh-129760) (gh-129762)
Miss Islington (bot) [Fri, 7 Feb 2025 00:45:15 +0000 (01:45 +0100)] 
[3.13] Add multinomial to the itertools recipes docs (gh-129760) (gh-129762)

9 months ago [3.13] gh-129533: Update PyGC_Enable/Disable/IsEnabled to use atomic operat… (gh...
Donghee Na [Thu, 6 Feb 2025 23:11:17 +0000 (08:11 +0900)] 
 [3.13] gh-129533: Update PyGC_Enable/Disable/IsEnabled to use atomic operat… (gh-129756)

gh-129533: Update PyGC_Enable/Disable/IsEnabled to use atomic operation  (gh-129563)

(cherry picked from commit b184abf074c0e1f379a238f07da5616460f36b93)

9 months ago[3.13] gh-129732: Fix race on `shared->array` in qsbr code under free-threading ...
Sam Gross [Thu, 6 Feb 2025 19:30:16 +0000 (14:30 -0500)] 
[3.13] gh-129732: Fix race on `shared->array` in qsbr code under free-threading (gh-129738) (gh-129747)

The read of `shared->array` should happen under the lock to avoid a race.
(cherry picked from commit b4ff8b22b3066b814c3758f87eaddfa923e657ed)

Co-authored-by: Peter Hawkins <phawkins@google.com>
9 months ago[3.13] gh-129668: Fix thread-safety of MemoryError freelist in free threaded build...
Sam Gross [Thu, 6 Feb 2025 18:27:30 +0000 (13:27 -0500)] 
[3.13] gh-129668: Fix thread-safety of MemoryError freelist in free threaded build (gh-129704) (gh-129742)

The MemoryError freelist was not thread-safe in the free threaded build.
Use a mutex to protect accesses to the freelist. Unlike other freelists,
the MemoryError freelist is not performance sensitive.

(cherry picked from commit 51b4edb1a4092f60d84f7d14eb41c12085e39c31)

9 months ago[3.13] gh-112020: Rework socketserver examples to be correct (GH-129741) (#129743)
Miss Islington (bot) [Thu, 6 Feb 2025 17:49:19 +0000 (18:49 +0100)] 
[3.13] gh-112020: Rework socketserver examples to be correct (GH-129741) (#129743)

gh-112020: Rework socketserver examples to be correct.

Outdated code updated, the BaseRequestHandler example is now much more
illustrative instead of the bad idea of a single recv() call for TCP.

tested, they now work.
(cherry picked from commit 78377c788e02e91bf43d290d69317198a2e563fd)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
9 months ago[3.13] Remove an inaccurate note from `socket.recv` (GH-129733) (#129734)
Miss Islington (bot) [Thu, 6 Feb 2025 17:45:28 +0000 (18:45 +0100)] 
[3.13] Remove an inaccurate note from `socket.recv` (GH-129733) (#129734)

Remove an inaccurate note from `socket.recv` (GH-129733)

Remove an inaccurate note from socket.recv.
(cherry picked from commit ded54c3baa57f6727be809f13633b393241c164a)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
9 months ago[3.13] GH-121970: Extract ``implementation_detail`` into a new extension (GH-129663...
Adam Turner [Thu, 6 Feb 2025 17:30:03 +0000 (17:30 +0000)] 
[3.13] GH-121970: Extract ``implementation_detail`` into a new extension (GH-129663) (#129739)

(cherry picked from commit 4d56c40440c9fd4499d61d24977336d8cd8d8d83)

9 months ago[3.13] Merge TSAN test matrices in CI (#123278) (#129673)
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) [Thu, 6 Feb 2025 13:37:22 +0000 (14:37 +0100)] 
[3.13] Merge TSAN test matrices in CI (#123278) (#129673)

9 months ago[3.13] gh-129643: Fix `PyList_Insert` in free-threading builds (GH-129680) (#129725)
sobolevn [Thu, 6 Feb 2025 13:22:41 +0000 (16:22 +0300)] 
[3.13] gh-129643: Fix `PyList_Insert` in free-threading builds (GH-129680) (#129725)

(cherry picked from commit 63f0406d5ad25a55e49c3903b29407c50a17cfd5)

9 months ago[3.13] gh-118915: Fix bad link in documentation (GH-129691) (GH-129723)
Miss Islington (bot) [Thu, 6 Feb 2025 12:47:07 +0000 (13:47 +0100)] 
[3.13] gh-118915: Fix bad link in documentation (GH-129691) (GH-129723)

gh-118915: Fix bad link in documentation (GH-129691)
(cherry picked from commit 779d06945cbb59ec187a8c39300fb0ab6f9c0c1d)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
9 months ago[3.13] gh-86206: Change IDLE splash line (GH-129698) (#129717)
Miss Islington (bot) [Thu, 6 Feb 2025 08:20:05 +0000 (09:20 +0100)] 
[3.13] gh-86206: Change IDLE splash line (GH-129698) (#129717)

Replace references to boilerplate files available in About IDLE and instead suggest clicking Help menu.

(cherry picked from commit d83a8a26f5e321b26bec59f5fd47c9c46c16ab12)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
9 months ago[3.13] gh-69001: Replace maintainer email in IDLE credits (GH-129588) (#129713)
Miss Islington (bot) [Thu, 6 Feb 2025 07:37:50 +0000 (08:37 +0100)] 
[3.13] gh-69001: Replace maintainer email in IDLE credits (GH-129588) (#129713)

Instead, anyone requesting credit should submit a PR with contribution summary.
(Also fix typo in existing name.)
(cherry picked from commit 76e018294801ab95f30756c702b63bf6b4c23310)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
9 months ago[3.13] gh-128772: Fix pydoc for methods with __module__ is None (GH-129177) (GH-129653)
Miss Islington (bot) [Wed, 5 Feb 2025 14:42:51 +0000 (15:42 +0100)] 
[3.13] gh-128772: Fix pydoc for methods with __module__ is None (GH-129177) (GH-129653)

(cherry picked from commit 979d76620990e6f8d68fa63e0ae0db1ec5b4d14c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
9 months ago[3.13] gh-129660: Do not use test_embed in PGO profile builds (#129662)
neonene [Wed, 5 Feb 2025 11:22:30 +0000 (20:22 +0900)] 
[3.13] gh-129660: Do not use test_embed in PGO profile builds (#129662)

9 months ago[3.13] gh-129643: fix thread safety of `PyList_SetItem` (#129644) (#129677)
Kumar Aditya [Wed, 5 Feb 2025 08:09:37 +0000 (13:39 +0530)] 
[3.13] gh-129643: fix thread safety of `PyList_SetItem` (#129644) (#129677)

gh-129643: fix thread safety of `PyList_SetItem` (#129644)

9 months agoMerge branch '3.13' of https://github.com/python/cpython into 3.13
Thomas Wouters [Tue, 4 Feb 2025 19:40:10 +0000 (20:40 +0100)] 
Merge branch '3.13' of https://github.com/python/cpython into 3.13

9 months agoPost 3.13.2
Thomas Wouters [Tue, 4 Feb 2025 19:37:26 +0000 (20:37 +0100)] 
Post 3.13.2

9 months ago[3.13] gh-129646: Update the locale alias mapping (GH-129647) (GH-129658)
Miss Islington (bot) [Tue, 4 Feb 2025 16:31:20 +0000 (17:31 +0100)] 
[3.13] gh-129646: Update the locale alias mapping (GH-129647) (GH-129658)

(cherry picked from commit f61afca262d3a0aa6a8a501db0b1936c60858e35)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
9 months agoPython 3.13.2 v3.13.2
Thomas Wouters [Tue, 4 Feb 2025 14:49:28 +0000 (15:49 +0100)] 
Python 3.13.2

9 months ago[3.13] gh-129350: Make tests for glob with trailing slash more strict (GH-129376...
Miss Islington (bot) [Tue, 4 Feb 2025 14:49:14 +0000 (15:49 +0100)] 
[3.13] gh-129350: Make tests for glob with trailing slash more strict (GH-129376) (GH-129651)

Test that the trailing pathname separator is preserved.

Multiple trailing pathname separators are only preserved if the pattern
does not contain metacharacters, otherwise only one trailing pathname
separator is preserved. This is rather an implementation detail.
(cherry picked from commit 8b5c8508c7f5d98b09792e159ef2396c73da68cd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
9 months ago[3.13] Use roles :data: and :const: for referencing module variables (GH-129507)...
Serhiy Storchaka [Tue, 4 Feb 2025 14:25:18 +0000 (16:25 +0200)] 
[3.13] Use roles :data: and :const: for referencing module variables (GH-129507) (GH-129649)

(cherry picked from commit 078ab828b9a21ed0e683941bd141d5017b5f62d9)

9 months ago[3.13] gh-127349: Add check for correct resizing in REPL (GH-127387) (#129485)
donBarbos [Tue, 4 Feb 2025 14:18:22 +0000 (18:18 +0400)] 
[3.13] gh-127349: Add check for correct resizing in REPL (GH-127387) (#129485)

(cherry picked from commit 510fefdc625dd2ed2b6b3975314a59e291b94ae8)

9 months ago[3.13] gh-129502: Fix handling errors in ctypes callbacks (GH-129504) (#129517)
Miss Islington (bot) [Tue, 4 Feb 2025 00:05:51 +0000 (01:05 +0100)] 
[3.13] gh-129502: Fix handling errors in ctypes callbacks (GH-129504) (#129517)

gh-129502: Fix handling errors in ctypes callbacks (GH-129504)

Unlikely errors in preparing arguments for ctypes callback are now
handled in the same way as errors raised in the callback of in converting
the result of the callback -- using sys.unraisablehook() instead of
sys.excepthook() and not setting sys.last_exc and other variables.
(cherry picked from commit 9d63ae5fe52d95059ab1bcd4cbb1f9e17033c897)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
9 months ago[3.13] gh-128696: Add arm64 to the get_platform return val description (GH-128701...
Miss Islington (bot) [Mon, 3 Feb 2025 23:56:23 +0000 (00:56 +0100)] 
[3.13] gh-128696: Add arm64 to the get_platform return val description (GH-128701) (#128774)

gh-128696: Add arm64 to the get_platform return val description (GH-128701)
(cherry picked from commit 553cdc6d6856c1b4539a45eb90d0769f7c629355)

Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
9 months ago[3.13] gh-129345: null check for indent syslogmodule (GH-129348) (#129442)
Miss Islington (bot) [Mon, 3 Feb 2025 23:37:24 +0000 (00:37 +0100)] 
[3.13] gh-129345: null check for indent syslogmodule (GH-129348) (#129442)

gh-129345: null check for indent syslogmodule (GH-129348)
(cherry picked from commit 25cf79a0829422bd8479ca0c13c72b769422077b)

Co-authored-by: Burkov Egor <xwooffie@gmail.com>
9 months ago[3.13] gh-128078: Use `PyErr_SetRaisedException` in `_PyGen_SetStopIterationValue...
Miss Islington (bot) [Mon, 3 Feb 2025 23:34:02 +0000 (00:34 +0100)] 
[3.13] gh-128078: Use `PyErr_SetRaisedException` in `_PyGen_SetStopIterationValue` (GH-128287) (#128789)

gh-128078: Use `PyErr_SetRaisedException` in `_PyGen_SetStopIterationValue` (GH-128287)
(cherry picked from commit 402b91da87052878b4e7e8946ba91bdf4ee4bebe)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
9 months ago[3.13] gh-101944: Clarify PyModule_AddObjectRef() documentation (GH-129433) (#129612)
Miss Islington (bot) [Mon, 3 Feb 2025 12:02:00 +0000 (13:02 +0100)] 
[3.13] gh-101944: Clarify PyModule_AddObjectRef() documentation (GH-129433) (#129612)

gh-101944: Clarify PyModule_AddObjectRef() documentation (GH-129433)
(cherry picked from commit 04264a286e5ddfe8ac7423f7376ca34a2ca8b7ba)

Co-authored-by: Victor Stinner <vstinner@python.org>
9 months ago[3.13] gh-129407: Clarify that a `SystemError` isn't always CPython's fault (GH-12941...
Miss Islington (bot) [Mon, 3 Feb 2025 11:52:29 +0000 (12:52 +0100)] 
[3.13] gh-129407: Clarify that a `SystemError` isn't always CPython's fault (GH-129410) (#129610)

gh-129407: Clarify that a `SystemError` isn't always CPython's fault (GH-129410)
(cherry picked from commit 39b754a35976924f6df46cd475e889bcf8598ca1)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
9 months ago[3.13] gh-126609: Allow translating the ``availability`` directive (GH-129549) (...
Miss Islington (bot) [Mon, 3 Feb 2025 08:28:11 +0000 (09:28 +0100)] 
[3.13] gh-126609: Allow translating the ``availability`` directive (GH-129549) (#129584)

gh-126609: Allow translating the ``availability`` directive (GH-129549)
(cherry picked from commit 0612a89ffcf0bb52b1750a3466671ba8daad1d87)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
9 months ago[3.13] gh-127975: Avoid reusing quote types in ast.unparse if not needed (GH-127980...
Miss Islington (bot) [Mon, 3 Feb 2025 00:38:44 +0000 (01:38 +0100)] 
[3.13] gh-127975: Avoid reusing quote types in ast.unparse if not needed (GH-127980) (#129600)

gh-127975: Avoid reusing quote types in ast.unparse if not needed (GH-127980)
(cherry picked from commit 8df5193d37f70a1478642c4b456dcc7d6df6c117)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
9 months ago[3.13] gh-105875: amend sqlite3 docstring wrt. SQLite requirement (GH-129599) (#129602)
Miss Islington (bot) [Sun, 2 Feb 2025 23:26:38 +0000 (00:26 +0100)] 
[3.13] gh-105875: amend sqlite3 docstring wrt. SQLite requirement (GH-129599) (#129602)

(cherry picked from commit ecd2f84555bf494007420ba5a37adf8d1c23e856)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
9 months ago[3.13] gh-127096: Do not recreate unnamed section on every read in ConfigParser ...
Jason R. Coombs [Sun, 2 Feb 2025 18:53:23 +0000 (13:53 -0500)] 
[3.13] gh-127096: Do not recreate unnamed section on every read in ConfigParser (GH-127228) (#129593)

* Do not recreate unnamed section on every read in ConfigParser

* Remove duplicate section creation code
(cherry picked from commit 914c232e9391e8e5014b089ba12c75d4a3b0cc7f)

Co-authored-by: Andrey Efremov <duxus@yandex.ru>
9 months ago[3.13] gh-129539: Include sysexits.h before checking EX_OK (#129590)
Collin Funk [Sun, 2 Feb 2025 18:37:32 +0000 (10:37 -0800)] 
[3.13] gh-129539: Include sysexits.h before checking EX_OK (#129590)

Previously, the macro would be redefined when the header was included.

9 months ago[3.13] GH-121970: Extract ``misc_news`` into a new extension (GH-129577) (#129586)
Adam Turner [Sun, 2 Feb 2025 16:24:48 +0000 (16:24 +0000)] 
[3.13] GH-121970: Extract ``misc_news`` into a new extension (GH-129577) (#129586)

(cherry picked from commit ae4788809d674f8e27faef2678953be8cf67d4a3)

9 months ago[3.13] gh-115514: Fix incomplete writes after close while using ssl in asyncio(GH...
Miss Islington (bot) [Sun, 2 Feb 2025 16:12:12 +0000 (17:12 +0100)] 
[3.13] gh-115514: Fix incomplete writes after close while using ssl in asyncio(GH-128037) (#129581)

gh-115514: Fix incomplete writes after close while using ssl in asyncio(GH-128037)

(cherry picked from commit 4e38eeafe2ff3bfc686514731d6281fed34a435e)

Co-authored-by: Vojtěch Boček <vbocek@gmail.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
9 months ago[3.13] gh-105704: Disallow square brackets (`[` and `]`) in domain names for parsed...
Miss Islington (bot) [Sun, 2 Feb 2025 08:12:51 +0000 (09:12 +0100)] 
[3.13] gh-105704: Disallow square brackets (`[` and `]`) in domain names for parsed URLs (GH-129418) (GH-129526)

gh-105704: Disallow square brackets (`[` and `]`) in domain names for parsed URLs (GH-129418)

* gh-105704: Disallow square brackets ( and ) in domain names for parsed URLs

* Use Sphinx references

* Add mismatched bracket test cases, fix news format

* Add more test coverage for ports

---------

(cherry picked from commit d89a5f6a6e65511a5f6e0618c4c30a7aa5aba56a)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
9 months ago[3.13] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR GH-119465...
Miss Islington (bot) [Sun, 2 Feb 2025 05:11:30 +0000 (06:11 +0100)] 
[3.13] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR GH-119465 (GH-129561) (#129564)

gh-119461: Restore the testSocket VSOCK skipUnless removed by PR GH-119465 (GH-129561)

Restore the skipUnless removed by GH-119465.

This test can only pass on virtual machines, not actual machines.

actual machines see:

```
    self.cli.connect((cid, VSOCKPORT))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
OSError: [Errno 19] No such device
```

Reproduced on (Linux) Ubuntu 24.04.1 running 6.8.0-52-generic.
(cherry picked from commit e1006ce1ded1b18972888ef057718dba6f2c7edd)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
9 months ago[3.13] gh-126022: Replace TeX quotation marks with ``"`` in Doc/license.rst (GH...
Miss Islington (bot) [Sat, 1 Feb 2025 16:57:58 +0000 (17:57 +0100)] 
[3.13] gh-126022: Replace TeX quotation marks with ``"`` in  Doc/license.rst (GH-129535) (#129551)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
9 months ago[3.13] gh-126108: Fix potential null pointer dereference in `PySys_AddWarnOptionUnico...
Miss Islington (bot) [Fri, 31 Jan 2025 15:02:44 +0000 (16:02 +0100)] 
[3.13] gh-126108: Fix potential null pointer dereference in `PySys_AddWarnOptionUnicode` (GH-126118) (#129520)

gh-126108: Fix potential null pointer dereference in `PySys_AddWarnOptionUnicode` (GH-126118)
(cherry picked from commit fad36bf38248130bc48b81a5e7c31a7649a6456e)

Co-authored-by: Valery Fedorenko <federicovalenso@gmail.com>
9 months ago[3.13] gh-111495: Add PyFile tests (#129449) (#129477)
Victor Stinner [Thu, 30 Jan 2025 19:29:27 +0000 (20:29 +0100)] 
[3.13] gh-111495: Add PyFile tests (#129449) (#129477)

gh-111495: Add PyFile tests (#129449)

Add tests for the following functions in test_capi.test_file:

* PyFile_FromFd()
* PyFile_GetLine()
* PyFile_NewStdPrinter()
* PyFile_WriteObject()
* PyFile_WriteString()
* PyObject_AsFileDescriptor()

Add Modules/_testlimitedcapi/file.c file.

Remove test_embed.StdPrinterTests which became redundant.

(cherry picked from commit 4ca9fc08f89bf7172d41e523d9e520eb1729ee8c)

9 months ago[3.13] gh-128799: Add frame of except* to traceback when wrapping a naked exception...
Irit Katriel [Thu, 30 Jan 2025 12:20:13 +0000 (12:20 +0000)] 
[3.13] gh-128799: Add frame of except* to traceback when wrapping a naked exception (#128971) (#129299)

9 months ago[3.13] gh-129438: Update ``--enable-experimental-jit`` section with install requireme...
Miss Islington (bot) [Thu, 30 Jan 2025 10:22:05 +0000 (11:22 +0100)] 
[3.13] gh-129438: Update ``--enable-experimental-jit`` section with install requirements (GH-129450) (#129472)

gh-129438: Update ``--enable-experimental-jit`` section with install requirements (GH-129450)

Add a note to the `JIT` docs that building CPython with `JIT` requires Python 3.11 or newer.

(cherry picked from commit 652f66ac386dad5992c6f7c494871907272503f8)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
9 months ago[3.13] gh-129403: Fix `ValueError` messages in `asyncio.Barrier` and `threading.Barri...
Miss Islington (bot) [Thu, 30 Jan 2025 09:33:30 +0000 (10:33 +0100)] 
[3.13] gh-129403: Fix `ValueError` messages in `asyncio.Barrier` and `threading.Barrier` (GH-129419) (#129468)

gh-129403: Fix `ValueError` messages in `asyncio.Barrier` and `threading.Barrier` (GH-129419)
(cherry picked from commit bcb25d60b1baf9348e73cbd2359342cea6009c36)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
9 months ago[3.13] remove type annotations from multiprocessing. (GH-129381) (#129470)
Miss Islington (bot) [Thu, 30 Jan 2025 08:54:15 +0000 (09:54 +0100)] 
[3.13] remove type annotations from multiprocessing. (GH-129381) (#129470)

remove type annotations from multiprocessing. (GH-129381)

* remove type annotations from multiprocessing.

One of them was technically invalid per typing specs... but since we're not
checking these in the stdlib today lets elide them.

https://discuss.python.org/t/static-type-annotations-in-cpython/65068/13

* use the actual comment style annotation format

---------
(cherry picked from commit 71aecc284efdf997939568a4167dbffe1a65b9bf)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
9 months ago[3.13] gh-125522: Fix bare except in `test_uuid` (GH-129018) (#129455)
Miss Islington (bot) [Wed, 29 Jan 2025 21:23:10 +0000 (22:23 +0100)] 
[3.13] gh-125522: Fix bare except in `test_uuid` (GH-129018) (#129455)

gh-125522: Fix bare except in `test_uuid` (GH-129018)
(cherry picked from commit a1a4e9f39ad86359e148fd193089b3b2a354f71d)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
9 months ago[3.13] gh-118761: Improve import time of `subprocess` (GH-129427) (#129447)
Miss Islington (bot) [Wed, 29 Jan 2025 16:55:24 +0000 (17:55 +0100)] 
[3.13] gh-118761: Improve import time of `subprocess` (GH-129427) (#129447)

gh-118761: Improve import time of `subprocess` (GH-129427)

* subprocess: lazy import signal and locale to improve module import time
(cherry picked from commit 49f24650e4541456872490ec2b59d6d186204891)

Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com>
9 months ago[3.13] CI: Change job name to 'build arm64' on Windows (GH-129434) (#129439)
Miss Islington (bot) [Wed, 29 Jan 2025 13:40:04 +0000 (14:40 +0100)] 
[3.13] CI: Change job name to 'build arm64' on Windows (GH-129434) (#129439)

9 months ago[3.13] gh-129409: Fix Integer overflow - SEGV while writing data more than 2GB in...
Miss Islington (bot) [Wed, 29 Jan 2025 11:39:16 +0000 (12:39 +0100)] 
[3.13] gh-129409: Fix Integer overflow -  SEGV while writing data more than 2GB in CSV file (GH-129413) (#129436)

gh-129409: Fix Integer overflow -  SEGV while writing data more than 2GB in CSV file (GH-129413)
(cherry picked from commit 97b0ef05d987ebef354512b516a246feb411e815)

Co-authored-by: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) <thatiparthysreenivas@gmail.com>
9 months ago[3.13] gh-129408: http: Fix typo 'RFF' to RFC' in docstring (GH-129411) (#129414)
Miss Islington (bot) [Tue, 28 Jan 2025 18:48:51 +0000 (19:48 +0100)] 
[3.13] gh-129408: http: Fix typo 'RFF' to RFC' in docstring (GH-129411) (#129414)

gh-129408: http: Fix typo 'RFF' to RFC' in documentation (GH-129411)
(cherry picked from commit 7dd0a7e52ee832559b89d5ccba732c8e91260df8)

Co-authored-by: Samuel GIFFARD <samuel@giffard.co>
9 months ago[3.13] gh-112064: Fix incorrect handling of negative read sizes in `HTTPResponse...
Miss Islington (bot) [Tue, 28 Jan 2025 12:00:54 +0000 (13:00 +0100)] 
[3.13] gh-112064: Fix incorrect handling of negative read sizes in `HTTPResponse.read()` (GH-128270) (#129395)

gh-112064: Fix incorrect handling of negative read sizes in `HTTPResponse.read()` (GH-128270)

The parameter `amt` of `HTTPResponse.read()`, which could be a negative integer,
has not been handled before and led to waiting for the connection to close
for `keep-alive connections`. Now, this has been fixed, and passing negative values
to `HTTPResponse().read()` works the same as passing `None` value.
(cherry picked from commit 4d0d24f6e3dff2864007c3cfd1cf7d49c6ee5317)

Co-authored-by: Yury Manushkin <manushkin@gmail.com>
9 months ago[3.13] gh-85046: Document errno constants (GH-126420) (#129383)
Miss Islington (bot) [Tue, 28 Jan 2025 00:19:06 +0000 (01:19 +0100)] 
[3.13] gh-85046: Document errno constants (GH-126420) (#129383)

(cherry picked from commit 1c3bb200da77f9df30af4717988dad17db086d1a)

Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
9 months ago[3.13] GH-124398: Pin LLVM to 18.1.0 for Windows JIT CI (GH-124399) (#129380)
Miss Islington (bot) [Mon, 27 Jan 2025 22:22:56 +0000 (23:22 +0100)] 
[3.13] GH-124398: Pin LLVM to 18.1.0 for Windows JIT CI (GH-124399) (#129380)

GH-124398: Pin LLVM to 18.1.0 for Windows JIT CI (GH-124399)
(cherry picked from commit b4d0d7de0f6d938128bf525e119c18af5632b804)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
9 months ago[3.13] gh-119511: Fix a potential denial of service in imaplib (GH-119514) (GH-129355)
Miss Islington (bot) [Mon, 27 Jan 2025 22:05:59 +0000 (23:05 +0100)] 
[3.13] gh-119511: Fix a potential denial of service in imaplib (GH-119514) (GH-129355)

gh-119511: Fix a potential denial of service in imaplib (GH-119514)

The IMAP4 client could consume an arbitrary amount of memory when trying
to connect to a malicious server, because it read a "literal" data with a
single read(size) call, and BufferedReader.read() allocates the bytes
object of the specified size before reading. Now the IMAP4 client reads data
by chunks, therefore the amount of used memory is limited by the
amount of the data actually been sent by the server.
(cherry picked from commit 735f25c5e3a0f74438c86468ec4dfbe219d93c91)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
9 months ago[3.13] gh-129346: Handle allocation errors for SQLite aggregate context (GH-129347...
Miss Islington (bot) [Mon, 27 Jan 2025 17:41:59 +0000 (18:41 +0100)] 
[3.13] gh-129346: Handle allocation errors for SQLite aggregate context (GH-129347) (#129372)

(cherry picked from commit 379ab856f59423c570333403a7d5d72f3ea82d52)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
9 months ago[3.13] gh-109975: Add list of 3.13 removed library replacements (GH-127816) (#129242)
Miss Islington (bot) [Mon, 27 Jan 2025 16:27:11 +0000 (17:27 +0100)] 
[3.13] gh-109975: Add list of 3.13 removed library replacements (GH-127816) (#129242)

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
9 months ago[3.13] gh-129061: Fix `FORCE_COLOR` and `NO_COLOR` when empty strings (GH-129140...
Miss Islington (bot) [Mon, 27 Jan 2025 14:48:05 +0000 (15:48 +0100)] 
[3.13] gh-129061: Fix `FORCE_COLOR` and `NO_COLOR` when empty strings (GH-129140) (#129360)

gh-129061: Fix `FORCE_COLOR` and `NO_COLOR` when empty strings (GH-129140)
(cherry picked from commit 9546fe2ef2db921709f3cb355b33bba977658672)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
9 months ago[3.13] gh-129156: Fix variable quoting in `android-env.sh` script (GH-129321) (#129332)
Russell Keith-Magee [Mon, 27 Jan 2025 07:07:40 +0000 (15:07 +0800)] 
[3.13] gh-129156: Fix variable quoting in `android-env.sh` script (GH-129321) (#129332)

Adds quoting to `android-env.sh` to protect against spaces in paths.
(cherry picked from commit a49225cc66680129f129d1fcf6e20afb37a1a877)

Co-authored-by: Zanie Blue <contact@zanie.dev>
9 months ago[3.13] gh-123987: Fix NotADirectoryError in NamespaceReader when sentinel present...
Miss Islington (bot) [Sun, 26 Jan 2025 17:04:09 +0000 (18:04 +0100)] 
[3.13] gh-123987: Fix NotADirectoryError in NamespaceReader when sentinel present (GH-124018) (#129319)

gh-123987: Fix NotADirectoryError in NamespaceReader when sentinel present (GH-124018)
(cherry picked from commit b543b32eff78ce214e68e8c5fc15a8c843fa8dec)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
9 months ago[3.13] gh-126022: Remove zope.org from the permitted linkcheck redirects (GH-129308...
Miss Islington (bot) [Sun, 26 Jan 2025 14:51:49 +0000 (15:51 +0100)] 
[3.13] gh-126022: Remove zope.org from the permitted linkcheck redirects (GH-129308) (#129317)

Co-authored-by: partev <petrosyan@gmail.com>
9 months ago[3.13] gh-71339: Use new assertion methods in test_idle (#129314)
Terry Jan Reedy [Sun, 26 Jan 2025 09:42:08 +0000 (04:42 -0500)] 
[3.13] gh-71339: Use new assertion methods in test_idle (#129314)

Revise 10 tests in 7 files, with 1 test split into 2.
(cherry picked from commit dbb25ce)

9 months ago[3.13] GH-121970: Remove pyspecific ``PyDecoratorMixin`` patches (GH-129306) (#129309)
Miss Islington (bot) [Sun, 26 Jan 2025 03:49:23 +0000 (04:49 +0100)] 
[3.13] GH-121970: Remove pyspecific ``PyDecoratorMixin`` patches (GH-129306) (#129309)

GH-121970: Remove pyspecific ``PyDecoratorMixin`` patches (GH-129306)
(cherry picked from commit 0ef8d470b79889de065e94cecd0ee01e45037d3a)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
9 months ago[3.13] gh-126022: make license.rst consistent with LICENSE (GH-128516) (#129290)
Hugo van Kemenade [Sat, 25 Jan 2025 13:37:14 +0000 (15:37 +0200)] 
[3.13] gh-126022: make license.rst consistent with LICENSE (GH-128516) (#129290)

Co-authored-by: partev <petrosyan@gmail.com>
9 months ago[3.13] Replace `strict_concatenate = True` with `extra_checks = True` (GH-126391...
Miss Islington (bot) [Sat, 25 Jan 2025 09:45:22 +0000 (10:45 +0100)] 
[3.13] Replace `strict_concatenate = True` with `extra_checks = True` (GH-126391) (#129286)

Replace `strict_concatenate = True` with `extra_checks = True` (GH-126391)
(cherry picked from commit cc4f0a27704ba1401bd66931f5234be9c6b92ba5)

Co-authored-by: sobolevn <mail@sobolevn.me>
9 months ago[3.13] gh-129248: Filter out the iOS log prefix from testbed runner output. (GH-12925...
Miss Islington (bot) [Sat, 25 Jan 2025 09:12:32 +0000 (10:12 +0100)] 
[3.13] gh-129248: Filter out the iOS log prefix from testbed runner output. (GH-129252) (#129283)

Filter out the iOS log prefix from testbed runner output.
(cherry picked from commit a58083811a51764c47fbb7cbd67e87e1124d53e8)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
9 months ago[3.13] GH-125722: Remove Sphinx patches (GH-129277) (#129278)
Miss Islington (bot) [Sat, 25 Jan 2025 03:55:36 +0000 (04:55 +0100)] 
[3.13] GH-125722: Remove Sphinx patches (GH-129277) (#129278)

GH-125722: Remove Sphinx patches (GH-129277)
(cherry picked from commit d40692db06cdae89447c26b6c1b5d2a682c0974f)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
9 months ago[3.13] Improve tests for _colorize.can_colorize() (GH-129234) (GH-129265)
Miss Islington (bot) [Fri, 24 Jan 2025 17:00:54 +0000 (18:00 +0100)] 
[3.13] Improve tests for _colorize.can_colorize() (GH-129234) (GH-129265)

(cherry picked from commit 7907203bc07387ff2d8e2bcc15d7b8dd3a1ce687)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
9 months ago[3.13] gh-128679: Clear the ref tracer in _PyTraceMalloc_Stop() (#129258)
Victor Stinner [Fri, 24 Jan 2025 13:54:02 +0000 (14:54 +0100)] 
[3.13] gh-128679: Clear the ref tracer in _PyTraceMalloc_Stop() (#129258)

_PyTraceMalloc_Stop() now calls PyRefTracer_SetTracer(NULL, NULL).

9 months ago[3.13] gh-97850: Remove the mention of removal from `ResourceReader` docs (GH-128602...
Miss Islington (bot) [Thu, 23 Jan 2025 21:17:32 +0000 (22:17 +0100)] 
[3.13] gh-97850: Remove the mention of removal from `ResourceReader` docs (GH-128602) (#128654)

gh-97850: Remove the mention of removal from `ResourceReader` docs (GH-128602)

Remove the mention of removal from ResourceReader docs
(cherry picked from commit a1284e97979ff73ad72ad06c796b904137950576)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
9 months ago[3.13] gh-126172: Fix a misleading statement in PYTHON_BASIC_REPL documentation ...
Miss Islington (bot) [Thu, 23 Jan 2025 21:17:11 +0000 (22:17 +0100)] 
[3.13] gh-126172: Fix a misleading statement in PYTHON_BASIC_REPL documentation (GH-127203) (#129152)

gh-126172: Fix a misleading statement in PYTHON_BASIC_REPL documentation (GH-127203)

Fix a misleading statement in PYTHON_BASIC_REPL documentation.
(cherry picked from commit f18b2264929c56360c868d7ad77508035d751352)

Co-authored-by: Michael Kashirin <88917554+mkashirin@users.noreply.github.com>
9 months ago[3.13] gh-128479: fix asyncio staggered race leaking tasks, and logging unhandled...
Miss Islington (bot) [Thu, 23 Jan 2025 21:16:02 +0000 (22:16 +0100)] 
[3.13] gh-128479: fix asyncio staggered race leaking tasks, and logging unhandled exception.append exception (GH-128475) (#129227)

gh-128479: fix asyncio staggered race leaking tasks, and logging unhandled exception.append exception (GH-128475)
(cherry picked from commit ec91e1c2762412f1408b0dfb5d281873b852affe)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
9 months ago[3.13] gh-118878: Pyrepl: show completions menu below the current line (GH-118939...
Miss Islington (bot) [Thu, 23 Jan 2025 21:15:27 +0000 (22:15 +0100)] 
[3.13] gh-118878: Pyrepl: show completions menu below the current line (GH-118939) (#129161)

gh-118878: Pyrepl: show completions menu below the current line (GH-118939)

(cherry picked from commit 29caec62ee0650493c83c778ee2ea50b0501bc41)

Co-authored-by: Daniel Hollas <daniel.hollas@bristol.ac.uk>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
9 months ago[3.13] gh-128330: Terminal control characters should be restored on repl exit (GH...
Miss Islington (bot) [Thu, 23 Jan 2025 17:55:28 +0000 (18:55 +0100)] 
[3.13] gh-128330: Terminal control characters should be restored on repl exit (GH-128331) (#129233)

gh-128330: Terminal control characters should be restored on repl exit (GH-128331)
(cherry picked from commit 0b15d9c0d2d30c7d3f17ebb90dd822ef32f977cc)

Co-authored-by: Andy Fiddaman <andy@omnios.org>
9 months ago[3.13] gh-129185: Fix PyTraceMalloc_Untrack() at Python exit (#129191) (#129217)
Victor Stinner [Thu, 23 Jan 2025 12:59:19 +0000 (13:59 +0100)] 
[3.13] gh-129185: Fix PyTraceMalloc_Untrack() at Python exit (#129191) (#129217)

gh-129185: Fix PyTraceMalloc_Untrack() at Python exit (#129191)

Support calling PyTraceMalloc_Track() and PyTraceMalloc_Untrack()
during late Python finalization.

* Call _PyTraceMalloc_Fini() later in Python finalization.
* Test also PyTraceMalloc_Untrack() without the GIL
* PyTraceMalloc_Untrack() now gets the GIL.
* Test also PyTraceMalloc_Untrack() in test_tracemalloc_track_race().

(cherry picked from commit 46c7e13c055c218e18b0424efc60965e6a5fe6ea)

9 months ago[3.13] Add colour to GitHub Actions output (GH-129196) (#129198)
Miss Islington (bot) [Wed, 22 Jan 2025 21:45:08 +0000 (22:45 +0100)] 
[3.13] Add colour to GitHub Actions output (GH-129196) (#129198)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
9 months ago[3.13] gh-127873: Only check `sys.flags.ignore_environment` for `PYTHON*` env vars...
Hugo van Kemenade [Wed, 22 Jan 2025 19:09:51 +0000 (21:09 +0200)] 
[3.13] gh-127873: Only check `sys.flags.ignore_environment` for `PYTHON*` env vars (GH-127877) (#129138)

9 months ago[3.13] gh-124363: Treat debug expressions in f-string as raw strings (GH-128399)...
Miss Islington (bot) [Wed, 22 Jan 2025 17:19:07 +0000 (18:19 +0100)] 
[3.13] gh-124363: Treat debug expressions in f-string as raw strings (GH-128399) (#129187)

gh-124363: Treat debug expressions in f-string as raw strings (GH-128399)

(cherry picked from commit 60a3a0dd6fe140fdc87f6e769ee5bb17d92efe4e)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
9 months ago[3.13] gh-128636: Fix crash in PyREPL when `os.environ` is overwritten with an invali...
Miss Islington (bot) [Wed, 22 Jan 2025 16:38:13 +0000 (17:38 +0100)] 
[3.13] gh-128636: Fix crash in PyREPL when `os.environ` is overwritten with an invalid value (GH-128653) (#129186)

gh-128636: Fix crash in PyREPL when `os.environ` is overwritten with an invalid value (GH-128653)
(cherry picked from commit ba9a4b621577b92f36d88388cc9f791c2dc7d7ba)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
9 months ago[3.13] gh-128770: fix ResourceWarning in test_pyrepl (GH-128906) (#129179)
Miss Islington (bot) [Wed, 22 Jan 2025 13:13:08 +0000 (14:13 +0100)] 
[3.13] gh-128770: fix ResourceWarning in test_pyrepl (GH-128906) (#129179)

9 months ago[3.13] gh-128894: Fix `TracebackException._format_syntax_error` on custom `SyntaxErro...
Miss Islington (bot) [Wed, 22 Jan 2025 13:12:39 +0000 (14:12 +0100)] 
[3.13] gh-128894: Fix `TracebackException._format_syntax_error` on custom `SyntaxError` metadata (GH-128946) (#129178)

9 months ago[3.13] gh-129093: Fix f-string debug text sometimes getting cut off when expression...
Miss Islington (bot) [Wed, 22 Jan 2025 00:50:22 +0000 (01:50 +0100)] 
[3.13] gh-129093: Fix f-string debug text sometimes getting cut off when expression contains `!` (GH-129159) (#129163)

gh-129093: Fix f-string debug text sometimes getting cut off when expression contains `!` (GH-129159)
(cherry picked from commit 767cf708449fbf13826d379ecef64af97d779510)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
9 months ago[3.13] gh-123024: Correctly prepare/restore around help and show-history commands...
Miss Islington (bot) [Tue, 21 Jan 2025 22:15:57 +0000 (23:15 +0100)] 
[3.13] gh-123024: Correctly prepare/restore around help and show-history commands (GH-124485) (#129155)

gh-123024: Correctly prepare/restore around help and show-history commands (GH-124485)
(cherry picked from commit 5a9afe23620aadea30013076d64686be8bf66f7e)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Emily Morehouse <emily@cuttlesoft.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
9 months ago[3.13] gh-125553: Fix backslash continuation in `untokenize` (GH-126010) (#129153)
Miss Islington (bot) [Tue, 21 Jan 2025 21:04:55 +0000 (22:04 +0100)] 
[3.13] gh-125553: Fix backslash continuation in `untokenize` (GH-126010) (#129153)

gh-125553: Fix backslash continuation in `untokenize` (GH-126010)
(cherry picked from commit 7ad793e5dbdf07e51a71b70d20f3e6e3ab60244d)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
9 months ago[3.13] gh-126332: Fix pyrepl crash for double ctrl-z in line overflow (GH-126650...
Miss Islington (bot) [Tue, 21 Jan 2025 21:04:41 +0000 (22:04 +0100)] 
[3.13] gh-126332: Fix pyrepl crash for double ctrl-z in line overflow (GH-126650) (#129154)

gh-126332: Fix pyrepl crash for double ctrl-z in line overflow (GH-126650)

(cherry picked from commit d147e5e52cdb90496ae5fe85b3263cdfa9407a28)

Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
9 months ago[3.13] Move to public Linux arm64 hosted runners (#129146)
Diego Russo [Tue, 21 Jan 2025 20:40:59 +0000 (20:40 +0000)] 
[3.13] Move to public Linux arm64 hosted runners (#129146)

9 months ago[3.13] gh-122845: fix parameter_list_starargs in function definition pseudo-grammar...
Miss Islington (bot) [Tue, 21 Jan 2025 20:12:43 +0000 (21:12 +0100)] 
[3.13] gh-122845: fix parameter_list_starargs in function definition pseudo-grammar (GH-122847) (#129150)

gh-122845: fix parameter_list_starargs in function definition pseudo-grammar (GH-122847)

Thanks to Artur Chakhvadze for bugfix.
(cherry picked from commit 610584639003317193cdcfe38bbdc8268b612828)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
9 months ago[3.13] gh-128595: Default to stdout isatty for colour detection instead of stderr...
Hugo van Kemenade [Tue, 21 Jan 2025 16:14:24 +0000 (18:14 +0200)] 
[3.13] gh-128595: Default to stdout isatty for colour detection instead of stderr (GH-128498) (#129057)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Fix `test__colorize` unexpected keyword argument 'file' on buildbots (#129070)

9 months ago[3.13] gh-118915: C API: Document compiler flag macros (GH-129028) (GH-129086)
Miss Islington (bot) [Tue, 21 Jan 2025 10:47:55 +0000 (11:47 +0100)] 
[3.13] gh-118915: C API: Document compiler flag macros (GH-129028) (GH-129086)

(cherry picked from commit 6e02096e2f9a18671d608f79dd61c5757deca4e8)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
9 months ago[3.13] Docs: fix typo in `Doc/howto/mro.rst` (GH-129095) (GH-129122)
Miss Islington (bot) [Tue, 21 Jan 2025 09:40:31 +0000 (10:40 +0100)] 
[3.13] Docs: fix typo in `Doc/howto/mro.rst` (GH-129095) (GH-129122)

(cherry picked from commit da310d209a6af45e5e1ea48a873f1d14be471a09)

Co-authored-by: smelnikov <13030121+smelnikov@users.noreply.github.com>
9 months ago[3.13] GH-121970: Extract ``changes`` into a new extension (GH-129105) (#129109)
Miss Islington (bot) [Mon, 20 Jan 2025 23:58:41 +0000 (00:58 +0100)] 
[3.13] GH-121970: Extract ``changes`` into a new extension (GH-129105) (#129109)

GH-121970: Extract ``changes`` into a new extension (GH-129105)
(cherry picked from commit e54ac3b69edacf4149988150591226df1397d127)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
9 months ago[3.13] gh-111178: fix UBSan failures in `Modules/_multiprocessing/semaphore.c` (GH...
Miss Islington (bot) [Mon, 20 Jan 2025 21:05:52 +0000 (22:05 +0100)] 
[3.13] gh-111178: fix UBSan failures in `Modules/_multiprocessing/semaphore.c` (GH-129084) (#129100)

gh-111178: fix UBSan failures in `Modules/_multiprocessing/semaphore.c` (GH-129084)

fix UBSan failures for `SemLockObject`
(cherry picked from commit 5ed5572cac7ef204767ddf8e8888e15672ba558e)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
9 months ago[3.13] doc: fix venv creating for the local Python using uv (GH-129094) (#129096)
Miss Islington (bot) [Mon, 20 Jan 2025 19:13:12 +0000 (20:13 +0100)] 
[3.13] doc: fix venv creating for the local Python using uv (GH-129094) (#129096)

Co-authored-by: Filipe Laíns 🇵🇸 <lains@riseup.net>
9 months ago[3.13] GH-128131: Completely support random read access of uncompressed unencrypted...
Miss Islington (bot) [Mon, 20 Jan 2025 18:28:52 +0000 (19:28 +0100)] 
[3.13] GH-128131: Completely support random read access of uncompressed unencrypted files in ZipFile (GH-128143) (#129091)

GH-128131: Completely support random read access of uncompressed unencrypted files in ZipFile (GH-128143)
(cherry picked from commit dda02eb7be62bf0af850a7521c77c90ea997df6c)

Co-authored-by: 5ec1cff <56485584+5ec1cff@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
9 months ago[3.13] gh-128588: gh-128550: remove eager tasks optimization that missed and introduc...
Miss Islington (bot) [Mon, 20 Jan 2025 17:36:50 +0000 (18:36 +0100)] 
[3.13] gh-128588: gh-128550: remove eager tasks optimization that missed and introduced incorrect cancellations (GH-129063) (#129089)

gh-128588: gh-128550: remove eager tasks optimization that missed and introduced incorrect cancellations (GH-129063)
(cherry picked from commit ed6934e71e55d398df8263f4697f58e4a3815f69)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>