]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
4 months agoPython 3.14.0b4 v3.14.0b4
Hugo van Kemenade [Tue, 8 Jul 2025 08:56:46 +0000 (11:56 +0300)] 
Python 3.14.0b4

4 months ago[3.14] gh-120713: Make _Py_NORMALIZE_CENTURY private (GH-135933) (#136387)
Miss Islington (bot) [Tue, 8 Jul 2025 08:43:57 +0000 (10:43 +0200)] 
[3.14] gh-120713: Make _Py_NORMALIZE_CENTURY private (GH-135933) (#136387)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
4 months ago[3.14] gh-136297: Fix `hypothesis` and `subTest` usage in `test_zoneinfo_property...
Miss Islington (bot) [Tue, 8 Jul 2025 08:16:51 +0000 (10:16 +0200)] 
[3.14] gh-136297: Fix `hypothesis` and `subTest` usage in `test_zoneinfo_property.py` (GH-136384) (#136407)

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.14] gh-136155: Docs: only add custom OpenGraph protocol meta tags for HTML builds...
Miss Islington (bot) [Tue, 8 Jul 2025 07:03:40 +0000 (09:03 +0200)] 
[3.14] gh-136155: Docs: only add custom OpenGraph protocol meta tags for HTML builds (GH-136187) (#136382)

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.14] gh-101100: Fix sphinx warnings in `whatsnew/3.11.rst` (GH-136402) (#136405)
Miss Islington (bot) [Tue, 8 Jul 2025 06:47:17 +0000 (08:47 +0200)] 
[3.14] gh-101100: Fix sphinx warnings in `whatsnew/3.11.rst` (GH-136402) (#136405)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
4 months ago[3.14] gh-102567: Add missing newline to `--help-all` (GH-136391) (GH-136403)
Miss Islington (bot) [Tue, 8 Jul 2025 06:24:08 +0000 (08:24 +0200)] 
[3.14] gh-102567: Add missing newline to `--help-all` (GH-136391) (GH-136403)

gh-102567: Add missing newline to `--help-all` (GH-136391)
(cherry picked from commit fbef0c1d6a6540f5063138b861f79bdb2a935b0a)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
4 months ago[3.14] gh-135913: Document ob_refcnt, ob_type, ob_size (GH-135914) (GH-136377)
Miss Islington (bot) [Tue, 8 Jul 2025 06:03:03 +0000 (08:03 +0200)] 
[3.14] gh-135913: Document ob_refcnt, ob_type, ob_size (GH-135914) (GH-136377)

gh-135913: Document ob_refcnt, ob_type, ob_size (GH-135914)

* gh-135913: Document ob_refcnt, ob_type, ob_size

In `typeobj.rst`, instead of `:c:member:` it would be better to
use `.. c:member::` with a `:no-index:` option, see:

See ref. https://www.sphinx-doc.org/en/master/usage/domains/index.html#basic-markup

However, `c:member` currently does not support `:no-index:`.
(cherry picked from commit 73e1207a4ebdb3b43d597cd6c288dae6d7d1dbdb)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
4 months ago[3.14] gh-136032: Fix `argparse.BooleanOptionalAction` doc (GH-136133) (#136329)
Miss Islington (bot) [Tue, 8 Jul 2025 02:34:18 +0000 (04:34 +0200)] 
[3.14] gh-136032: Fix `argparse.BooleanOptionalAction` doc (GH-136133) (#136329)

gh-136032: Fix `argparse.BooleanOptionalAction` doc (GH-136133)
(cherry picked from commit 1953713d0d67a4f54ff75bf8449895a2f08cc750)

Co-authored-by: W. H. Wang <mattwang44@gmail.com>
4 months ago[3.14] gh-135906: Use `_PyObject_CAST` in internal headers (GH-135892) (GH-136392)
Miss Islington (bot) [Mon, 7 Jul 2025 17:21:28 +0000 (19:21 +0200)] 
[3.14] gh-135906: Use `_PyObject_CAST` in internal headers (GH-135892) (GH-136392)

gh-135906: Use `_PyObject_CAST` in internal headers (GH-135892)

Fixes build errors encountered in python-greenlet/greenlet#450 when building greenlet on the free-threaded build.

---------
(cherry picked from commit fe187fae8d8321f1b8d3c9560a35efe904de4217)

Co-authored-by: Charlie Lin <tuug@gmx.us>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
4 months ago[3.14] gh-101100: Fix Sphinx warnings in library/email.compat32-message.rst (GH-13632...
Miss Islington (bot) [Mon, 7 Jul 2025 16:50:56 +0000 (18:50 +0200)] 
[3.14] gh-101100: Fix Sphinx warnings in library/email.compat32-message.rst (GH-136323) (#136389)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
4 months ago[3.14] gh-87790: support thousands separators for formatting fractional part of Decim...
Miss Islington (bot) [Mon, 7 Jul 2025 16:24:30 +0000 (18:24 +0200)] 
[3.14] gh-87790: support thousands separators for formatting fractional part of Decimal (GH-132202) (#136365)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 months ago[3.14] gh-87790: support thousands separators for formatting fractional part of Fract...
Miss Islington (bot) [Mon, 7 Jul 2025 16:24:24 +0000 (18:24 +0200)] 
[3.14] gh-87790: support thousands separators for formatting fractional part of Fraction (GH-132204) (#136364)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
4 months ago[3.14] gh-124486: Fix test_whichdb_ndbm in test_dbm on NetBSD (GH-136335) (GH-136378)
Miss Islington (bot) [Mon, 7 Jul 2025 12:57:37 +0000 (14:57 +0200)] 
[3.14] gh-124486: Fix test_whichdb_ndbm in test_dbm on NetBSD (GH-136335) (GH-136378)

On NetBSD, ndbm.open() does not fail for empty file.
(cherry picked from commit b7aa2a4b4df697db6ea45a555eeb3fefa5ca5bd4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 months ago[3.14] gh-86682: Add versionadded for sys._getframemodulename (GH-136325) (#136375)
Miss Islington (bot) [Mon, 7 Jul 2025 11:27:54 +0000 (13:27 +0200)] 
[3.14] gh-86682: Add versionadded for sys._getframemodulename (GH-136325) (#136375)

gh-86682: Add versionadded for sys._getframemodulename (GH-136325)

add versionadded for sys._getframemodulename
(cherry picked from commit 11f074b243756bca0db5a7d35dd84f00879de616)

Co-authored-by: Anthony Sottile <asottile@umich.edu>
4 months ago[3.14] gh-131591: Document Py_REMOTE_DEBUG (GH-135929) (GH-136374)
Miss Islington (bot) [Mon, 7 Jul 2025 11:07:23 +0000 (13:07 +0200)] 
[3.14] gh-131591: Document Py_REMOTE_DEBUG (GH-135929) (GH-136374)

gh-131591: Document Py_REMOTE_DEBUG (GH-135929)
(cherry picked from commit 9aac5a3d44d7191001660aed3a383b062ee4b29b)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
4 months ago[3.14] gh-135755: Document __future__.* and CO_* as proper Sphinx objects (GH-135980...
Miss Islington (bot) [Mon, 7 Jul 2025 10:55:20 +0000 (12:55 +0200)] 
[3.14] gh-135755: Document __future__.* and CO_* as proper Sphinx objects (GH-135980) (GH-136370)

* 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>
4 months ago[3.14] gh-101100: Fix sphinx warnings in `whatsnew/3.9` (GH-136163) (#136372)
Miss Islington (bot) [Mon, 7 Jul 2025 10:48:04 +0000 (12:48 +0200)] 
[3.14] gh-101100: Fix sphinx warnings in `whatsnew/3.9` (GH-136163) (#136372)

Co-authored-by: sobolevn <mail@sobolevn.me>
4 months ago[3.14] gh-130662: Accept leading zeros in precision/width for Decimal's formatting...
Miss Islington (bot) [Mon, 7 Jul 2025 09:55:35 +0000 (11:55 +0200)] 
[3.14] gh-130662: Accept leading zeros in precision/width for Decimal's formatting (GH-132549) (#136362)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
4 months ago[3.14] gh-130662: Accept leading zeros in precision/width for Fraction's formatting...
Miss Islington (bot) [Mon, 7 Jul 2025 09:50:02 +0000 (11:50 +0200)] 
[3.14] gh-130662: Accept leading zeros in precision/width for Fraction's formatting (GH-130663) (#136361)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
4 months ago[3.14] gh-136289: Fix test_sqlite3 on platforms with strict UTF-8 filesystem (GH...
Miss Islington (bot) [Mon, 7 Jul 2025 09:43:44 +0000 (11:43 +0200)] 
[3.14] gh-136289: Fix test_sqlite3 on platforms with strict UTF-8 filesystem (GH-136326) (GH-136350)

(cherry picked from commit 85b817da94cf911a964d42e81a57e1de9ab71ef9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 months ago[3.14] GH-133932: Tagged ints are heap safe (GH-134244) (#134494)
Miss Islington (bot) [Mon, 7 Jul 2025 09:33:55 +0000 (11:33 +0200)] 
[3.14] GH-133932: Tagged ints are heap safe (GH-134244) (#134494)

Co-authored-by: Mark Shannon <mark@hotpy.org>
4 months ago[3.14] GH-135106: Restrict trashcan to GC'ed objects (GH-135682) (#135876)
Miss Islington (bot) [Mon, 7 Jul 2025 09:31:18 +0000 (11:31 +0200)] 
[3.14] GH-135106: Restrict trashcan to GC'ed objects (GH-135682) (#135876)

Co-authored-by: Mark Shannon <mark@hotpy.org>
4 months ago[3.14] gh-94503: Update logging cookbook with an example of uniformly handling newlin...
Miss Islington (bot) [Mon, 7 Jul 2025 09:18:27 +0000 (11:18 +0200)] 
[3.14] gh-94503: Update logging cookbook with an example of uniformly handling newlines in output. (GH-136217) (GH-136357)

(cherry picked from commit d05423a90ce0ee9ad5207dce3dd06ab2397f3d6e)

4 months ago[3.14] gh-127502: Remove XML vulnerability table (GH-135294) (#136359)
Miss Islington (bot) [Mon, 7 Jul 2025 09:08:41 +0000 (11:08 +0200)] 
[3.14] gh-127502: Remove XML vulnerability table (GH-135294) (#136359)

gh-127502: Remove XML vulnerability table (GH-135294)

* Remove the table
* Replace warnings with notes

Latest releases of Python 3.9-3.15 include expat 2.7.1 which is not vulnerable.

expat 2.6.0 was released in February 2024.
(cherry picked from commit cb99d992774b67761441e122965ed056bac09241)

Co-authored-by: Victor Stinner <vstinner@python.org>
4 months ago[3.14] gh-109700: fix interpreter finalization while handling memory error (GH-136342...
Miss Islington (bot) [Mon, 7 Jul 2025 07:40:13 +0000 (09:40 +0200)] 
[3.14] gh-109700: fix interpreter finalization while handling memory error (GH-136342) (#136352)

gh-109700: fix interpreter finalization while handling memory error (GH-136342)
(cherry picked from commit 0c3e3da19570424649c33c0c2c29dc12541935e7)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
4 months ago[3.14] gh-136316: Make typing.evaluate_forward_ref better at evaluating nested forwar...
Jelle Zijlstra [Mon, 7 Jul 2025 00:10:57 +0000 (17:10 -0700)] 
[3.14] gh-136316: Make typing.evaluate_forward_ref better at evaluating nested forwardrefs (GH-136319) (#136346)

(cherry picked from commit 9312702d2e12c2f58f02bfa02877d0ec790d06bd)

4 months ago[3.14] gh-109070: Document that get_context in multiprocessing have side effect ...
Miss Islington (bot) [Sun, 6 Jul 2025 18:32:03 +0000 (20:32 +0200)] 
[3.14] gh-109070: Document that get_context in multiprocessing have side effect (GH-136341) (GH-136343)

gh-109070: Document that get_context in multiprocessing have side effect (GH-136341)

Document that get_context in multiprocessing have side effect
(cherry picked from commit 77a8bd29da99e7d4fa8e7f07c4063977c2bb14d3)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
4 months ago[3.14] gh-109700: fix memory error handling in `PyDict_SetDefault` (GH-136338) (...
Miss Islington (bot) [Sun, 6 Jul 2025 15:43:16 +0000 (17:43 +0200)] 
[3.14] gh-109700: fix memory error handling in `PyDict_SetDefault` (GH-136338) (#136340)

gh-109700: fix memory error handling in `PyDict_SetDefault` (GH-136338)
(cherry picked from commit d22e073d2b49313bbf42d40cbe74afa2b69385df)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
4 months ago[3.14] gh-129824: fix data races in subinterpreters under TSAN (GH-135794) (#136266)
Miss Islington (bot) [Sun, 6 Jul 2025 13:23:55 +0000 (15:23 +0200)] 
[3.14] gh-129824: fix data races in subinterpreters under TSAN (GH-135794) (#136266)

gh-129824: fix data races in subinterpreters under TSAN (GH-135794)

This fixes the data races in typeobject.c in subinterpreters under free-threading. The type flags and slots are only modified in the main interpreter as all static types are first initialised in main interpreter.
(cherry picked from commit b582d751b4968d4534fdb7894e50713676789b2f)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
4 months ago[3.14] gh-136285: Improve `pickle` protocol testing in `test_interpreters` (GH-136286...
Miss Islington (bot) [Sun, 6 Jul 2025 08:13:13 +0000 (10:13 +0200)] 
[3.14] gh-136285: Improve `pickle` protocol testing in `test_interpreters` (GH-136286) (#136333)

gh-136285: Improve `pickle` protocol testing in `test_interpreters` (GH-136286)
(cherry picked from commit 06e347b84648f3f8e144e8f70671d610da082b77)

Co-authored-by: sobolevn <mail@sobolevn.me>
4 months ago[3.14] gh-136315: Fix skipped multithreading test in test_zstd (GH-136320) (#136322)
Miss Islington (bot) [Sat, 5 Jul 2025 18:24:19 +0000 (20:24 +0200)] 
[3.14] gh-136315: Fix skipped multithreading test in test_zstd (GH-136320) (#136322)

gh-136315: Fix skipped multithreading test in test_zstd (GH-136320)

Fix skipped test in test_zstd
(cherry picked from commit 5dac137b9f75c5c1d5096101bcd33d565d0526e4)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
4 months ago[3.14] gh-101100: Fix references in `http.cookiejar` docs (GH-136238) (GH-136318)
Miss Islington (bot) [Sat, 5 Jul 2025 13:35:24 +0000 (15:35 +0200)] 
[3.14] gh-101100: Fix references in `http.cookiejar` docs (GH-136238) (GH-136318)

gh-101100: Fix references in `http.cookiejar` docs (GH-136238)
(cherry picked from commit f0c7344a8fbfe67c05981cce67562e7facfae73d)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
4 months ago[3.14] gh-136297: Test all `pickle` protocols in `test_zoneinfo_property.py` (GH...
Miss Islington (bot) [Sat, 5 Jul 2025 06:39:48 +0000 (08:39 +0200)] 
[3.14] gh-136297: Test all `pickle` protocols in `test_zoneinfo_property.py` (GH-136298) (#136311)

gh-136297: Test all `pickle` protocols in `test_zoneinfo_property.py` (GH-136298)
(cherry picked from commit 5de7e3f9739b01ad180fffb242ac57cea930e74d)

Co-authored-by: sobolevn <mail@sobolevn.me>
4 months ago[3.14] gh-136288: Fix error message in `_testcapi/vectorcall.c` (GH-136258) (GH-136294)
Miss Islington (bot) [Fri, 4 Jul 2025 16:18:32 +0000 (18:18 +0200)] 
[3.14] gh-136288: Fix error message in `_testcapi/vectorcall.c` (GH-136258) (GH-136294)

gh-136288: Fix error message in `_testcapi/vectorcall.c` (GH-136258)

Use the %N format specifier instead of %s and `PyType_GetName`.
(cherry picked from commit d1d5dce14f90d777608e4403d09079421ff55944)

Co-authored-by: William S Fulton <wsf@fultondesigns.co.uk>
4 months ago[3.14] Docs: Move "or" outside monospace syntax in `tarfile.rst` (GH-136263) (GH...
Miss Islington (bot) [Fri, 4 Jul 2025 14:46:57 +0000 (16:46 +0200)] 
[3.14] Docs: Move "or" outside monospace syntax in `tarfile.rst` (GH-136263) (GH-136290)

Docs: Move "or" outside monospace syntax in `tarfile.rst` (GH-136263)
(cherry picked from commit ade19880943509945da193202ca89e0b2b6fbd75)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
4 months ago[3.14] gh-135773: have pyvenv.cfg without home key anchor a venv and deduce home...
Miss Islington (bot) [Fri, 4 Jul 2025 14:36:12 +0000 (16:36 +0200)] 
[3.14] gh-135773: have pyvenv.cfg without home key anchor a venv and deduce home (GH-135831) (#136287)

gh-135773: have pyvenv.cfg without home key anchor a venv and deduce home (GH-135831)

This is still formally undefined behaviour, but we may as well
keep the *same* undefined behaviour as previous versions.

PEP 796 proposes a cleaner and more consistent replacement for 3.15+
(cherry picked from commit 93263d43141a81d369adfcddf325f9a54cb5766d)

Co-authored-by: Richard Levasseur <rlevasseur@google.com>
4 months ago[3.14] gh-102555: Fix comment parsing in HTMLParser according to the HTML5 standard...
Miss Islington (bot) [Fri, 4 Jul 2025 07:26:03 +0000 (09:26 +0200)] 
[3.14] gh-102555: Fix comment parsing in HTMLParser according to the HTML5 standard (GH-135664) (GH-136271)

* "--!>" now ends the comment.
* "-- >" no longer ends the comment.
* Support abnormally ended empty comments "<-->" and "<--->".

---------
(cherry picked from commit 8ac7613dc8b8f82253d7c0e2b6ef6ed703a0a1ee)

Co-author: Kerim Kabirov <the.privat33r+gh@pm.me>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
4 months ago[3.14] Clarify some details regarding `sys.monitoring` (GH-133981) (GH-136259)
Miss Islington (bot) [Thu, 3 Jul 2025 21:10:27 +0000 (23:10 +0200)] 
[3.14] Clarify some details regarding `sys.monitoring` (GH-133981) (GH-136259)

Clarify some details regarding `sys.monitoring` (GH-133981)
(cherry picked from commit b4991056f4f44acb50aea3838463e749c24c7420)

Co-authored-by: Brett Cannon <brett@python.org>
4 months ago[3.14] gh-135661: Fix parsing start and end tags in HTMLParser according to the HTML5...
Miss Islington (bot) [Thu, 3 Jul 2025 20:57:53 +0000 (22:57 +0200)] 
[3.14] gh-135661: Fix parsing start and end tags in HTMLParser according to the HTML5 standard (GH-135930) (GH-136255)

* Whitespaces no longer accepted between `</` and the tag name.
  E.g. `</ script>` does not end the script section.

* Vertical tabulation (`\v`) and non-ASCII whitespaces no longer recognized
  as whitespaces. The only whitespaces are `\t\n\r\f `.

* Null character (U+0000) no longer ends the tag name.

* Attributes and slashes after the tag name in end tags are now ignored,
  instead of terminating after the first `>` in quoted attribute value.
  E.g. `</script/foo=">"/>`.

* Multiple slashes and whitespaces between the last attribute and closing `>`
  are now ignored in both start and end tags. E.g. `<a foo=bar/ //>`.

* Multiple `=` between attribute name and value are no longer collapsed.
  E.g. `<a foo==bar>` produces attribute "foo" with value "=bar".

* Whitespaces between the `=` separator and attribute name or value are no
  longer ignored. E.g. `<a foo =bar>` produces two attributes "foo" and
  "=bar", both with value None; `<a foo= bar>` produces two attributes:
  "foo" with value "" and "bar" with value None.

---------
(cherry picked from commit 0243f97cbadec8d985e63b1daec5d1cbc850cae3)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
4 months ago[3.14] gh-135252: Document Zstandard integration across zipfile, shutil, and tarfile...
Miss Islington (bot) [Thu, 3 Jul 2025 20:34:38 +0000 (22:34 +0200)] 
[3.14] gh-135252: Document Zstandard integration across zipfile, shutil, and tarfile (GH-135311) (#136254)

gh-135252: Document Zstandard integration across zipfile, shutil, and tarfile (GH-135311)

Document Zstandard integration across zipfile, shutil, and tarfile
(cherry picked from commit 938a5d7e62d962a8462bce9fe04236ac9a2155b8)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
4 months ago[3.14] gh-115119: Recommend upstream libmpdec in build requirements (GH-136205) ...
Miss Islington (bot) [Thu, 3 Jul 2025 12:50:38 +0000 (14:50 +0200)] 
[3.14] gh-115119: Recommend upstream libmpdec in build requirements (GH-136205) (#136244)

gh-115119: Recommend upstream libmpdec in build requirements (GH-136205)
(cherry picked from commit b2e498ac26ba4720fa8a6a466aa8416ab69754d7)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
4 months ago[3.14] gh-130664: Treat '0' fill character with align '=' as zero-padding for Fractio...
Miss Islington (bot) [Thu, 3 Jul 2025 11:22:03 +0000 (13:22 +0200)] 
[3.14] gh-130664: Treat '0' fill character with align '=' as zero-padding for Fraction's (GH-131067) (GH-136241)

(cherry picked from commit c113a8e5236b31217d82ce289d3df6ec9e8411cd)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
4 months ago[3.14] gh-133740: Fix regression in locale.nl_langinfo(ALT_DIGITS) (GH-136237) (GH...
Miss Islington (bot) [Thu, 3 Jul 2025 11:04:30 +0000 (13:04 +0200)] 
[3.14] gh-133740: Fix regression in locale.nl_langinfo(ALT_DIGITS) (GH-136237) (GH-136240)

There is no need to temporary switch locale for items ALT_DIGITS and ERA
if the nl_langinfo() result is empty (most locales).
(cherry picked from commit 5c984ae35e30f0533e6cc727d23cc158decf001c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 months ago[3.14] gh-135069: Fix exception message in encodings.idna module (GH-135071) (#136235)
Miss Islington (bot) [Thu, 3 Jul 2025 10:18:27 +0000 (12:18 +0200)] 
[3.14] gh-135069: Fix exception message in encodings.idna module (GH-135071) (#136235)

gh-135069: Fix exception message in encodings.idna module (GH-135071)
(cherry picked from commit 8dc3383abea72ee3deafec60818aeb817d8fec09)

Co-authored-by: Daniel Hollas <daniel.hollas@bristol.ac.uk>
4 months ago[3.14] Fix comments for `heapq.siftup_max` (GH-135359) (#136232)
Miss Islington (bot) [Thu, 3 Jul 2025 10:17:10 +0000 (12:17 +0200)] 
[3.14] Fix comments for `heapq.siftup_max` (GH-135359) (#136232)

Fix comments for `heapq.siftup_max` (GH-135359)
(cherry picked from commit 8f8bdf251a5f79d15ac2b1a6d19860033bf50c79)

Co-authored-by: Alper <alperyoney@fb.com>
Co-authored-by: mpage <mpage@meta.com>
4 months ago[3.14] gh-135640: Adds more type checking to ElementTree (GH-135643) (GH-136225)
Miss Islington (bot) [Thu, 3 Jul 2025 08:15:01 +0000 (10:15 +0200)] 
[3.14] gh-135640: Adds more type checking to ElementTree (GH-135643) (GH-136225)

(cherry picked from commit e0245c789f54b63d461717a91eec8ffccbe18966)

Co-authored-by: Kira <kirawhoprograms@fastmail.com>
4 months ago[3.14] gh-127705: Move Py_INCREF_MORTAL() to the internal C API (GH-136178) (#136206)
Miss Islington (bot) [Thu, 3 Jul 2025 06:42:17 +0000 (08:42 +0200)] 
[3.14] gh-127705: Move Py_INCREF_MORTAL() to the internal C API (GH-136178) (#136206)

gh-127705: Move Py_INCREF_MORTAL() to the internal C API (GH-136178)

Rename Py_INCREF_MORTAL() to _Py_INCREF_MORTAL() and move it to
pycore_object.h internal header.
(cherry picked from commit fa43a1e0f8caf00a15898fa719e31767c866bd90)

Co-authored-by: Victor Stinner <vstinner@python.org>
4 months ago[3.14] gh-135836: Fix `IndexError` in `asyncio.create_connection()` (GH-135875) ...
Miss Islington (bot) [Thu, 3 Jul 2025 04:34:30 +0000 (06:34 +0200)] 
[3.14] gh-135836: Fix `IndexError` in `asyncio.create_connection()` (GH-135875) (#136221)

gh-135836: Fix `IndexError` in `asyncio.create_connection()` (GH-135875)
(cherry picked from commit 9084b151567d02936ea1374961809b69b4cd883d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 months ago[3.14] gh-135836: Fix `IndexError` in `asyncio.create_connection` with empty exceptio...
Miss Islington (bot) [Thu, 3 Jul 2025 04:07:18 +0000 (06:07 +0200)] 
[3.14] gh-135836: Fix `IndexError` in `asyncio.create_connection` with empty exceptions list (GH-135845) (#136167)

gh-135836: Fix `IndexError` in `asyncio.create_connection` with empty exceptions list (GH-135845)
(cherry picked from commit 0e19db653dfa1a6e750e9cede1f6922e5fd1e808)

Co-authored-by: heliang666s <147408835+heliang666s@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
4 months ago[3.14] gh-136135: Doc: Fix some broken links (GH-136137) (GH-136220)
Miss Islington (bot) [Thu, 3 Jul 2025 00:57:39 +0000 (02:57 +0200)] 
[3.14] gh-136135: Doc: Fix some broken links (GH-136137) (GH-136220)

gh-136135: Doc: Fix some broken links (GH-136137)
(cherry picked from commit 135ba86212ad116af3cc4a6ba656bc8cfaab131a)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
4 months ago[3.14] Replace `capi-sig` mailing list with `discuss.python.org` (GH-136211) (#136213)
Miss Islington (bot) [Wed, 2 Jul 2025 17:55:08 +0000 (19:55 +0200)] 
[3.14] Replace `capi-sig` mailing list with `discuss.python.org` (GH-136211) (#136213)

Replace `capi-sig` mailing list with `discuss.python.org` (GH-136211)
(cherry picked from commit 7afe1adb0089d0f2df2add79bbc2300c2f236d90)

Co-authored-by: sobolevn <mail@sobolevn.me>
4 months ago[3.14] gh-115119: Defer removal of bundled libmpdec to 3.16 (GH-133997) (#136199)
Sergey B Kirpichev [Wed, 2 Jul 2025 12:36:15 +0000 (15:36 +0300)] 
[3.14] gh-115119: Defer removal of bundled libmpdec to 3.16 (GH-133997) (#136199)

Rename libmpdecimal -> libmpdec

see https://www.bytereef.org/mpdecimal/doc/libmpdec/index.html
(cherry picked from commit b19c9da401b9e81078103861f55e0762b93453f0)

4 months ago[3.14] gh-134280: Disable constant folding for ~ with a boolean argument (GH-134982...
Miss Islington (bot) [Wed, 2 Jul 2025 08:28:09 +0000 (10:28 +0200)] 
[3.14] gh-134280: Disable constant folding for ~ with a boolean argument (GH-134982) (GH-136185)

This moves the deprecation warning from compile time to run time.
(cherry picked from commit 86c3316183a79867e3c666d0830f897e16f0f339)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 months ago[3.14] GH-134273: Allow setting JIT compiler flags at build time with CFLAGS_JIT...
Miss Islington (bot) [Tue, 1 Jul 2025 21:34:59 +0000 (23:34 +0200)] 
[3.14] GH-134273: Allow setting JIT compiler flags at build time with CFLAGS_JIT (GH-135792)

(cherry picked from commit 2b0c684e0759dc3fec0e9dd0fc8383e6c75b7b5c)
Co-authored-by: Zanie Blue <contact@zanie.dev>
4 months ago[3.14] gh-87298: Add tests for find_in_strong_cache() bug in _zoneinfo (GH-24829...
Miss Islington (bot) [Tue, 1 Jul 2025 15:20:53 +0000 (17:20 +0200)] 
[3.14] gh-87298: Add tests for find_in_strong_cache() bug in _zoneinfo (GH-24829) (GH-136181)

(cherry picked from commit 12ce16bc134a602d2ac8acde86ae69f70183cb9f)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Paul Ganssle <p.ganssle@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 months ago[3.14] gh-130396: Move PYOS_LOG2_STACK_MARGIN to internal headers (GH-135928) (#136173)
Miss Islington (bot) [Tue, 1 Jul 2025 13:44:32 +0000 (15:44 +0200)] 
[3.14] gh-130396: Move PYOS_LOG2_STACK_MARGIN to internal headers (GH-135928) (#136173)

gh-130396: Move PYOS_LOG2_STACK_MARGIN to internal headers (GH-135928)

Move PYOS_LOG2_STACK_MARGIN, PYOS_STACK_MARGIN,
PYOS_STACK_MARGIN_BYTES and PYOS_STACK_MARGIN_SHIFT macros to
pycore_pythonrun.h internal header. Add underscore (_) prefix to the
names to make them private. Rename _PYOS to _PyOS.
(cherry picked from commit 28940e8e4884eb3444a8ea15a5634f76b154d7ed)

Co-authored-by: Victor Stinner <vstinner@python.org>
4 months ago[3.14] gh-136169: Update parameter name in fractions.from_float method (GH-136172...
Miss Islington (bot) [Tue, 1 Jul 2025 13:31:16 +0000 (15:31 +0200)] 
[3.14] gh-136169: Update parameter name in fractions.from_float method (GH-136172) (#136174)

gh-136169: Update parameter name in fractions.from_float method (GH-136172)

Update parameter name in fractions.from_float method
(cherry picked from commit 9c0cb5beb893284c5d49f947bbd81dfe081a5d71)

Co-authored-by: Vladyslav Lazoryk <80263725+lazorikv@users.noreply.github.com>
4 months ago[3.14] gh-135755: Use private names (_Py*) for header file guards new in 3.14 (GH...
Miss Islington (bot) [Tue, 1 Jul 2025 10:37:02 +0000 (12:37 +0200)] 
[3.14] gh-135755: Use private names (_Py*) for header file guards new in 3.14 (GH-135921) (GH-135976)

These are private API; let's name new ones accordingly.
(cherry picked from commit 6be17baeb5bcfc78f0b7fcfe5221df0744c865e8)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
4 months ago[3.14] gh-133982: Use implementation-specific `open` in `test_fileio.OtherFileTests...
Miss Islington (bot) [Mon, 30 Jun 2025 22:23:34 +0000 (00:23 +0200)] 
[3.14] gh-133982: Use implementation-specific `open` in `test_fileio.OtherFileTests` (GH-135364) (GH-136148)

gh-133982: Use implementation-specific `open` in `test_fileio.OtherFileTests` (GH-135364)
(cherry picked from commit 23caccf74ce2c8dc5d9c5eb6350d21ef20c6ea0b)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
4 months ago[3.14] gh-134939: Fill Out the concurrent.interpreters Docs (gh-136141)
Miss Islington (bot) [Mon, 30 Jun 2025 17:00:33 +0000 (19:00 +0200)] 
[3.14] gh-134939: Fill Out the concurrent.interpreters Docs (gh-136141)

(cherry picked from commit fc82cb91b, AKA gh-135902)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
4 months ago[3.14] gh-63207: Update `time.time` documentation after GH-116822 (GH-136068) (#136138)
Miss Islington (bot) [Mon, 30 Jun 2025 16:16:08 +0000 (18:16 +0200)] 
[3.14] gh-63207: Update `time.time` documentation after GH-116822 (GH-136068) (#136138)

gh-63207: Update `time.time` documentation after GH-116822 (GH-136068)
(cherry picked from commit 486587da42dc2beda1e7807c35678f181b57a60f)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
4 months ago[3.14] gh-85702: Catch PermissionError in zoneinfo.load_tzdata() (GH-136117) (#136128)
Miss Islington (bot) [Mon, 30 Jun 2025 14:58:18 +0000 (16:58 +0200)] 
[3.14] gh-85702: Catch PermissionError in zoneinfo.load_tzdata() (GH-136117) (#136128)

gh-85702: Catch PermissionError in zoneinfo.load_tzdata() (GH-136117)
(cherry picked from commit ee47670e8b8648b14fd4cb64a9d47d6ed3c5b6b7)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
4 months ago[3.14] gh-136122: Fix video link for math.tau documentation (GH-136129) (#136131)
Miss Islington (bot) [Mon, 30 Jun 2025 14:49:09 +0000 (16:49 +0200)] 
[3.14] gh-136122: Fix video link for math.tau documentation (GH-136129) (#136131)

Co-authored-by: sedram <54665381+sedram@users.noreply.github.com>
4 months ago[3.14] gh-135607: remove null checking of weakref list in dealloc of extension module...
Victor Stinner [Mon, 30 Jun 2025 13:59:22 +0000 (15:59 +0200)] 
[3.14] gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614) (#136119)

gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614)

(cherry picked from commit b1056c2a446b43452e457d5fd5f1bde66afd3883)

Co-authored-by: Xuanteng Huang <44627253+xuantengh@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
4 months ago[3.14] gh-48181: Document `codecs.charmap_build` (GH-135997) (#136123)
Miss Islington (bot) [Mon, 30 Jun 2025 13:52:46 +0000 (15:52 +0200)] 
[3.14] gh-48181: Document `codecs.charmap_build` (GH-135997) (#136123)

gh-48181: Document `codecs.charmap_build` (GH-135997)
(cherry picked from commit 2bdd50309f543f449d7d82b64ed6f60ae0aa80b9)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
4 months ago[3.14] gh-131885: Update documented signatures for `csv.{writer,reader}` (GH-136085...
Miss Islington (bot) [Mon, 30 Jun 2025 13:38:57 +0000 (15:38 +0200)] 
[3.14] gh-131885: Update documented signatures for `csv.{writer,reader}` (GH-136085) (GH-136120)

gh-131885: Update documented signatures for `csv.{writer,reader}` (GH-136085)
(cherry picked from commit 75f40595e555e7d016cf9d2da8aaddb78bb20b2f)

Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
4 months ago[3.14] gh-132813: Fix the csv documentation for quoting and escaping (GH-133209)...
Miss Islington (bot) [Mon, 30 Jun 2025 07:47:29 +0000 (09:47 +0200)] 
[3.14] gh-132813: Fix the csv documentation for quoting and escaping (GH-133209) (#136113)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 months ago[3.14] gh-136087: Remove `\r` from documented `os.linesep` values (GH-136088) (#136111)
Miss Islington (bot) [Mon, 30 Jun 2025 07:44:29 +0000 (09:44 +0200)] 
[3.14] gh-136087: Remove `\r` from documented `os.linesep` values (GH-136088) (#136111)

gh-136087: Remove `\r` from documented `os.linesep` values (GH-136088)
(cherry picked from commit 980a56843bf631ea80c1486a367d41031dec6a7e)

Co-authored-by: sobolevn <mail@sobolevn.me>
4 months ago[3.14] Doc: fix duplicated words (GH-136086) (#136108)
Miss Islington (bot) [Sun, 29 Jun 2025 22:45:26 +0000 (00:45 +0200)] 
[3.14] Doc: fix duplicated words (GH-136086) (#136108)

Doc: fix duplicated words (GH-136086)

---------
(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>
4 months ago[3.14] gh-123299: Provide replacement for removed sqlite3 attributes in What's New...
Miss Islington (bot) [Sun, 29 Jun 2025 15:40:27 +0000 (17:40 +0200)] 
[3.14] gh-123299: Provide replacement for removed sqlite3 attributes in What's New 3.14 (GH-125566) (#136103)

Co-authored-by: fry69 <142489379+fry69@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
4 months ago[3.14] gh-127604: Docs: Include a C stack in the `faulthandler` example (GH-136081...
Miss Islington (bot) [Sun, 29 Jun 2025 15:05:40 +0000 (17:05 +0200)] 
[3.14] gh-127604: Docs: Include a C stack in the `faulthandler` example (GH-136081) (GH-136102)

* gh-127604: Docs: Include a C stack in the `faulthandler` example (GH-136081)
(cherry picked from commit 39478479146f1f4188119a0e7ffdcdc7b6016bd7)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
4 months ago[3.14] gh-136053: Check error for TYPE_SLICE in marshal.c (GH-136054) (GH-136092)
Miss Islington (bot) [Sun, 29 Jun 2025 07:36:04 +0000 (09:36 +0200)] 
[3.14] gh-136053: Check error for TYPE_SLICE in marshal.c (GH-136054) (GH-136092)

Fix a possible crash when deserializing a large marshal data
(at least several GiBs) containing a slice.
(cherry picked from commit 30ba03ea8ed98522b0500d6856b22727c88e818f)

Co-authored-by: Akshat Gupta <akshat.gupta24@gmail.com>
4 months ago[3.14] Doc: Fix duplicate words in idlelib (GH-136089) (#136090)
Miss Islington (bot) [Sun, 29 Jun 2025 07:12:50 +0000 (09:12 +0200)] 
[3.14] Doc: Fix duplicate words in idlelib (GH-136089) (#136090)

Doc: Fix duplicate words in idlelib (GH-136089)
(cherry picked from commit f04d2b8819eb37d5439b7437f1e80a1e5c5c4f07)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
4 months ago[3.14] gh-91048: Fix external inspection multi-threaded performance (GH-136005) ...
Pablo Galindo Salgado [Sat, 28 Jun 2025 18:12:54 +0000 (19:12 +0100)] 
[3.14] gh-91048: Fix external inspection multi-threaded performance (GH-136005) (#136080)

(cherry picked from commit 5334732f9c8a44722e4b339f4bb837b5b0226991)

4 months ago[3.14] gh-76595: Add note on `PyCapsule_Import` behavior (GH-134022) (GH-136074)
Miss Islington (bot) [Sat, 28 Jun 2025 13:08:15 +0000 (15:08 +0200)] 
[3.14] gh-76595: Add note on `PyCapsule_Import` behavior (GH-134022) (GH-136074)

gh-76595: Add note on `PyCapsule_Import` behavior (GH-134022)
(cherry picked from commit 579acf45629fa0b7787ec78fa4049fc6a6388b71)

Co-authored-by: Nicolas Trangez <ikke@nicolast.be>
4 months ago[3.14] gh-135571: Guard `_hashlib` usage in `test_hashlib.py` (GH-135572) (#136042)
Bénédikt Tran [Sat, 28 Jun 2025 08:15:39 +0000 (10:15 +0200)] 
[3.14] gh-135571: Guard `_hashlib` usage in `test_hashlib.py` (GH-135572) (#136042)

(cherry picked from commit 065194c1a971b59547f1bb2cc64760c4bf0ee674)

Co-authored-by: Will Childs-Klein <willck93@gmail.com>
4 months ago[3.14] gh-135755: rename undocumented `HACL_CAN_COMPILE_SIMD{128,256}` macros (GH...
Bénédikt Tran [Sat, 28 Jun 2025 08:05:58 +0000 (10:05 +0200)] 
[3.14] gh-135755: rename undocumented `HACL_CAN_COMPILE_SIMD{128,256}` macros (GH-135847) (#136045)

Rename undocumented `HACL_CAN_COMPILE_SIMD{128,256}` macros
to `_Py_HACL_CAN_COMPILE_VEC{128,256}`. These macros are private.
(cherry picked from commit 1e975aee28924afbd956183918cef278e09ce8f3)

4 months ago[3.14] gh-108765: fix comment about macro definitions in `_stat.c` post GH-108854...
Miss Islington (bot) [Fri, 27 Jun 2025 15:40:34 +0000 (17:40 +0200)] 
[3.14] gh-108765: fix comment about macro definitions in `_stat.c` post GH-108854 (GH-136027) (#136043)

gh-108765: fix comment about macro definitions in `_stat.c` post GH-108854 (GH-136027)
(cherry picked from commit 0141e7f9e66e5e5ac3949fb018dd6811cd630dca)

Co-authored-by: Lee Dogeon <dev.moreal@gmail.com>
4 months ago[3.14] gh-136028: Fix parsing month names containing "İ" (U+0130) in strptime() ...
Miss Islington (bot) [Fri, 27 Jun 2025 14:12:15 +0000 (16:12 +0200)] 
[3.14] gh-136028: Fix parsing month names containing "İ" (U+0130) in strptime() (GH-136029) (GH-136037)

This affects locales az_AZ, ber_DZ, ber_MA and crh_UA.
(cherry picked from commit 731f5b8ab3970e344bfbc4ff86df767a0795f0fc)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 months ago[3.14] gh-92266: Replace tabs with four spaces in Python files (GH-135983) (#136035)
Miss Islington (bot) [Fri, 27 Jun 2025 13:27:00 +0000 (15:27 +0200)] 
[3.14] gh-92266: Replace tabs with four spaces in Python files (GH-135983) (#136035)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
4 months ago[3.14] gh-78465: Fix error message for cls.__new__(cls, ...) where cls is not instant...
Miss Islington (bot) [Fri, 27 Jun 2025 12:01:48 +0000 (14:01 +0200)] 
[3.14] gh-78465: Fix error message for cls.__new__(cls, ...) where cls is not instantiable (GH-135981) (GH-136030)

Previous error message suggested to use cls.__new__(), which
obviously does not work. Now the error message is the same as for
cls(...).
(cherry picked from commit c45f4f3ebe34529a8db3a7918e8dd2e9f7ce8e86)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 months ago[3.14] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (GH-135908) (#136025)
Miss Islington (bot) [Fri, 27 Jun 2025 10:26:51 +0000 (12:26 +0200)] 
[3.14] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (GH-135908) (#136025)

gh-128051: Fix tests if sys.float_repr_style is 'legacy' (GH-135908)
(cherry picked from commit f3aec60d7a01c5f085a3ef2d6670d46b42b8ddd3)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
4 months ago[3.14] gh-53203: Fix strptime() for %c, %x and %X formats on some locales (GH-135971...
Miss Islington (bot) [Fri, 27 Jun 2025 08:16:31 +0000 (10:16 +0200)] 
[3.14] gh-53203: Fix strptime() for %c, %x and %X formats on some locales (GH-135971) (GH-136019)

* Add detection of decimal non-ASCII alt digits.
* Add support of non-decimal alt digits on locale lzh_TW.
* Accept only numbers in correct range if alt digits are known.
* Fix bug in detecting the position of the week day name on locales byn_ER and wal_ET.
* Fix support of single-digit hour on locales ar_SA and bg_BG.
* Add support for %T, %R, %r, %C, %OC.
* Prepare code to use nl_langinfo().

(cherry picked from commit 07183ebce36462aaaea4d20e0502b20821dd2682)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 months ago[3.14] gh-135966: Modify iOS testbed to make app_packages a site directory (GH-135967...
Miss Islington (bot) [Fri, 27 Jun 2025 05:30:51 +0000 (07:30 +0200)] 
[3.14] gh-135966: Modify iOS testbed to make app_packages a site directory (GH-135967) (#136012)

The iOS testbed now treats the app_packages folder as a site folder. This ensures it is
on the path, but also ensures any .pth files are processed on app startup.
(cherry picked from commit b38810bab76c11ea09260a817b3354aebc2af580)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
4 months ago[3.14] gh-135968: Add iOS binary stubs for strip (GH-135970) (#136014)
Miss Islington (bot) [Fri, 27 Jun 2025 05:24:55 +0000 (07:24 +0200)] 
[3.14] gh-135968: Add iOS binary stubs for strip (GH-135970) (#136014)

Adds iOS binary stubs for invoking `strip`
(cherry picked from commit 0c6c09b7377e10dcf80844c961b578fbdc6f5375)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
4 months ago[3.14] Docs: Fix duplicate word typos (GH-135958) (GH-136007)
Miss Islington (bot) [Fri, 27 Jun 2025 00:05:53 +0000 (02:05 +0200)] 
[3.14] Docs: Fix duplicate word typos (GH-135958) (GH-136007)

(cherry picked from commit 34ce1920ca33c11ca2c379ed0ef30a91010bef4f)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
4 months ago[3.14] gh-135995: Fix missing char in palmos encoding (GH-135990) (#136001)
Miss Islington (bot) [Thu, 26 Jun 2025 23:01:43 +0000 (01:01 +0200)] 
[3.14] gh-135995: Fix missing char in palmos encoding (GH-135990) (#136001)

gh-135995: Fix missing char in palmos encoding (GH-135990)

0x8b correctly encodes to ‹, but 0x9b was mistakenly marked as a control character instead of ›.
---------
(cherry picked from commit 58a42dea97f4fa0df38ef4a95a2ede65e0549f71)

Co-authored-by: Nathan Korth <nkorth@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
4 months ago[3.14] IDLE: Update NEWS2x.txt with 2.7.0 release date (GH-129908) (#135999)
Miss Islington (bot) [Thu, 26 Jun 2025 20:46:14 +0000 (22:46 +0200)] 
[3.14] IDLE: Update NEWS2x.txt with 2.7.0 release date (GH-129908) (#135999)

IDLE: Update NEWS2x.txt with 2.7.0 release date (GH-129908)
(cherry picked from commit 642e5dfc74310d15bb81f8e94167590380a5fbfb)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
4 months ago[3.14] GH-133600: Backport file reorg of `Tools/wasm/wasi` (GH-135950)
Brett Cannon [Thu, 26 Jun 2025 19:24:33 +0000 (12:24 -0700)] 
[3.14] GH-133600: Backport file reorg of `Tools/wasm/wasi` (GH-135950)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
4 months ago[3.14] gh-129958: New syntax error in format spec applies to both f-strings and t...
Miss Islington (bot) [Thu, 26 Jun 2025 16:40:09 +0000 (18:40 +0200)] 
[3.14] gh-129958: New syntax error in format spec applies to both f-strings and t-strings (GH-135570) (#135982)

(cherry picked from commit fb9e292919d82326acea456aa071c9af6aff5626)

Co-authored-by: Dylan <dylwil3@gmail.com>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
4 months ago[3.14] gh-91555: add warning to docs about possibility of deadlock/infinite recursion...
Miss Islington (bot) [Thu, 26 Jun 2025 14:25:36 +0000 (16:25 +0200)] 
[3.14] gh-91555: add warning to docs about possibility of deadlock/infinite recursion (GH-135954) (GH-135988)

(cherry picked from commit a4625d597f9fc2d083fbb9c22d3ffcec73b2061a)

4 months ago[3.14] gh-135110: Fix misleading `generator.close()` documentation (GH-135152) (GH...
Miss Islington (bot) [Thu, 26 Jun 2025 13:34:33 +0000 (15:34 +0200)] 
[3.14] gh-135110: Fix misleading `generator.close()` documentation (GH-135152) (GH-135985)

gh-135110: Fix misleading `generator.close()` documentation (GH-135152)

The documentation incorrectly stated that generator.close() 'raises' a
GeneratorExit exception. This was misleading because the method doesn't
raise the exception to the caller - it sends the exception internally
to the generator and returns None.
(cherry picked from commit 0d76dccc3b4376ba075a1737f58809e3d83aaaa3)

Co-authored-by: Connor Denihan <188690869+cdenihan@users.noreply.github.com>
4 months ago[3.14] gh-135965: Delete duplicate word in isolating-extensions howto (GH-135964...
Miss Islington (bot) [Thu, 26 Jun 2025 11:47:17 +0000 (13:47 +0200)] 
[3.14] gh-135965: Delete duplicate word in isolating-extensions howto (GH-135964) (#135977)

gh-135965: Delete duplicate word in isolating-extensions howto (GH-135964)

Change use use to use.
(cherry picked from commit ffb2a02f98d904505c8a82d8540c36dee4c67eed)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
4 months ago[3.14] gh-125206: Make _Py_FFI_SUPPORT_C_COMPLEX private (GH-135932) (GH-135973)
Miss Islington (bot) [Thu, 26 Jun 2025 10:13:47 +0000 (12:13 +0200)] 
[3.14] gh-125206: Make _Py_FFI_SUPPORT_C_COMPLEX private (GH-135932) (GH-135973)

(cherry picked from commit 9193efdeab4596f987528ba278afa2eca93a9e8a)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
4 months ago[3.14] gh-135755: Move `PyFunction_GET_BUILTINS` to the private API (GH-135938) ...
Miss Islington (bot) [Thu, 26 Jun 2025 10:08:28 +0000 (12:08 +0200)] 
[3.14] gh-135755: Move `PyFunction_GET_BUILTINS` to the private API (GH-135938) (GH-135972)

(cherry picked from commit 10a3d431881bb9169abde97f85ea6a670e1ef3cc)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
4 months ago[3.14] gh-131591: Add Py_ prefix to MAX_SCRIPT_PATH_SIZE; remove unprefixed struct...
Miss Islington (bot) [Thu, 26 Jun 2025 08:23:39 +0000 (10:23 +0200)] 
[3.14] gh-131591: Add Py_ prefix to MAX_SCRIPT_PATH_SIZE; remove unprefixed struct tag (GH-135924) (GH-135969)

Names/macros defined in public headers should have `Py`/`_Py` prefixes.
(cherry picked from commit a1da208eec3028b1ecae804d4c0dc6b43cdddae9)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
4 months ago[3.14] gh-135956: Remove duplicate word in _pydatetime docstring (GH-135957) (#135962)
Miss Islington (bot) [Thu, 26 Jun 2025 04:09:11 +0000 (06:09 +0200)] 
[3.14] gh-135956: Remove duplicate word in _pydatetime docstring (GH-135957) (#135962)

gh-135956: Remove duplicate word in _pydatetime docstring (GH-135957)

_pydatetime.isoformat docstring repeats 'giving'.
(cherry picked from commit e3ea6f2b3b084700a34ce392f5cf897407469b3a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
4 months ago[3.14] Add whatsnew text for warnings module changes. (gh-135869) (gh-135961)
Miss Islington (bot) [Thu, 26 Jun 2025 03:09:09 +0000 (05:09 +0200)] 
[3.14] Add whatsnew text for warnings module changes. (gh-135869) (gh-135961)

Add whatsnew text for warnings module changes. (gh-135869)
(cherry picked from commit 1f5e23fd7015a8f7b14d0181ec83efa95c5d5b68)

Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
4 months ago[3.14] gh-135721: skip `test_trashcan_python_class` on wasm buildbots with stack...
Miss Islington (bot) [Wed, 25 Jun 2025 23:02:39 +0000 (01:02 +0200)] 
[3.14] gh-135721: skip `test_trashcan_python_class` on wasm buildbots with stack overflow (GH-135766) (GH-135955)

gh-135721: skip `test_trashcan_python_class` on wasm buildbots with stack overflow (GH-135766)
(cherry picked from commit 3fb6cfe7a95081e6775ad2dca845713a3ea4c799)

Co-authored-by: Pastukhov Nikita <diementros@yandex.ru>
4 months ago[3.14] Docs: Fix indentation in `slice` class of `functions.rst` (GH-134393) (#135948)
Miss Islington (bot) [Wed, 25 Jun 2025 17:52:59 +0000 (19:52 +0200)] 
[3.14] Docs: Fix indentation in `slice` class of `functions.rst` (GH-134393) (#135948)

Docs: Fix indentation in `slice` class of `functions.rst` (GH-134393)

Paragraph should not be under `slice.step`. It applies to the whole class.

(cherry picked from commit 6227662ff3bf838d31e9441eda935d24733d705a)

Co-authored-by: Rob Reynolds <13379223+reynoldsnlp@users.noreply.github.com>