]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
15 months ago[3.13] gh-116622: Skip PosixPathTest.test_expanduser_pwd2 on platforms which don...
Miss Islington (bot) [Mon, 12 Aug 2024 10:37:03 +0000 (12:37 +0200)] 
[3.13] gh-116622: Skip PosixPathTest.test_expanduser_pwd2 on platforms which don't support pwd.getpwall (GH-122521) (GH-122530)

(cherry picked from commit 8844197daaeb3aa026cfe1cac6cf9d1b52c2540e)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
15 months ago[3.13] gh-122903: Honor directories in zipfile.Path.glob. (GH-122908) (#122926)
Miss Islington (bot) [Mon, 12 Aug 2024 01:02:10 +0000 (03:02 +0200)] 
[3.13] gh-122903: Honor directories in zipfile.Path.glob. (GH-122908) (#122926)

(cherry picked from commit 6aa35f3002dda25858d47e702e750e2871e42a7c)

15 months ago[3.13] gh-122905: Sanitize names in zipfile.Path. (GH-122906) (#122922)
Miss Islington (bot) [Mon, 12 Aug 2024 00:35:04 +0000 (02:35 +0200)] 
[3.13] gh-122905: Sanitize names in zipfile.Path. (GH-122906) (#122922)

15 months ago[3.13] gh-122701: Fix wording of raw strings/bytes in `lexical_analysis.rst` (GH...
Miss Islington (bot) [Sun, 11 Aug 2024 21:20:07 +0000 (23:20 +0200)] 
[3.13] gh-122701: Fix wording of raw strings/bytes in `lexical_analysis.rst` (GH-122702) (#122914)

gh-122701: Fix wording of raw strings/bytes in `lexical_analysis.rst` (GH-122702)
(cherry picked from commit ea70439bd2b5a1c881342646f30942f527f61373)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] Docs: Standardise versionchanged text in weakref.rst (GH-122898) (#122911)
Miss Islington (bot) [Sun, 11 Aug 2024 20:57:19 +0000 (22:57 +0200)] 
[3.13] Docs: Standardise versionchanged text in weakref.rst (GH-122898) (#122911)

Docs: Standardise versionchanged text in weakref.rst (GH-122898)
(cherry picked from commit db8b83c2b0247f1d9b15152bbfcfe4afc7e588ed)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
15 months ago[3.13] GH-120794: Use example paths with multiple parts in pathlib docs (GH-122887...
Miss Islington (bot) [Sat, 10 Aug 2024 21:41:14 +0000 (23:41 +0200)] 
[3.13] GH-120794: Use example paths with multiple parts in pathlib docs (GH-122887) (#122895)

GH-120794: Use example paths with multiple parts in pathlib docs (GH-122887)

In the documentation of `PosixPath` and `WindowsPath`, and their `Pure*`
equivalents, use example paths with multiple non-anchor parts.

(cherry picked from commit 363374cf69a7e2292fe3f1c6bedd199088958cc2)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-122868: Add more lower bounds for sphinxcontrib dependencies (GH-122891...
Miss Islington (bot) [Sat, 10 Aug 2024 21:10:22 +0000 (23:10 +0200)] 
[3.13] gh-122868: Add more lower bounds for sphinxcontrib dependencies (GH-122891) (#122893)

gh-122868: Add more lower bounds for sphinxcontrib dependencies (GH-122891)
(cherry picked from commit 0959142e4defcf7a9fcbbb228d2e2b97a074f7ea)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-122868: Add lower bounds for sphinxcontrib dependencies (GH-122870) (#122871)
Miss Islington (bot) [Fri, 9 Aug 2024 22:36:23 +0000 (00:36 +0200)] 
[3.13] gh-122868: Add lower bounds for sphinxcontrib dependencies (GH-122870) (#122871)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-116622: Rename build variable MODULE_LDFLAGS back to LIBPYTHON (GH-122764...
Miss Islington (bot) [Fri, 9 Aug 2024 21:45:04 +0000 (23:45 +0200)] 
[3.13] gh-116622: Rename build variable MODULE_LDFLAGS back to LIBPYTHON (GH-122764) (GH-122842)

gh-116622: Rename build variable MODULE_LDFLAGS back to LIBPYTHON (GH-122764)

(LIBPYTHON was renamed MODULE_LDFLAGS in commit 7f5e3f04f.)
(cherry picked from commit 2f5c3b09e45798a18d60841d04a165fb062be666)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
15 months ago[3.13] gh-122255: Add black box tests in test_warnings (GH-122227) (GH-122818)
Miss Islington (bot) [Fri, 9 Aug 2024 21:33:56 +0000 (23:33 +0200)] 
[3.13] gh-122255: Add black box tests in test_warnings (GH-122227) (GH-122818)

gh-122255: Add black box tests in test_warnings (GH-122227)

They are similar to white box tests for gh-86298 in test_importlib.
(cherry picked from commit fe13c9baf40673fe369e98626dd87aea8b805aa2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-105376: Restore deprecated logging warn() method (GH-122775) (#122856)
Miss Islington (bot) [Fri, 9 Aug 2024 15:15:30 +0000 (17:15 +0200)] 
[3.13] gh-105376: Restore deprecated logging warn() method (GH-122775) (#122856)

gh-105376: Restore deprecated logging warn() method (GH-122775)

This reverts commit dcc028d92428bd57358a5028ada2a53fc79fc365 and
commit 6c54e5d72166d012b52155cbf13af9e533290e06.

Keep the deprecated logging warn() method in Python 3.13.

(cherry picked from commit d3239976a8e66ae3e2f4314a6889d79cdc9a9625)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 months ago[3.13] gh-109218: Refactor tests for the complex() constructor (GH-119635) (GH-119795)
Miss Islington (bot) [Fri, 9 Aug 2024 14:42:16 +0000 (16:42 +0200)] 
[3.13] gh-109218: Refactor tests for the complex() constructor (GH-119635) (GH-119795)

* Share common classes.
* Use exactly representable floats and exact tests.
* Check the sign of zero components.
* Remove duplicated tests (mostly left after merging int and long).
* Reorder tests in more consistent way.
* Test more error messages.
* Add tests for missed cases.
(cherry picked from commit bf098d4157158e1e4b2ea78aba4ac82d72e24cff)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-121874: Define audit-event open parameters consistently (GH-121883) (#121956)
Miss Islington (bot) [Fri, 9 Aug 2024 14:35:49 +0000 (16:35 +0200)] 
[3.13] gh-121874: Define audit-event open parameters consistently (GH-121883) (#121956)

Co-authored-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 months ago[3.13] gh-122695: Fix double-free when using `gc.get_referents` with a freed `_asynci...
Peter Bierma [Fri, 9 Aug 2024 14:06:36 +0000 (14:06 +0000)] 
[3.13] gh-122695: Fix double-free when using `gc.get_referents` with a freed `_asyncio.FutureIter` (#122837)

* Backport #122834 for 3.13

15 months ago[3.13] gh-122661: Remove GNU make-specific directive from Doc/Makefile (GH-122662...
Miss Islington (bot) [Fri, 9 Aug 2024 11:43:09 +0000 (13:43 +0200)] 
[3.13] gh-122661: Remove GNU make-specific directive from Doc/Makefile (GH-122662) (#122668)

Co-authored-by: Libor Martínek <libas@acco.cz>
15 months ago[3.13] gh-122744: test_venv: ignore pip's complaint about missing ssl (GH-122776...
Miss Islington (bot) [Fri, 9 Aug 2024 07:26:54 +0000 (09:26 +0200)] 
[3.13] gh-122744: test_venv: ignore pip's complaint about missing ssl (GH-122776) (GH-122823)

(cherry picked from commit 0d9c123d1ac4f3dd30bdef5182049d9a831eca10)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
15 months ago[3.13] GH-118943: Remove regen-jit from the regen-all make target (GH-122840)
Miss Islington (bot) [Thu, 8 Aug 2024 21:14:49 +0000 (23:14 +0200)] 
[3.13] GH-118943: Remove regen-jit from the regen-all make target (GH-122840)

cherry picked from commit 8c9d1742de6e3c3232c96660291f109c23a3bc49)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
Co-authored-by: Éric <merwok@netwok.org>
15 months ago[3.13] GH-118943: Handle races when moving jit_stencils.h (GH-122709)
Miss Islington (bot) [Thu, 8 Aug 2024 20:37:49 +0000 (22:37 +0200)] 
[3.13] GH-118943: Handle races when moving jit_stencils.h (GH-122709)

(cherry picked from commit 44659d392751f0161a0f958fec39ad013da45427)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
15 months ago[3.13] gh-87320: In the code module, handle exceptions raised in sys.excepthook ...
Miss Islington (bot) [Thu, 8 Aug 2024 07:26:52 +0000 (09:26 +0200)] 
[3.13] gh-87320: In the code module, handle exceptions raised in sys.excepthook (GH-122456) (GH-122514)

Before, the exception caused by calling non-default sys.excepthook
in code.InteractiveInterpreter bubbled up to the caller, ending the REPL.
(cherry picked from commit bd3d31f380cd451a4ab6da5fbfde463fed95b5b5)

Co-authored-by: CF Bolz-Tereick <cfbolz@gmx.de>
15 months ago[3.13] gh-118814: Fix the TypeVar constructor when name is passed by keyword (GH...
Serhiy Storchaka [Thu, 8 Aug 2024 06:49:21 +0000 (09:49 +0300)] 
[3.13] gh-118814: Fix the TypeVar constructor when name is passed by keyword (GH-122664) (GH-122806)

Fix _PyArg_UnpackKeywordsWithVararg for the case when argument for
positional-or-keyword parameter is passed by keyword.
There was only one such case in the stdlib -- the TypeVar constructor.
(cherry picked from commit 540fcc62f5da982b79504221cac01bfab8b73ba1)

15 months ago[3.13] Docs: Change `remove` to `removes` for consistency (GH-121072) (#122790)
Miss Islington (bot) [Wed, 7 Aug 2024 16:18:08 +0000 (18:18 +0200)] 
[3.13] Docs: Change `remove` to `removes` for consistency (GH-121072) (#122790)

Docs: Change `remove` to `removes` for consistency (GH-121072)
(cherry picked from commit 967a4f1d180d4cd669d5c6e3ac5ba99af4e72d4e)

Co-authored-by: smij720 <122238526+smij720@users.noreply.github.com>
15 months ago[3.13] gh-122511: Improve documentation for object identity of mutable/immutable...
Miss Islington (bot) [Wed, 7 Aug 2024 15:41:26 +0000 (17:41 +0200)] 
[3.13] gh-122511: Improve documentation for object identity of mutable/immutable types (GH-122512) (#122778)

gh-122511: Improve documentation for object identity of mutable/immutable types (GH-122512)
(cherry picked from commit 76bdeebef6c6206f3e0af1e42cbfc75c51fbb8ca)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] Doc: cmdline.rst: Include -P and -R in usage (GH-122590) (#122783)
Miss Islington (bot) [Wed, 7 Aug 2024 15:35:35 +0000 (17:35 +0200)] 
[3.13] Doc: cmdline.rst: Include -P and -R in usage (GH-122590) (#122783)

Doc: cmdline.rst: Include -P and -R in usage (GH-122590)

* ``-P``: safe path (https://docs.python.org/3/using/cmdline.htmlGH-cmdoption-P)
* ``-R``: hash randomization (https://docs.python.org/3/using/cmdline.htmlGH-cmdoption-R)
(cherry picked from commit c25898d51e4ec84319b7113d5bf453c6e6519d9c)

Co-authored-by: Wim Jeantine-Glenn <hey@wimglenn.com>
15 months ago[3.13] gh-122581: Avoid data races when collecting parser statistics (GH-122694)...
Miss Islington (bot) [Wed, 7 Aug 2024 12:59:03 +0000 (14:59 +0200)] 
[3.13] gh-122581: Avoid data races when collecting parser statistics (GH-122694) (#122733)

gh-122581: Avoid data races when collecting parser statistics (GH-122694)
(cherry picked from commit ce0d66c8d238c9676c6ecd3f04294a3299e07f74)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
15 months ago[3.13] gh-122728: Fix SystemError in PyEval_GetLocals() (GH-122735) (#122757)
Miss Islington (bot) [Tue, 6 Aug 2024 21:37:10 +0000 (23:37 +0200)] 
[3.13] gh-122728: Fix SystemError in PyEval_GetLocals() (GH-122735) (#122757)

gh-122728: Fix SystemError in PyEval_GetLocals() (GH-122735)

Fix PyEval_GetLocals() to avoid SystemError ("bad argument to
internal function"). Don't redefine the 'ret' variable in the if
block.

Add an unit test on PyEval_GetLocals().
(cherry picked from commit 4767a6e31c0550836b2af45d27e374e721f0c4e6)

Co-authored-by: Victor Stinner <vstinner@python.org>
15 months ago[3.13] gh-122334: Fix test_embed failure when missing _ssl module (GH-122630) (#122647)
Miss Islington (bot) [Tue, 6 Aug 2024 19:00:14 +0000 (21:00 +0200)] 
[3.13] gh-122334: Fix test_embed failure when missing _ssl module (GH-122630) (#122647)

gh-122334: Fix test_embed failure when missing _ssl module (GH-122630)
(cherry picked from commit 50b36037518a8e7f7eee39b597d56b5b2756eb86)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
Co-authored-by: Wulian233 <1055917385@qq.com>
15 months ago[3.13] gh-121103: Update site module docs for free-threaded installs (GH-122737)...
Miss Islington (bot) [Tue, 6 Aug 2024 18:57:02 +0000 (20:57 +0200)] 
[3.13] gh-121103: Update site module docs for free-threaded installs (GH-122737) (#122750)

gh-121103: Update site module docs for free-threaded installs (GH-122737)
(cherry picked from commit 1429651a06611a9dbcb1928b746faf52934c12e2)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
15 months ago[3.13] gh-122744: Bump bundled pip to 24.2 (#122746)
Pradyun Gedam [Tue, 6 Aug 2024 18:50:12 +0000 (19:50 +0100)] 
[3.13] gh-122744: Bump bundled pip to 24.2 (#122746)

(cherry picked from commit 5b8a6c5186be299d96dd483146dc6ea737ffdfe7)

Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
15 months ago[3.13] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233...
Miss Islington (bot) [Tue, 6 Aug 2024 17:06:41 +0000 (19:06 +0200)] 
[3.13] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233) (#122484)

gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233)

GH-GH- Encode header parts that contain newlines

Per RFC 2047:

> [...] these encoding schemes allow the
> encoding of arbitrary octet values, mail readers that implement this
> decoding should also ensure that display of the decoded data on the
> recipient's terminal will not cause unwanted side-effects

It seems that the "quoted-word" scheme is a valid way to include
a newline character in a header value, just like we already allow
undecodable bytes or control characters.
They do need to be properly quoted when serialized to text, though.

GH-GH- Verify that email headers are well-formed

This should fail for custom fold() implementations that aren't careful
about newlines.

(cherry picked from commit 097633981879b3c9de9a1dd120d3aa585ecc2384)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Bas Bloemsaat <bas@bloemsaat.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-122573: Require Python 3.10 or newer for Windows builds (GH-122574) (#122674)
Miss Islington (bot) [Tue, 6 Aug 2024 16:53:12 +0000 (18:53 +0200)] 
[3.13] gh-122573: Require Python 3.10 or newer for Windows builds (GH-122574) (#122674)

gh-122573: Require Python 3.10 or newer for Windows builds (GH-122574)

Match statements in tooling require a more recent Python. Tools/cases_generator/*.py (and `Tools/jit/*.py` in 3.13+).

(cherry picked from commit d0b92dd5ca46a10558857adeb7bb48ecf39fa783)

Co-authored-by: Jonathan Protzenko <protz@microsoft.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
15 months ago[3.13] Fix syntax in generate_re_casefix.py (GH-122699) (#122721)
Miss Islington (bot) [Tue, 6 Aug 2024 06:46:14 +0000 (08:46 +0200)] 
[3.13] Fix syntax in generate_re_casefix.py (GH-122699) (#122721)

This was broken in gh-97963.
(cherry picked from commit b72c748d7fb4ecc0bc4626c7bc05fbc6c83f0ba8)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
15 months ago[3.13] gh-122613: Document PyLong_GetInfo() (part of Limited API) (GH-122280) (#122645)
Sergey B Kirpichev [Mon, 5 Aug 2024 18:11:34 +0000 (21:11 +0300)] 
[3.13] gh-122613: Document PyLong_GetInfo() (part of Limited API) (GH-122280) (#122645)

[3.13] gh-122613: Document PyLong_GetInfo() (part of Limited API) (GH-GH-122280)
(cherry picked from commit d91ac525ef166edc0083acf5a96f81b87324fe7f)

15 months ago[3.13] gh-121367: [doc] BUILD_TUPLE arg can be 0 (GH-122663) (#122683)
Miss Islington (bot) [Mon, 5 Aug 2024 09:37:16 +0000 (11:37 +0200)] 
[3.13] gh-121367: [doc] BUILD_TUPLE arg can be 0 (GH-122663) (#122683)

gh-121367: [doc] BUILD_TUPLE arg can be 0 (GH-122663)
(cherry picked from commit 1422500d020bd199b26357fc387f8b79b82226cd)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
15 months ago[3.13] Add `3.13` and remove `3.7` in Azure Pipelines (GH-122670) (#122671)
Miss Islington (bot) [Sun, 4 Aug 2024 17:21:25 +0000 (19:21 +0200)] 
[3.13] Add `3.13` and remove `3.7` in Azure Pipelines (GH-122670) (#122671)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
15 months ago[3.13] gh-122623: Improve `c-api/bytearray.rst` with error handling info (GH-122624...
Miss Islington (bot) [Sun, 4 Aug 2024 12:09:22 +0000 (14:09 +0200)] 
[3.13] gh-122623: Improve `c-api/bytearray.rst` with error handling info (GH-122624) (#122658)

gh-122623: Improve `c-api/bytearray.rst` with error handling info (GH-122624)
(cherry picked from commit 151934a324789c58cca9c7bbd6753d735454df5a)

Co-authored-by: sobolevn <mail@sobolevn.me>
15 months ago[3.13] Doc: Grammar fix in ``library/ssl.rst``, 'Verifying certificates' (GH-122646...
Miss Islington (bot) [Sat, 3 Aug 2024 13:41:49 +0000 (15:41 +0200)] 
[3.13] Doc: Grammar fix in ``library/ssl.rst``, 'Verifying certificates' (GH-122646) (#122649)

Doc: Grammar fix in ``library/ssl.rst``, 'Verifying certificates' (GH-122646)
(cherry picked from commit 06eb9701a182b4720dfa8766cb41cc5a3728a8b9)

Co-authored-by: scottwoodall <scott.woodall@gmail.com>
15 months ago[3.13] Doc: Improve wording of ``os.path.commonpath()`` (GH-122627) (#122641)
Miss Islington (bot) [Sat, 3 Aug 2024 13:25:26 +0000 (15:25 +0200)] 
[3.13] Doc: Improve wording of ``os.path.commonpath()`` (GH-122627) (#122641)

Doc: Improve wording of ``os.path.commonpath()`` (GH-122627)
(cherry picked from commit 7a5c4103b094aaf1b65af6de65795d172cfe8fe0)

Co-authored-by: Matth-M <93771840+Matth-M@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-122445: populate only modified fields in __static_attributes__ (#122446...
Irit Katriel [Fri, 2 Aug 2024 18:26:57 +0000 (19:26 +0100)] 
[3.13] gh-122445: populate only modified fields in __static_attributes__ (#122446) (#122621)

gh-122445: populate only modified fields in __static_attributes__ (#122446)

(cherry picked from commit 498376d7a7d6f704f22a2c963130cc15c17e7a6f)

15 months ago[3.13] gh-122334: Fix crash when importing ssl after re-initialization (GH-122481...
Miss Islington (bot) [Fri, 2 Aug 2024 14:07:16 +0000 (16:07 +0200)] 
[3.13] gh-122334: Fix crash when importing ssl after re-initialization (GH-122481) (#122614)

gh-122334: Fix crash when importing ssl after re-initialization (GH-122481)

* Fix crash when importing ssl after re-initialization
(cherry picked from commit 9fc1c992d6fcea0b7558c581846eef6bdd811f6c)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
15 months ago[3.13] gh-120974: Make asyncio `swap_current_task` safe in free-threaded build (GH...
Miss Islington (bot) [Fri, 2 Aug 2024 13:58:24 +0000 (15:58 +0200)] 
[3.13] gh-120974: Make asyncio `swap_current_task` safe in free-threaded build (GH-122317) (#122612)

gh-120974: Make asyncio `swap_current_task` safe in free-threaded build (GH-122317)

* gh-120974: Make asyncio `swap_current_task` safe in free-threaded build
(cherry picked from commit b5e6fb39a246bf7ee470d58632cdf588bb9d0298)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] gh-121723: Relax constraints on queue objects for `logging.handlers.QueueHandl...
Miss Islington (bot) [Fri, 2 Aug 2024 12:07:27 +0000 (14:07 +0200)] 
[3.13] gh-121723: Relax constraints on queue objects for `logging.handlers.QueueHandler`. (GH-122154) (GH-122603)

(cherry picked from commit fb864c76cd5e450e789a7b4095832e118cc49a39)

15 months ago[3.13] Add the Python 3.13 abidump, and enable the ABI check. (#122583)
T. Wouters [Fri, 2 Aug 2024 11:18:49 +0000 (13:18 +0200)] 
[3.13] Add the Python 3.13 abidump, and enable the ABI check. (#122583)

dd the Python 3.13 abidump, and enable the ABI check.

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 months ago[3.13] gh-122544: Change OS image in readthedocs.yml to ubuntu-24.04 (GH-122568)...
Miss Islington (bot) [Fri, 2 Aug 2024 06:45:03 +0000 (08:45 +0200)] 
[3.13] gh-122544: Change OS image in readthedocs.yml to ubuntu-24.04 (GH-122568) (#122593)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
15 months ago[3.13] gh-122384: Mark strings from Download page for translation (GH-122385) (#122553)
Miss Islington (bot) [Thu, 1 Aug 2024 09:49:49 +0000 (11:49 +0200)] 
[3.13] gh-122384: Mark strings from Download page for translation (GH-122385) (#122553)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 months agoPost 3.13.0rc1
Thomas Wouters [Thu, 1 Aug 2024 09:02:31 +0000 (11:02 +0200)] 
Post 3.13.0rc1

15 months agoPython 3.13.0rc1 v3.13.0rc1
Thomas Wouters [Wed, 31 Jul 2024 18:10:21 +0000 (20:10 +0200)] 
Python 3.13.0rc1

15 months ago[3.13] Update the expected bytecode magic number in test_importlib.test_util (#122513)
T. Wouters [Wed, 31 Jul 2024 18:03:22 +0000 (20:03 +0200)] 
[3.13] Update the expected bytecode magic number in test_importlib.test_util (#122513)

Update the expected bytecode magic number in test_importlib.test_util.

15 months ago[3.13] gh-120906: Support arbitrary hashable keys in FrameLocalsProxy (GH-122309...
Petr Viktorin [Wed, 31 Jul 2024 09:31:44 +0000 (11:31 +0200)] 
[3.13] gh-120906: Support arbitrary hashable keys in FrameLocalsProxy (GH-122309) (#122488)

[3.13] gh-120906: Support arbitrary hashable keys in FrameLocalsProxy  (GH-122309)

Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
(cherry picked from commit 5912487938ac4b517209082ab9e6d2d3d0fb4f4d)

15 months ago[3.13] Move change detection to separate workflow in CI (GH-122336) (#122510)
Miss Islington (bot) [Wed, 31 Jul 2024 09:01:20 +0000 (11:01 +0200)] 
[3.13] Move change detection to separate workflow in CI (GH-122336) (#122510)

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk@sydorenko.org.ua>
15 months ago[3.13] gh-122133: Rework pure Python socketpair tests to avoid use of importlib.reloa...
Miss Islington (bot) [Wed, 31 Jul 2024 08:48:59 +0000 (10:48 +0200)] 
[3.13] gh-122133: Rework pure Python socketpair tests to avoid use of importlib.reload. (GH-122493) (#122504)

gh-122133: Rework pure Python socketpair tests to avoid use of importlib.reload. (GH-122493)

(cherry picked from commit f071f01b7b7e19d7d6b3a4b0ec62f820ecb14660)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
15 months ago[3.13] Docs: bump Sphinx to 8.0 and update constraints (GH-122496) (#122499)
Miss Islington (bot) [Wed, 31 Jul 2024 07:20:20 +0000 (09:20 +0200)] 
[3.13] Docs: bump Sphinx to 8.0 and update constraints (GH-122496) (#122499)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-116622: Fix testPyObjectPrintOSError on Android (GH-122487) (#122490)
Miss Islington (bot) [Wed, 31 Jul 2024 00:49:14 +0000 (02:49 +0200)] 
[3.13] gh-116622: Fix testPyObjectPrintOSError on Android (GH-122487) (#122490)

gh-116622: Fix testPyObjectPrintOSError on Android (GH-122487)

Adds extra handling for way BSD/Android return errors from calls to fwrite.
(cherry picked from commit 82db5728136ebec3a1d221570b810b4128a21255)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
15 months ago[3.13] GH-122482: Make About IDLE direct discussion to DPO (GH-122483) (#122485)
Miss Islington (bot) [Tue, 30 Jul 2024 22:54:01 +0000 (00:54 +0200)] 
[3.13] GH-122482: Make About IDLE direct discussion to DPO (GH-122483) (#122485)

Currently, idle-dev@python.org and idle-dev mailing list
serve to collect spam (90+%).  Change About IDLE to direct
discussions to discuss.python.org.  Users are already
doing so.
(cherry picked from commit 29c04dfa2718dd25ad8b381a1027045b312f9739)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
15 months ago[3.13] Remove outdated note about instance methods from datamodel.rst (GH-122471...
Miss Islington (bot) [Tue, 30 Jul 2024 20:00:36 +0000 (22:00 +0200)] 
[3.13] Remove outdated note about instance methods from datamodel.rst (GH-122471) (#122479)

Remove outdated note about instance methods from datamodel.rst (GH-122471)
(cherry picked from commit c68cb8e0c9bd75ded25578c2fba6469e55a06e93)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
15 months ago[3.13] gh-119896: Fix CTRL-Z behavior in the new REPL on Windows (GH-122217) (#122451)
Miss Islington (bot) [Tue, 30 Jul 2024 19:34:22 +0000 (21:34 +0200)] 
[3.13] gh-119896: Fix CTRL-Z behavior in the new REPL on Windows (GH-122217) (#122451)

gh-119896: Fix CTRL-Z behavior in the new REPL on Windows (GH-122217)
(cherry picked from commit d1a1bca1f0550a4715f1bf32b1586caa7bc4487b)

Co-authored-by: Dino Viehland <dinoviehland@meta.com>
15 months ago[3.13] gh-117657: Avoid race in `PAUSE_ADAPTIVE_COUNTER` in free-threaded build ...
Miss Islington (bot) [Tue, 30 Jul 2024 18:18:25 +0000 (20:18 +0200)] 
[3.13] gh-117657: Avoid race in `PAUSE_ADAPTIVE_COUNTER` in free-threaded build (GH-122190) (#122475)

The adaptive counter doesn't do anything currently in the free-threaded
build and TSan reports a data race due to concurrent modifications to
the counter.
(cherry picked from commit 2b163aa9e796b312bb0549d49145d26e4904768e)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] gh-116402: Avoid readline in test_builtin TTY input tests (GH-122447) (GH...
Miss Islington (bot) [Tue, 30 Jul 2024 17:21:17 +0000 (19:21 +0200)] 
[3.13] gh-116402: Avoid readline in test_builtin TTY input tests (GH-122447) (GH-122472)

(cherry picked from commit 1d8e45390733d3eb29164799ea10f8406f53e830)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
15 months ago[3.13] gh-122208: Don't delivery PyDict_EVENT_ADDED until it can't fail (#122326)
Dino Viehland [Tue, 30 Jul 2024 16:13:31 +0000 (09:13 -0700)] 
[3.13] gh-122208: Don't delivery PyDict_EVENT_ADDED until it can't fail (#122326)

Don't delivery PyDict_EVENT_ADDED until it can't fail

15 months ago[3.13] gh-121946: Temporarily switch to llvm-17 in TSan CI again (GH-122466) (GH...
Miss Islington (bot) [Tue, 30 Jul 2024 15:54:56 +0000 (17:54 +0200)] 
[3.13] gh-121946: Temporarily switch to llvm-17 in TSan CI again (GH-122466) (GH-122467)

The Ubuntu package for llvm-18 is broken
(cherry picked from commit 8fb88b22b7a932ff16002dd19e904f9cafd59e9f)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] gh-121474: Add threading.Barrier parties arg sanity check. (GH-121480) (GH...
Miss Islington (bot) [Tue, 30 Jul 2024 09:24:35 +0000 (11:24 +0200)] 
[3.13] gh-121474: Add threading.Barrier parties arg sanity check. (GH-121480) (GH-122444)

(cherry picked from commit d27a53fc02a87e76066fc4e15ff1fff3922a482d)

Co-authored-by: Clinton <pygeek@users.noreply.github.com>
15 months ago[3.13] gh-122400: Handle ValueError in filecmp (GH-122401) (GH-122441)
Miss Islington (bot) [Tue, 30 Jul 2024 09:17:35 +0000 (11:17 +0200)] 
[3.13] gh-122400: Handle ValueError in filecmp (GH-122401) (GH-122441)

(cherry picked from commit 3a9b2aae615165a40614db9aaa8b90c55ff0c7f9)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
15 months ago[3.13] gh-105733: Soft-deprecate ctypes.ARRAY, rather than hard-deprecating it. ...
Miss Islington (bot) [Tue, 30 Jul 2024 08:05:09 +0000 (10:05 +0200)] 
[3.13] gh-105733: Soft-deprecate ctypes.ARRAY, rather than hard-deprecating it. (GH-122281) (GH-122440)

gh-105733: Soft-deprecate ctypes.ARRAY, rather than hard-deprecating it. (GH-122281)

Soft-deprecate ctypes.ARRAY, rather than hard-deprecating it.

Partially reverts 2211454fe210637ed7fabda12690dac6cc9a8149
(cherry picked from commit 3833d27f985a62c4709dcd9dc73724fc19d46ebf)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
15 months ago[3.13] gh-122420: Fix accounting for immortal interned strings in refleak.py (GH...
Miss Islington (bot) [Tue, 30 Jul 2024 07:36:08 +0000 (09:36 +0200)] 
[3.13] gh-122420: Fix accounting for immortal interned strings in refleak.py (GH-122421) (GH-122430)

The `_PyUnicode_Intern*` functions already adjust the total refcount, so
we don't want to readjust it in refleak.py.
(cherry picked from commit ac8da34621a574cd5773217404757a294025ba49)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] GH-121970: Extract ``audit_events`` into a new extension (GH-122325) (#122434)
Miss Islington (bot) [Tue, 30 Jul 2024 04:08:35 +0000 (06:08 +0200)] 
[3.13] GH-121970: Extract ``audit_events`` into a new extension (GH-122325) (#122434)

15 months ago[3.13] gh-122133: Authenticate socket connection for `socket.socketpair()` fallback...
Miss Islington (bot) [Tue, 30 Jul 2024 03:40:02 +0000 (05:40 +0200)] 
[3.13] gh-122133: Authenticate socket connection for `socket.socketpair()` fallback (GH-122134) (GH-122424)

Authenticate socket connection for `socket.socketpair()` fallback when the platform does not have a native `socketpair` C API.  We authenticate in-process using `getsocketname` and `getpeername` (thanks to Nathaniel J Smith for that suggestion).

(cherry picked from commit 78df1043dbdce5c989600616f9f87b4ee72944e5)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
15 months ago[3.13] GH-116090: Fire RAISE events from _FOR_ITER_TIER_TWO (GH-122419)
Brandt Bucher [Mon, 29 Jul 2024 21:51:19 +0000 (14:51 -0700)] 
[3.13] GH-116090: Fire RAISE events from _FOR_ITER_TIER_TWO (GH-122419)

(cherry picked from commit 15d4cd096758ca089c6bd6ed808c34cca676d9bb)

15 months ago[3.13] GH-122085: Use include files for C API deprecations (GH-109843) (#122422)
Adam Turner [Mon, 29 Jul 2024 21:45:16 +0000 (22:45 +0100)] 
[3.13] GH-122085: Use include files for C API deprecations (GH-109843) (#122422)

(cherry picked from commit 76bdfa4cd02532519fb43ae91244e2b4b3650d78)

15 months ago[3.13] gh-122311: Fix a refleak in pickle (GH-122411) (GH-122415)
Miss Islington (bot) [Mon, 29 Jul 2024 19:16:15 +0000 (21:16 +0200)] 
[3.13] gh-122311: Fix a refleak in pickle (GH-122411) (GH-122415)

(cherry picked from commit 68840e91ac6689d3954b98a9ab136e194b5250b8)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months agoRevert "[3.13] gh-120713: Normalize year with century for datetime.strftime (GH-12082...
Serhiy Storchaka [Mon, 29 Jul 2024 18:55:28 +0000 (21:55 +0300)] 
Revert "[3.13] gh-120713: Normalize year with century for datetime.strftime (GH-120820) (GH-121144)" (GH-122408)

This reverts commit 009618f1125838af3c4afc772f2593637766fd45.

15 months ago[3.13] gh-117482: Fix the Slot Wrapper Inheritance Tests (gh-122249)
Eric Snow [Mon, 29 Jul 2024 16:25:02 +0000 (10:25 -0600)] 
[3.13] gh-117482: Fix the Slot Wrapper Inheritance Tests (gh-122249)

The tests were only checking cases where the slot wrapper was present in the initial case.  They were missing when the slot wrapper was added in the additional initializations.  This fixes that.

(cherry-picked from commit 490e0ad83ac72c5688dfbbab4eac61ccfd7be5fd, AKA gh-122248)

15 months ago[3.13] gh-122292: Split up ``Lib/test/test_ast.py`` into a couple of … (#122393)
Kirill Podoprigora [Mon, 29 Jul 2024 14:16:46 +0000 (17:16 +0300)] 
[3.13] gh-122292: Split up ``Lib/test/test_ast.py`` into a couple of … (#122393)

[3.13] gh-122292: Split up ``Lib/test/test_ast.py`` into a couple of files (GH-122293)
(cherry picked from commit 9187484dd97f6beb94fc17676014706922e380e1)

15 months ago[3.13] gh-122311: Fix some error messages in pickle (GH-122386) (GH-122387)
Miss Islington (bot) [Mon, 29 Jul 2024 09:27:14 +0000 (11:27 +0200)] 
[3.13] gh-122311: Fix some error messages in pickle (GH-122386) (GH-122387)

(cherry picked from commit 3b034d26eb8480f8d12ae11f42d038d24cf8498a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-122311: Add more tests for pickle (GH-122376) (GH-122377)
Miss Islington (bot) [Sun, 28 Jul 2024 08:56:49 +0000 (10:56 +0200)] 
[3.13] gh-122311: Add more tests for pickle (GH-122376) (GH-122377)

(cherry picked from commit bc93923a2dee00751e44da58b6967c63e3f5c392)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-122085: Create dedicated page for deprecations (GH-122352) (#122374)
Miss Islington (bot) [Sun, 28 Jul 2024 08:09:00 +0000 (10:09 +0200)] 
[3.13] gh-122085: Create dedicated page for deprecations (GH-122352) (#122374)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-122300: Preserve AST nodes for format specifiers with single elements ...
Pablo Galindo Salgado [Sat, 27 Jul 2024 19:27:01 +0000 (20:27 +0100)] 
[3.13] gh-122300: Preserve AST nodes for format specifiers with single elements (GH-122308) (#122364)

(cherry picked from commit db2d8b6db1b56c2bd3802b86f9b76da33e8898d7)

15 months ago[3.13] GH-121462: pathlib docs: improve table of corresponding os/os.path functions...
Miss Islington (bot) [Sat, 27 Jul 2024 17:19:09 +0000 (19:19 +0200)] 
[3.13] GH-121462: pathlib docs: improve table of corresponding os/os.path functions (GH-121465) (#122359)

Re-order table of corresponding functions with the following priorities:

1. Pure functionality is at the top
2. `os.path` functions are shown before `os` functions
3. Similar functionality is kept together
4. Functionality follows docs order where possible

Add a few missed correspondences:

- `os.path.isjunction` and `Path.is_junction`
- `os.path.ismount` and `Path.is_mount`
- `os.lstat()` and `Path.lstat()`
- `os.lchmod()` and `Path.lchmod()`

Also add footnotes describing a few differences.

(cherry picked from commit cbac8a3888411587beb026e246889154fbdd49a3)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
15 months ago[3.13] gh-122044: Don't error during gitignore filtering with no files (GH-122045...
Miss Islington (bot) [Sat, 27 Jul 2024 14:34:08 +0000 (16:34 +0200)] 
[3.13] gh-122044: Don't error during gitignore filtering with no files (GH-122045) (#122355)

Co-authored-by: Seth Michael Larson <seth@python.org>
15 months ago[3.13] gh-122085: Use include files for `whatsnew/3.14.rst` deprecations (GH-122242...
Hugo van Kemenade [Sat, 27 Jul 2024 11:42:49 +0000 (14:42 +0300)] 
[3.13] gh-122085: Use include files for `whatsnew/3.14.rst` deprecations (GH-122242) (#122350)

15 months ago[3.13] gh-122170: Handle ValueError raised by os.stat() in linecache (GH-122176)...
Miss Islington (bot) [Sat, 27 Jul 2024 10:54:49 +0000 (12:54 +0200)] 
[3.13] gh-122170: Handle ValueError raised by os.stat() in linecache (GH-122176) (GH-122348)

(cherry picked from commit 7a6d4ccf0ec16e09f0d8b21c5a0c591e5e3e45f7)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
15 months ago[3.13] gh-122291: Intern latin-1 one-byte strings at startup (GH-122303) (GH-122347)
Miss Islington (bot) [Sat, 27 Jul 2024 08:51:02 +0000 (10:51 +0200)] 
[3.13] gh-122291: Intern latin-1 one-byte strings at startup (GH-122303) (GH-122347)

(cherry picked from commit bb09ba679223666e01f8da780f97888a29d07131)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
15 months ago[3.13] gh-122332: Fix missing `NULL` check in `asyncio.Task.get_coro` (GH-122338...
Miss Islington (bot) [Sat, 27 Jul 2024 07:06:50 +0000 (09:06 +0200)] 
[3.13] gh-122332: Fix missing `NULL` check in `asyncio.Task.get_coro` (GH-122338) (#122344)

gh-122332: Fix missing `NULL` check in `asyncio.Task.get_coro` (GH-122338)
(cherry picked from commit c08696286f52d286674f264eecf7b33a335a890b)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
15 months ago[3.13] gh-121832: Revert test skip introduced by GH-122150. (GH-122340) (#122342)
Russell Keith-Magee [Sat, 27 Jul 2024 03:00:42 +0000 (13:00 +1000)] 
[3.13] gh-121832: Revert test skip introduced by GH-122150. (GH-122340) (#122342)

Revert test skip introduced by GH-122150.
(cherry picked from commit 863a92f2bc708b9e3dfa9828bb8155b8d371e09c)

15 months ago[3.13] gh-120831: Correct default minimum iOS version. (GH-122339) (#122341)
Miss Islington (bot) [Sat, 27 Jul 2024 02:18:34 +0000 (04:18 +0200)] 
[3.13] gh-120831: Correct default minimum iOS version. (GH-122339) (#122341)

gh-120831: Correct default minimum iOS version. (GH-122339)

Correct default minimum iOS version.
(cherry picked from commit 4a2607c1807982a107445b5a35240f587a61eb0d)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
15 months ago[3.13] Document ``mimetypes.MimeTypes.add_type()`` (GH-122301) (#122328)
Miss Islington (bot) [Fri, 26 Jul 2024 22:20:01 +0000 (00:20 +0200)] 
[3.13] Document ``mimetypes.MimeTypes.add_type()`` (GH-122301) (#122328)

Document ``mimetypes.MimeTypes.add_type()`` (GH-122301)
(cherry picked from commit d52726ccd456833ea9f09cabb4b8aef09755e472)

Co-authored-by: Subrahmanya Gaonkar <148525245+negativenagesh@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-122201: Lock mutex when setting handling_thread to NULL (GH-122204) (#122319)
Miss Islington (bot) [Fri, 26 Jul 2024 17:30:08 +0000 (19:30 +0200)] 
[3.13] gh-122201: Lock mutex when setting handling_thread to NULL (GH-122204) (#122319)

In the free-threaded build, we need to lock pending->mutex when clearing
the handling_thread in order not to race with a concurrent
make_pending_calls in the same interpreter.
(cherry picked from commit c557ae97d6bd9d04164a19b4fe136610e54dbdd8)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] gh-122311: Fix typo in the pickle error formatting code (GH-122312) (GH-122314)
Miss Islington (bot) [Fri, 26 Jul 2024 15:13:59 +0000 (17:13 +0200)] 
[3.13] gh-122311: Fix typo in the pickle error formatting code (GH-122312) (GH-122314)

(cherry picked from commit 7c2921844f9fa713f93152bf3a569812cee347a0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] GH-122155: Fix cases generator to correctly compute 'peek' offset for error...
Mark Shannon [Fri, 26 Jul 2024 09:51:42 +0000 (10:51 +0100)] 
[3.13] GH-122155: Fix cases generator to correctly compute 'peek' offset for error handling (GH-122158) (GH-122174)

15 months ago[3.13] Move macOS matrix to the calling workflow (GH-121809) (#122297)
Miss Islington (bot) [Thu, 25 Jul 2024 20:56:11 +0000 (22:56 +0200)] 
[3.13] Move macOS matrix to the calling workflow (GH-121809) (#122297)

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 months ago[3.13] GH-121832: Assert that the version number of static builtin types is not chang...
Miss Islington (bot) [Thu, 25 Jul 2024 17:34:01 +0000 (19:34 +0200)] 
[3.13] GH-121832: Assert that the version number of static builtin types is not changed by PyType_Modified (gh-122290)

Update datetime module and test_type_cache.py to not call PyType_Modified.

(cherry picked from commit e55b05f29ee62cd92b6b9990fd699b78f19432ba, AKA gh--122182)

Co-authored-by: Mark Shannon <mark@hotpy.org>
15 months ago[3.13] gh-121489: Export private _PyBytes_Join() again (GH-122267) (#122287)
Miss Islington (bot) [Thu, 25 Jul 2024 16:06:31 +0000 (18:06 +0200)] 
[3.13] gh-121489: Export private _PyBytes_Join() again (GH-122267) (#122287)

gh-121489: Export private _PyBytes_Join() again (GH-122267)
(cherry picked from commit aef95eb107fef9355c66461612aedd31265f8c21)

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
15 months ago[3.13] gh-116322: Fix typo in the GH-ifdef check (GH-122268) (#122284)
Miss Islington (bot) [Thu, 25 Jul 2024 14:58:34 +0000 (16:58 +0200)] 
[3.13] gh-116322: Fix typo in the GH-ifdef check (GH-122268) (#122284)

gh-116322: Fix typo in the GH-ifdef check (GH-122268)
(cherry picked from commit 9bb2e4623f504c44655436eae181d802f544fff9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-121913: Use str(exc) instead of exc.strerror in `asyncio.base_events` ...
Miss Islington (bot) [Thu, 25 Jul 2024 12:20:40 +0000 (14:20 +0200)] 
[3.13] gh-121913: Use str(exc) instead of exc.strerror in `asyncio.base_events` (GH-122269) (#122278)

gh-121913: Use str(exc) instead of exc.strerror in `asyncio.base_events` (GH-122269)
(cherry picked from commit 070f1e2e5b9b31ee3e7a1af2e30d7e3a66040b17)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
15 months ago[3.13] gh-122270: Fix typos in the Py_DEBUG macro name (GH-122271) (GH-122275)
Miss Islington (bot) [Thu, 25 Jul 2024 11:29:22 +0000 (13:29 +0200)] 
[3.13] gh-122270: Fix typos in the Py_DEBUG macro name (GH-122271) (GH-122275)

(cherry picked from commit 6c09b8de5c67406113e8d082e05c9587e35a852a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-82951: Fix serializing by name in pickle protocols < 4 (GH-122149) (GH...
Miss Islington (bot) [Thu, 25 Jul 2024 10:44:55 +0000 (12:44 +0200)] 
[3.13] gh-82951: Fix serializing by name in pickle protocols < 4 (GH-122149) (GH-122264)

Serializing objects with complex __qualname__ (such as unbound methods and
nested classes) by name no longer involves serializing parent objects by value
in pickle protocols < 4.
(cherry picked from commit dc07f65a53baf60d9857186294d3d7ba92d5606d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-122187: Avoid TSan reported race in `run_udp_echo_server` (GH-122189) ...
Miss Islington (bot) [Thu, 25 Jul 2024 08:42:38 +0000 (10:42 +0200)] 
[3.13] gh-122187: Avoid TSan reported race in `run_udp_echo_server` (GH-122189) (#122263)

gh-122187: Avoid TSan reported race in `run_udp_echo_server` (GH-122189)

TSan doesn't fully recognize the synchronization via I/O, so ensure that
socket name is retrieved earlier and use a different socket for sending
the "STOP" message.
(cherry picked from commit 2f74b709b637cad7a9c18a2d90b0747823f2ff51)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] gh-113785: csv: fields starting with escapechar are not quoted (GH-122110...
Miss Islington (bot) [Thu, 25 Jul 2024 07:29:36 +0000 (09:29 +0200)] 
[3.13] gh-113785: csv: fields starting with escapechar are not quoted (GH-122110) (GH-122258)

(cherry picked from commit a3327dbfd4db9e5ad1ca514963d503abbbbfede7)

Co-authored-by: Mikołaj Kuranowski <mkuranowski@gmail.com>
15 months ago[3.13] gh-122191: Fix test_warnings failure if run with -Werror (GH-122222) (GH-122256)
Miss Islington (bot) [Thu, 25 Jul 2024 07:28:33 +0000 (09:28 +0200)] 
[3.13] gh-122191: Fix test_warnings failure if run with -Werror (GH-122222) (GH-122256)

__spec__.loader is now required in the module globals (see gh-86298).
(cherry picked from commit 9b4fe9b718f27352ba0c1cf1184f5b90d77d7df4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-122087: Restore ismethoddescriptor() and isroutine() for partial objects...
Serhiy Storchaka [Thu, 25 Jul 2024 07:11:47 +0000 (10:11 +0300)] 
[3.13] gh-122087: Restore ismethoddescriptor() and isroutine() for partial objects (GH-122218)

Now they return False again.

15 months ago[3.13] gh-117482: Simplify the Fix For Builtin Types Slot Wrappers (gh-121932)
Eric Snow [Wed, 24 Jul 2024 18:02:36 +0000 (12:02 -0600)] 
[3.13] gh-117482: Simplify the Fix For Builtin Types Slot Wrappers (gh-121932)

In gh-121602, I applied a fix to a builtin types initialization bug.
That fix made sense in the context of some broader future changes,
but introduced a little bit of extra complexity.  For earlier versions
those future changes are not relevant; we can avoid the extra complexity.
Thus we can revert that earlier change and replace it with this one,
which is more focused and conceptually simpler.  This is essentially
the implementation of an idea that @markshannon pointed out to me.

Note that this change would be much smaller if we didn't have to deal
with repr compatibility for builtin types that explicitly inherit tp slots
(see expect_manually_inherited()).  The alternative is to stop
*explicitly* inheriting tp slots in static PyTypeObject values,
which is churn that we can do separately.

15 months ago[3.13] Integrate `build_msi` into main CI workflow (GH-121778) (#122226)
Miss Islington (bot) [Wed, 24 Jul 2024 10:57:41 +0000 (12:57 +0200)] 
[3.13] Integrate `build_msi` into main CI workflow (GH-121778) (#122226)

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>