]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
5 months ago[3.14] gh-134309: Add ``github.actor`` to the GitHub Actions concurrency key (GH...
Miss Islington (bot) [Thu, 22 May 2025 04:15:06 +0000 (06:15 +0200)] 
[3.14] gh-134309: Add ``github.actor`` to the GitHub Actions concurrency key (GH-134310) (#134484)

gh-134309: Add ``github.actor`` to the GitHub Actions concurrency key (GH-134310)

When inexperienced users create a PR from their default branch, all of the concurrency keys
collide as there is no namespacing. This becomes an issue at events with many new contributors,
where workflow runs are cancelled on other pull requests.
Disambiguate by adding the username of the relevant 'actor' to the concurrency key.
(cherry picked from commit 979d81a17905e922d32fb1671f9ed394e0ffbda6)

Authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Kira <coldcaption@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Sviatoslav Sydorenko <sviat@redhat.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
5 months ago[3.14] gh-134062: Fix hash collisions in IPv4Network and IPv6Network (GH-134063)...
Miss Islington (bot) [Thu, 22 May 2025 03:14:10 +0000 (05:14 +0200)] 
[3.14] gh-134062: Fix hash collisions in IPv4Network and IPv6Network (GH-134063) (#134476)

gh-134062: Fix hash collisions in IPv4Network and IPv6Network (GH-134063)
(cherry picked from commit f3fc0c16e08b317cb201cf1073e934e6909f1251)

gh-134062: Fix hash collisions in IPv4Network and IPv6Network
gh-134062: Add hash collision regression test

Co-authored-by: Mike Salvatore <mike.s.salvatore@gmail.com>
5 months ago[3.14] gh-127960 Fix the REPL to set the correct namespace by setting the correct...
Miss Islington (bot) [Thu, 22 May 2025 01:33:35 +0000 (03:33 +0200)] 
[3.14] gh-127960 Fix the REPL to set the correct namespace by setting the correct `__main__` module (gh-134275) (gh-134473)

The `__main__` module imported in the `_pyrepl` module points to the `_pyrepl` module itself when the interpreter was launched without `-m` option and didn't execute a module,
while it's an unexpected behavior that `__main__` can be `_pyrepl` and relative imports such as `from . import *` works based on the `_pyrepl` module.
(cherry picked from commit b1b8962443e7d418601658a4b05347a5a9161910)

Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
5 months ago[3.14] gh-132775: Use _PyFunction_VerifyStateless() and _PyCode_VerifyStateless(...
Miss Islington (bot) [Wed, 21 May 2025 20:43:29 +0000 (22:43 +0200)] 
[3.14] gh-132775: Use _PyFunction_VerifyStateless() and _PyCode_VerifyStateless() (gh-134465)

(cherry picked from commit a66bae8bb, AKA gh-134439)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
5 months ago[3.14] gh-132983: Fix refleak in zstd dictionary functions (gh-134463)
Miss Islington (bot) [Wed, 21 May 2025 19:35:31 +0000 (21:35 +0200)] 
[3.14] gh-132983: Fix refleak in zstd dictionary functions (gh-134463)

(cherry picked from commit fb68776591485, AKA gh-134459)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
5 months ago[3.14] gh-132124: improve safety nets for creating AF_UNIX socket files (GH-134085...
Miss Islington (bot) [Wed, 21 May 2025 17:36:32 +0000 (19:36 +0200)] 
[3.14] gh-132124: improve safety nets for creating AF_UNIX socket files (GH-134085) (#134447)

gh-132124: improve safety nets for creating AF_UNIX socket files (GH-134085)

* ensure that we can create AF_UNIX socket files
* emit a warning if system-wide temporary directory is used
(cherry picked from commit 1a07a01014bde23acd2684916ef38dc0cd73c2de)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
5 months ago[3.14] gh-80050: Update BufferedReader.read docs around non-blocking (GH-130653)...
Miss Islington (bot) [Wed, 21 May 2025 16:50:02 +0000 (18:50 +0200)] 
[3.14] gh-80050: Update BufferedReader.read docs around non-blocking (GH-130653) (#134444)

gh-80050: Update BufferedReader.read docs around non-blocking (GH-130653)
(cherry picked from commit e1f891414b2329414a6160ed246f5f869a218bfd)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
5 months ago[3.14] gh-134026: Fix grammar description of for statement (GH-134034) (GH-134424)
Miss Islington (bot) [Wed, 21 May 2025 16:43:07 +0000 (18:43 +0200)] 
[3.14] gh-134026: Fix grammar description of for statement (GH-134034) (GH-134424)

gh-134026: Fix grammar description of for statement (GH-134034)
(cherry picked from commit 4eacf3883dd041c31133ea407204b797a17559b1)

Co-authored-by: Yash Vijay <yash_vijay@outlook.com>
5 months ago[3.14] gh-132983: Refactor shared code in train_dict and finalize_dict (GH-134432...
Miss Islington (bot) [Wed, 21 May 2025 16:19:25 +0000 (18:19 +0200)] 
[3.14] gh-132983: Refactor shared code in train_dict and finalize_dict (GH-134432) (#134442)

gh-132983: Refactor shared code in train_dict and finalize_dict (GH-134432)

Refactor shared code in train_dict and finalize_dict
(cherry picked from commit c64a21454b3c139af9e88941a286885fc4828a7e)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
5 months ago[3.14] gh-62184: Remove _pyio import of _io.FileIO (gh-134192) (gh-134437)
Miss Islington (bot) [Wed, 21 May 2025 15:57:58 +0000 (17:57 +0200)] 
[3.14] gh-62184: Remove _pyio import of _io.FileIO (gh-134192) (gh-134437)

This was added in the add of `_io`, isn't used since bpo-21859 when a
`_pyio` implementation was added which defines `FileIO` lower down in
the file.
(cherry picked from commit 0a68068bd2a5bff98998067a141b17af5be9b750)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
5 months ago[3.14] gh-133982: Run unclosed file test on all io implementations (gh-134165) (gh...
Miss Islington (bot) [Wed, 21 May 2025 15:22:44 +0000 (17:22 +0200)] 
[3.14] gh-133982: Run unclosed file test on all io implementations (gh-134165) (gh-134433)

Update `test_io` `_check_warn_on_dealloc` to use `self.` to dispatch to
different I/O implementations.

Update the `_pyio` implementation to match expected behavior, using the
same `_dealloc_warn` design as the C implementation uses to report the
topmost `__del__` object.

The FileIO one now matches all the others, so can use IOBase. There was
a missing check on closing (self._fd must be valid), add that check
(cherry picked from commit 5b0e82752120a5dc66ce6ee778751d71ba2c33b2)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
5 months ago[3.14] gh-71253: Match _io exception in _pyio (gh-133985) (gh-134430)
Miss Islington (bot) [Wed, 21 May 2025 15:13:43 +0000 (17:13 +0200)] 
[3.14] gh-71253: Match _io exception in _pyio (gh-133985) (gh-134430)

Test was only testing _io, expanded to cover _pyio.

(cherry picked from commit 06eaf4055c1d7359e129efb65b94f34d2ec51a57)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
5 months ago[3.14] gh-133982: Update test_bufio to use self.open (gh-133983) (gh-134428)
Miss Islington (bot) [Wed, 21 May 2025 15:13:13 +0000 (17:13 +0200)] 
[3.14] gh-133982: Update test_bufio to use self.open (gh-133983) (gh-134428)

(cherry picked from commit 84d5f8d799dbbf86248375b6edbbcf4a022788c4)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
5 months ago[3.14] gh-132775: Support Fallbacks in _PyObject_GetXIData() (gh-134418)
Miss Islington (bot) [Wed, 21 May 2025 14:47:56 +0000 (16:47 +0200)] 
[3.14] gh-132775: Support Fallbacks in _PyObject_GetXIData() (gh-134418)

It now supports a "full" fallback to _PyFunction_GetXIData() and then `_PyPickle_GetXIData()`.
There's also room for other fallback modes if that later makes sense.

(cherry picked from commit 88f8102a8f, AKA gh-133482)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
5 months ago[3.14] gh-132246: Add special buffer methods to C API Type Object docs (gh-132247...
Miss Islington (bot) [Wed, 21 May 2025 14:33:35 +0000 (16:33 +0200)] 
[3.14] gh-132246: Add special buffer methods to C API Type Object docs (gh-132247) (gh-134426)

Two special methods, __buffer__ and __release_buffer__ were added to
Python 3.12 by PEP 688. The C API Type Object documentation for slots
includes `tp_as_buffer`, and sub-slots `bf_getbuffer`, `bf_releasebuffer`
but does not refer to the Python Data Model version of those. Add the
missing references.

(cherry picked from commit b529b60fc239d19245e5fafd0514d90097c2eb40)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
5 months ago[3.14] gh-90871: fix connection backlog offset in asyncio (gh-134392) (gh-134421)
Miss Islington (bot) [Wed, 21 May 2025 14:27:13 +0000 (16:27 +0200)] 
[3.14] gh-90871: fix connection backlog offset in asyncio (gh-134392) (gh-134421)

(cherry picked from commit 109f7597d29f0b504e9b42cb398b44177157abaa)

Co-authored-by: Christian Harries <68507104+ChristianHrs@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
5 months ago[3.14] gh-132983: Add documentation for compression.zstd (GH-133911) (#134425)
Miss Islington (bot) [Wed, 21 May 2025 14:24:23 +0000 (16:24 +0200)] 
[3.14] gh-132983: Add documentation for compression.zstd (GH-133911) (#134425)

gh-132983: Add documentation for compression.zstd (GH-133911)

Add documentation for compression & compression.zstd.

🎉

---------
(cherry picked from commit d862b6de1bcff01229318d7138ddaab755723a43)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Sumana Harihareswara <sh@changeset.nyc>
Co-authored-by: Martin Panter <vadmium@users.noreply.github.com>
5 months ago[3.14] gh-110631: Fix some incorrect indents in the documentation (GH-129312) (#134419)
Miss Islington (bot) [Wed, 21 May 2025 13:58:09 +0000 (15:58 +0200)] 
[3.14] gh-110631: Fix some incorrect indents in the documentation (GH-129312) (#134419)

Co-authored-by: Yuki Kobayashi <drsuaimqjgar@gmail.com>
5 months ago[3.14] Fix signature of `_curses.assume_default_colors` in the docs (GH-134409) ...
Miss Islington (bot) [Wed, 21 May 2025 13:08:20 +0000 (15:08 +0200)] 
[3.14] Fix signature of `_curses.assume_default_colors` in the docs (GH-134409) (#134417)

Fix signature of `_curses.assume_default_colors` in the docs (GH-134409)
(cherry picked from commit dcfc91e4e552e74a43f5fdf049af7a8fe7a784ee)

Co-authored-by: sobolevn <mail@sobolevn.me>
5 months ago[3.14] gh-132542: Only run test_native_id_after_fork if native_id is supported (GH...
Miss Islington (bot) [Wed, 21 May 2025 11:38:37 +0000 (13:38 +0200)] 
[3.14] gh-132542: Only run test_native_id_after_fork if native_id is supported (GH-134408) (GH-134413)

(cherry picked from commit e6dde10a69ce62c3b02b3b4e07559d06a9451fc2)

Co-authored-by: Noam Cohen <noam@noam.me>
5 months ago[3.14] gh-133980: use atomic store in `PyObject_GenericSetDict` (GH-133988) (#134354)
Miss Islington (bot) [Wed, 21 May 2025 09:36:39 +0000 (11:36 +0200)] 
[3.14] gh-133980: use atomic store in `PyObject_GenericSetDict` (GH-133988) (#134354)

gh-133980: use atomic store in `PyObject_GenericSetDict` (GH-133988)
(cherry picked from commit ec39fd2c20323ee9814a1137b1a0819e92efae4e)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
5 months ago[3.14] Add documentation for remote debugging with pdb (GH-134260) (#134398)
Miss Islington (bot) [Wed, 21 May 2025 09:29:42 +0000 (11:29 +0200)] 
[3.14] Add documentation for remote debugging with pdb (GH-134260) (#134398)

5 months ago[3.14] gh-134360 Add processName attribute to `logging.Formatter` docstring (GH-13437...
Miss Islington (bot) [Wed, 21 May 2025 05:16:56 +0000 (07:16 +0200)] 
[3.14] gh-134360 Add processName attribute to `logging.Formatter` docstring (GH-134371) (GH-134405)

Co-authored-by: Sofia Toro <sofie.torch@outlook.com>
5 months ago[3.14] gh-72680: Fix false positives when using zipfile.is_zipfile() (GH-134250)...
Miss Islington (bot) [Wed, 21 May 2025 01:58:48 +0000 (03:58 +0200)] 
[3.14] gh-72680: Fix false positives when using zipfile.is_zipfile() (GH-134250) (#134401)

gh-72680: Fix false positives when using zipfile.is_zipfile() (GH-134250)

bpo-28494: Improve zipfile.is_zipfile reliability

The zipfile.is_zipfile function would only search for the EndOfZipfile
section header. This failed to correctly identify non-zipfiles that
contained this header. Now the zipfile.is_zipfile function verifies
the first central directory entry.

Changes:
* Extended zipfile.is_zipfile to verify zipfile catalog
* Added tests to validate failure of binary non-zipfiles
* Reuse 'concat' handling for is_zipfile
(cherry picked from commit 1298511b41ec0f9be925c12f3830e94fe8f7e7dc)

Co-authored-by: Tim Hatch <timhatch@netflix.com>
Co-authored-by: John Jolly <john.jolly@gmail.com>
5 months ago[3.14] gh-91048: Fix error path result in _remote_debugging_module (GH-134347) (...
Miss Islington (bot) [Wed, 21 May 2025 00:20:53 +0000 (02:20 +0200)] 
[3.14] gh-91048: Fix error path result in _remote_debugging_module (GH-134347) (#134399)

5 months agoGH-130727: Avoid race condition in _wmimodule by copying shared data (GH-134313)
Miss Islington (bot) [Tue, 20 May 2025 21:47:12 +0000 (23:47 +0200)] 
GH-130727: Avoid race condition in _wmimodule by copying shared data (GH-134313)

(cherry picked from commit e4fbfb12889013fd52565cd2598a366754cb677b)

Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
5 months ago[3.14] gh-134215: PyREPL: Do not show underscored modules by default during autocompl...
Miss Islington (bot) [Tue, 20 May 2025 21:12:02 +0000 (23:12 +0200)] 
[3.14] gh-134215: PyREPL: Do not show underscored modules by default during autocompletion (gh-134267) (gh-134388)

(cherry picked from commit a3a3cf6d157948ed64ae837d6310b933a39a2493)

Co-authored-by: Kevin Hernández <kevin.hernandez@unet.edu.ve>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
5 months ago[3.14] gh-134209: use heap-allocated memory in `_curses.window.{instr,getstr}` (GH...
Miss Islington (bot) [Tue, 20 May 2025 21:01:45 +0000 (23:01 +0200)] 
[3.14] gh-134209: use heap-allocated memory in `_curses.window.{instr,getstr}` (GH-134283) (#134391)

gh-134209: use heap-allocated memory in `_curses.window.{instr,getstr}` (GH-134283)

* made curses buffer heap allocated instead of stack
* change docs to explicitly mention the max buffer size
* changing GetStr() function to behave similarly too
* Update Doc/library/curses.rst
* Update instr with proper return error handling
* Update Modules/_cursesmodule.c
* change to strlen and better memory safety
* change from const int to Py_ssize_t
* add mem allocation guard
* update versionchanged to mention it was an increase.
* explicitly use versionchanged 3.14 as that is its own branch now.

TESTED: `python -m test -u curses test_curses`

---------
(cherry picked from commit aadda87b3d3d99cb9e8c8791bb9715a3f0209195)

Co-authored-by: tigerding <43339228+zydtiger@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
5 months ago[3.14] gh-128066: Properly handle history file writes for RO fs on PyREPL (gh-134380...
Miss Islington (bot) [Tue, 20 May 2025 20:15:23 +0000 (22:15 +0200)] 
[3.14] gh-128066: Properly handle history file writes for RO fs on PyREPL (gh-134380) (gh-134385)

(cherry picked from commit c91ad5da9d92eac4718e4da8d53689c3cc24535e)

Co-authored-by: Chris Patti <feoh@feoh.org>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
5 months ago[3.14] gh-85045: clarified that the underlying buffer of a TextIOBase can be a RawIOB...
Miss Islington (bot) [Tue, 20 May 2025 19:28:03 +0000 (21:28 +0200)] 
[3.14] gh-85045: clarified that the underlying buffer of a TextIOBase can be a RawIOBase (GH-134372) (#134374)

gh-85045: clarified that the underlying buffer of a TextIOBase can be a RawIOBase (GH-134372)

Added a clarification that the underlying binary buffer of a TextIOBase can be a BufferedIOBase OR a RawIOBase
(cherry picked from commit 36eb711d2f26849214774a017fe8c8a5be3eec30)

Co-authored-by: Alex Kautz <alex@takemobi.com>
5 months ago[3.14] gh-127146: xfail more Emscripten stack overflows (GH-134358) (#134382)
Miss Islington (bot) [Tue, 20 May 2025 19:07:08 +0000 (21:07 +0200)] 
[3.14] gh-127146: xfail more Emscripten stack overflows (GH-134358) (#134382)

Adds some additional test xfails for Emscripten stack overflows. Also corrects a test skip for test_io.
(cherry picked from commit 91e6a58e2d6fd23e886135457e28dfa980ec49ed)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
5 months ago[3.14] gh-131357: Add tests for zero-sized bytes objects in test_bytes.py (GH-134234...
Miss Islington (bot) [Tue, 20 May 2025 18:59:00 +0000 (20:59 +0200)] 
[3.14] gh-131357: Add tests for zero-sized bytes objects in test_bytes.py (GH-134234) (#134378)

gh-131357: Add tests for zero-sized bytes objects in test_bytes.py (GH-134234)
(cherry picked from commit 306f9e04e50c80f7be2a38fc3b64accf59f5164c)

Co-authored-by: abstractedfox <coldcaption@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
5 months ago[3.14] gh-106213: Shorten Emscripten wasm-gc trampoline by a little (GH-133984) ...
Miss Islington (bot) [Tue, 20 May 2025 18:49:29 +0000 (20:49 +0200)] 
[3.14] gh-106213: Shorten Emscripten wasm-gc trampoline by a little (GH-133984) (#134376)

Using the if instruction results in slightly shorter trampoline code.
(cherry picked from commit 3b7888bf3d43b903f0a7ebd16f39d8bb61dfbb9e)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
5 months ago[3.14] gh-86802: Fix asyncio memory leak; shielded task exceptions log once through...
Miss Islington (bot) [Tue, 20 May 2025 17:43:09 +0000 (19:43 +0200)] 
[3.14] gh-86802: Fix asyncio memory leak; shielded task exceptions log once through the exception handler (gh-134331) (gh-134343)

(cherry picked from commit f695eca60cfc53cf3322323082652037d6d0cfef)

Co-authored-by: Christian Harries <68507104+ChristianHrs@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
5 months ago[3.14] GH-133779: Fix finding pyconfig.h on Windows JIT builds (GH-134359)
Miss Islington (bot) [Tue, 20 May 2025 17:22:24 +0000 (19:22 +0200)] 
[3.14] GH-133779: Fix finding pyconfig.h on Windows JIT builds (GH-134359)

(cherry picked from commit 7ad90463df16e1938a3b6725b0f02af34cea372e)

5 months ago[3.14] gh-75459: Doc: C API: Improve object life cycle documentation (GH-125962)...
Miss Islington (bot) [Tue, 20 May 2025 17:11:01 +0000 (19:11 +0200)] 
[3.14] gh-75459: Doc: C API: Improve object life cycle documentation (GH-125962) (GH-134344)

gh-75459: Doc: C API: Improve object life cycle documentation (GH-125962)

  * Add "cyclic isolate" to the glossary.
  * Add a new "Object Life Cycle" page.
  * Improve docs for related API, with special focus on cross-references and warnings
(cherry picked from commit 3246ea514d6da6ff09f411e22b3ba61a7de84a74)

Co-authored-by: Richard Hansen <rhansen@rhansen.org>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
5 months ago[3.14] gh-127945: Update What's New in Python 3.14 for free-threaded ctypes (GH-13433...
Miss Islington (bot) [Tue, 20 May 2025 17:02:55 +0000 (19:02 +0200)] 
[3.14] gh-127945: Update What's New in Python 3.14 for free-threaded ctypes (GH-134332) (#134364)

gh-127945: Update What's New in Python 3.14 for free-threaded ctypes (GH-134332)
(cherry picked from commit b430e92dd80105e97b945a78a48bce13564bf843)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
5 months ago[3.14] gh-128002: add what's new docs for `asyncio` (GH-134324) (#134362)
Miss Islington (bot) [Tue, 20 May 2025 16:47:42 +0000 (18:47 +0200)] 
[3.14] gh-128002: add what's new docs for `asyncio` (GH-134324) (#134362)

gh-128002: add what's new docs for `asyncio` (GH-134324)
(cherry picked from commit 0584533dc70b4efdb65fd53fbb5beddbc7a302a8)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
5 months ago[3.14] gh-132542: Set native thread ID after fork (GH-132701) (GH-134356)
Miss Islington (bot) [Tue, 20 May 2025 16:46:52 +0000 (18:46 +0200)] 
[3.14] gh-132542: Set native thread ID after fork (GH-132701) (GH-134356)

(cherry picked from commit 6b735023132a4ac9dc5b849d982104eeb1e8bdad)

Co-authored-by: Noam Cohen <noam@noam.me>
5 months ago[3.14] gh-129748: Update mimalloc to use atomic store for mi_block_set_nextx (GH...
Miss Islington (bot) [Tue, 20 May 2025 16:25:04 +0000 (18:25 +0200)] 
[3.14] gh-129748: Update mimalloc to use atomic store for mi_block_set_nextx (GH-134238) (gh-134352)

gh-129748: Update mimalloc to use atomic store for mi_block_set_nextx (GH-134238)
(cherry picked from commit 317c49622397222b7c7fb49837e6b1fd7e82a80d)

Co-authored-by: Donghee Na <donghee.na@python.org>
5 months ago[3.14] gh-101100: Fix Sphinx warnings in `library/decimal.rst` (GH-134303) (#134338)
Miss Islington (bot) [Tue, 20 May 2025 14:52:11 +0000 (16:52 +0200)] 
[3.14] gh-101100: Fix Sphinx warnings in `library/decimal.rst` (GH-134303) (#134338)

Co-authored-by: Yuki Kobayashi <drsuaimqjgar@gmail.com>
5 months ago[3.14] gh-128307: Update what's new in 3.13 and 3.14 with create_task changes of...
Miss Islington (bot) [Tue, 20 May 2025 14:15:18 +0000 (16:15 +0200)] 
[3.14] gh-128307: Update what's new in 3.13 and 3.14 with create_task changes of asyncio  (GH-134304) (#134319)

gh-128307: Update what's new in 3.13 and 3.14 with create_task changes of asyncio  (GH-134304)
(cherry picked from commit 28625d4f956f8d30671aba1daaac9735932983db)

Co-authored-by: Guido van Rossum <guido@python.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
5 months ago[3.14] gh-62824: Add alias for iso-8859-8-i which is the same as iso-8859-8 (gh...
Miss Islington (bot) [Tue, 20 May 2025 14:05:16 +0000 (16:05 +0200)] 
[3.14] gh-62824:  Add alias for iso-8859-8-i which is the same as iso-8859-8 (gh-134306) (gh-134330)

(cherry picked from commit 5ab66a882d1b5e44ec50b25df116ab209d65863f)

Co-authored-by: Bas Bloemsaat <bas@bloemsaat.com>
Co-authored-by: David Goncalves <davegoncalves@gmail.com>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
5 months ago[3.14] gh-117596: Add more tests for os.path with invalid paths (GH-134189) (GH-134265)
Miss Islington (bot) [Tue, 20 May 2025 12:55:21 +0000 (14:55 +0200)] 
[3.14] gh-117596: Add more tests for os.path with invalid paths (GH-134189) (GH-134265)

(cherry picked from commit 871d26987533e81ab63af067e1fc96aa37a26bf7)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
5 months ago[3.14] gh-53189: Document peculiarities of InteractiveConsole in relation to pickle...
Miss Islington (bot) [Tue, 20 May 2025 12:15:34 +0000 (14:15 +0200)] 
[3.14] gh-53189: Document peculiarities of InteractiveConsole in relation to pickle (GH-123069) (GH-134328)

gh-53189: Document peculiarities of InteractiveConsole in relation to pickle (GH-123069)

(cherry picked from commit a31bbc951a9d74cd7b9092555c101e51a2b9482b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
5 months ago[3.14] gh-133890: Handle UnicodeEncodeError in tarfile (GH-134147) (GH-134195)
Miss Islington (bot) [Tue, 20 May 2025 10:13:40 +0000 (12:13 +0200)] 
[3.14] gh-133890: Handle UnicodeEncodeError in tarfile (GH-134147) (GH-134195)

UnicodeEncodeError is now handled the same way as OSError during
TarFile member extraction.
(cherry picked from commit 9983c7d4416cac8deb2fded1ec9c7daf786c3a02)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
5 months ago[3.14] gh-133940: test_strftime incorrectly calculates expected week (GH-134281)...
Miss Islington (bot) [Tue, 20 May 2025 10:11:39 +0000 (12:11 +0200)] 
[3.14] gh-133940: test_strftime incorrectly calculates expected week (GH-134281) (#134301)

gh-133940: test_strftime incorrectly calculates expected week (GH-134281)

Let the system determine the correct tm_wday and tm_isdst.
(cherry picked from commit e3dda8f81832008adf19906004f0cd53de95dd0b)

Co-authored-by: Gustaf <79180496+GGyll@users.noreply.github.com>
5 months ago[3.14] gh-131505: Move len boundary assertions before using len. (GH-131536) (GH...
Miss Islington (bot) [Tue, 20 May 2025 09:57:39 +0000 (11:57 +0200)] 
[3.14] gh-131505: Move len boundary assertions before using len. (GH-131536) (GH-134239)

gh-131505: Move len boundary assertions before using len. (GH-131536)

Move len boundary assertions before using len.
(cherry picked from commit c45e661226558e997e265cf53ce1419213cc10b7)

Co-authored-by: naya451 <41294408+naya451@users.noreply.github.com>
5 months ago[3.14] Clean up test_posixpath (GH-134315) (GH-134316)
Miss Islington (bot) [Tue, 20 May 2025 08:18:13 +0000 (10:18 +0200)] 
[3.14] Clean up test_posixpath (GH-134315) (GH-134316)

* Ensure that created files and dirs are always removed after test.
  Now addCleanup() does not conflict with tearDown().
* Use os_helper.unlink() and os_helper.rmdir().
* Import TESTFN from os_helper.
(cherry picked from commit e29171bf8a26b5faf97222e07a7d5f33c9eb272b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
5 months ago[3.14] gh-133374: fix test_python_legacy_windows_stdio (GH-134080) (GH-134314)
Miss Islington (bot) [Tue, 20 May 2025 06:53:44 +0000 (08:53 +0200)] 
[3.14] gh-133374: fix test_python_legacy_windows_stdio (GH-134080) (GH-134314)

(cherry picked from commit 652d6938ef8c42c1c4c180c3f0e257c26c6677da)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
5 months ago[3.14] gh-132983: Call Py_XDECREF rather than PyObject_GC_Del in failed __new__ ...
Miss Islington (bot) [Tue, 20 May 2025 02:58:51 +0000 (04:58 +0200)] 
[3.14] gh-132983: Call Py_XDECREF rather than PyObject_GC_Del in failed __new__ (GH-133962) (#134305)

gh-132983: Call Py_XDECREF rather than PyObject_GC_Del in failed __new__ (GH-133962)

Call Py_XDECREF rather than PyObject_GC_Del in failed __new__

This will call tp_dealloc and clear all members.
(cherry picked from commit e575190abbd9409adad3e7fd95424f827236bed9)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
5 months ago[3.14] gh-132983: Convert zstd ``__new__`` methods to Argument Clinic (GH-133860...
Miss Islington (bot) [Tue, 20 May 2025 02:25:24 +0000 (04:25 +0200)] 
[3.14] gh-132983: Convert zstd ``__new__`` methods to Argument Clinic (GH-133860) (#133915)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
5 months ago[3.14] gh-134201: Expand explanation of Base85 encodings in base64 docs (GH-134288...
Miss Islington (bot) [Tue, 20 May 2025 00:05:26 +0000 (02:05 +0200)] 
[3.14] gh-134201: Expand explanation of Base85 encodings in base64 docs (GH-134288) (#134298)

gh-134201: Expand explanation of Base85 encodings in base64 docs (GH-134288)

Explain history of de-facto standard and how to pick between the two Base-85 encoding functions in the base-64 module.

---------
(cherry picked from commit 66aaad61037785639aec393be7618cb54b1372dc)

Co-authored-by: Alek Binion <aleksander.binion@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
5 months ago[3.14] gh-134235: Import Autocomplete for Builtin Modules (GH-134277) (#134285)
Miss Islington (bot) [Mon, 19 May 2025 21:46:50 +0000 (23:46 +0200)] 
[3.14] gh-134235: Import Autocomplete for Builtin Modules (GH-134277) (#134285)

gh-134235: Import Autocomplete for Builtin Modules (GH-134277)

* added enhancement auto completing import with sys builtins

---------
(cherry picked from commit 8421b03b16a4852a527256cb7cdce2ab2d318548)

Co-authored-by: Tom Wang <85062819+tommix626@users.noreply.github.com>
Co-authored-by: Hunter <hyoung3@gmail.com>
5 months ago[3.14] gh-133779: Revert Windows generation of pyconfig.h and go back to a static...
Steve Dower [Mon, 19 May 2025 20:24:53 +0000 (21:24 +0100)] 
[3.14] gh-133779: Revert Windows generation of pyconfig.h and go back to a static header. (GH-133966)

Extension builders must specify Py_GIL_DISABLED if they want to link to the free-threaded builds.
This was usually the case already, but this change guarantees it in all circumstances.

5 months ago[3.14] gh-125225: Fix column misalignment in help('topics') output (gh-125226) (gh...
Miss Islington (bot) [Mon, 19 May 2025 15:22:14 +0000 (17:22 +0200)] 
[3.14] gh-125225: Fix column misalignment in help('topics') output (gh-125226) (gh-134225)

The 'help("topics")' output was misaligned due to "ASSIGNMENTEXPRESSIONS"
exceeding the implicit maximum default column width of 19 characters.

Reduced the number of columns from 4 to 3 in the listtopics()
function to allow more space for longer topic names.
(cherry picked from commit b22460c44d1bc597c96d4a3d27ad8373d7952820)

Co-authored-by: Étienne Pelletier <EtiennePelletier@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
5 months ago[3.14] gh-128045: Mark unknown opcodes as deopting to themselves (GH-128044) (#134228)
Miss Islington (bot) [Mon, 19 May 2025 15:09:15 +0000 (17:09 +0200)] 
[3.14] gh-128045: Mark unknown opcodes as deopting to themselves (GH-128044) (#134228)

* gh-128045: Mark unknown opcodes as deopting to themselves (GH-128044)

5 months ago[3.14] gh-134214: Fix test case in pyrepl (gh-134223) (gh-134229)
Miss Islington (bot) [Mon, 19 May 2025 14:51:46 +0000 (16:51 +0200)] 
[3.14] gh-134214: Fix test case in pyrepl (gh-134223) (gh-134229)

(cherry picked from commit faebf87b3716f7103ee5410456972db36f4b3ada)

Co-authored-by: Jessica Temporal <jtemporal@users.noreply.github.com>
5 months ago[3.14] gh-134158: Fix PyREPL coloring of double braces in f/t-strings (gh-134159...
Miss Islington (bot) [Mon, 19 May 2025 14:39:05 +0000 (16:39 +0200)] 
[3.14] gh-134158: Fix PyREPL coloring of double braces in f/t-strings (gh-134159) (#134227)

Co-authored-by: Loïc Simon <loic.pano@gmail.com>
Co-authored-by: Loïc Simon <loic.simon@napta.io>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
5 months ago[3.14] gh-134097: Print number of refs & blocks after each statement in new REPL...
Miss Islington (bot) [Mon, 19 May 2025 14:13:44 +0000 (16:13 +0200)] 
[3.14] gh-134097: Print number of refs & blocks after each statement in new REPL (gh-134136) (gh-134220)

(cherry picked from commit c31547a5914db93b8b38c6a5261ef716255f3582)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
5 months ago[3.14] gh-122055: Clarify documentation for empty matches in RE (GH-133169) (GH-134217)
Miss Islington (bot) [Mon, 19 May 2025 13:49:46 +0000 (15:49 +0200)] 
[3.14] gh-122055: Clarify documentation for empty matches in RE (GH-133169) (GH-134217)

(cherry picked from commit 44b73d3cd4466e148460883acf4494124eae8c91)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
5 months ago[3.14] gh-133999: Fix `except` parsing regression in 3.14 (GH-134035) (#134206)
Miss Islington (bot) [Mon, 19 May 2025 11:26:27 +0000 (13:26 +0200)] 
[3.14] gh-133999: Fix `except` parsing regression in 3.14 (GH-134035) (#134206)

gh-133999: Fix `except` parsing regression in 3.14 (GH-134035)
(cherry picked from commit 84914ad0e5f96f0ca7238f3b4bc7fc4e50b1abb3)

Co-authored-by: sobolevn <mail@sobolevn.me>
5 months ago[3.14] gh-76023: Make os.path.realpath to ignore WinError 1005 in non-strict mode...
Miss Islington (bot) [Mon, 19 May 2025 09:59:58 +0000 (11:59 +0200)] 
[3.14] gh-76023: Make os.path.realpath to ignore WinError 1005 in non-strict mode (GH-128328) (GH-134203)

(cherry picked from commit d55e11b8049e3abf3cc187b4958224b225a39897)

Co-authored-by: BecoKo <koev_v@yahoo.com>
5 months ago[3.14] gh-134060: Don't create a certain symlink in venv if platform does not support...
Stan Ulbrych [Sun, 18 May 2025 19:33:14 +0000 (20:33 +0100)] 
[3.14] gh-134060: Don't create a certain symlink in venv if platform does not support it (GH-134061)

5 months ago[3.14] gh-133889: Only show the path of the URL in the SimpleHTTPRequestHandler page...
Miss Islington (bot) [Sun, 18 May 2025 19:16:37 +0000 (21:16 +0200)] 
[3.14] gh-133889: Only show the path of the URL in the SimpleHTTPRequestHandler page (GH-134135) (GH-134190)

The query and fragment are ambiguous and not used.
(cherry picked from commit 5cbc8c632e860941602e8f7da9aab52fae40aca6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
5 months ago[3.14] document `Py_VISIT` as a macro in the docs (GH-133688) (#134186)
Miss Islington (bot) [Sun, 18 May 2025 16:34:19 +0000 (18:34 +0200)] 
[3.14] document `Py_VISIT` as a macro in the docs (GH-133688) (#134186)

document `Py_VISIT` as a macro in the docs (GH-133688)
(cherry picked from commit bb32f3c698f5192dddd2d2f33c7c0a3d05afc223)

Co-authored-by: da-woods <dw-git@d-woods.co.uk>
5 months ago[3.14] fix indent in `controlflow.rst` docs (GH-134008) (#134184)
Miss Islington (bot) [Sun, 18 May 2025 16:29:03 +0000 (18:29 +0200)] 
[3.14] fix indent in `controlflow.rst` docs (GH-134008) (#134184)

fix indent in `controlflow.rst` docs (GH-134008)
(cherry picked from commit 4ce91871a9077fcf8806d6fd79bdb32af9587306)

Co-authored-by: Yongzi Li <1538321957@qq.com>
5 months ago[3.14] gh-134144: Fix use-after-free in zapthreads() (GH-134145) (#134182)
Miss Islington (bot) [Sun, 18 May 2025 15:29:19 +0000 (17:29 +0200)] 
[3.14] gh-134144: Fix use-after-free in zapthreads() (GH-134145) (#134182)

gh-134144: Fix use-after-free in zapthreads() (GH-134145)
(cherry picked from commit f2de1e6861c27bd498f598efc01600450979b5f9)

Co-authored-by: b-pass <b-pass@users.noreply.github.com>
5 months ago[3.14] gh-134100: Fix use-after-free in `PyImport_ImportModuleLevelObject` (GH-134117...
Miss Islington (bot) [Sun, 18 May 2025 15:08:40 +0000 (17:08 +0200)] 
[3.14] gh-134100: Fix use-after-free in `PyImport_ImportModuleLevelObject` (GH-134117) (#134171)

gh-134100: Fix use-after-free in `PyImport_ImportModuleLevelObject` (GH-134117)
(cherry picked from commit 4e9005d32ff466925f40af410f2ea6bf2329bcf8)

Co-authored-by: Nico-Posada <102486290+Nico-Posada@users.noreply.github.com>
5 months ago[3.14] gh-134150: Clarify distinction between JSON and Python objects (GH-134154...
Miss Islington (bot) [Sun, 18 May 2025 01:54:00 +0000 (03:54 +0200)] 
[3.14] gh-134150: Clarify distinction between JSON and Python objects (GH-134154) (#134166)

gh-134150: Clarify distinction between JSON and Python objects (GH-134154)

* gh-134150: Clarify distinction between JSON objects and Python objects in json module docs

* Revert change to JSON introduction

* Clarify occurrences of "object literal" as JSON
(cherry picked from commit fa4e088668d4a41f9be5babe7edd5409290ee92a)

Co-authored-by: Micha Albert <micha@2231puppy.tech>
5 months ago[3.14] gh-134064: Fix sys.remote_exec() error checking (GH-134067) (#134162)
Miss Islington (bot) [Sat, 17 May 2025 22:50:00 +0000 (00:50 +0200)] 
[3.14] gh-134064: Fix sys.remote_exec() error checking (GH-134067) (#134162)

gh-134064: Fix sys.remote_exec() error checking (GH-134067)
(cherry picked from commit 009e7b36981fd07f7cca1fdcfcf172ce1584fac7)

Co-authored-by: Victor Stinner <vstinner@python.org>
5 months ago[3.14] gh-134119: Fix crash from calling next() on exhausted template iterator (GH...
Miss Islington (bot) [Sat, 17 May 2025 19:48:54 +0000 (21:48 +0200)] 
[3.14] gh-134119: Fix crash from calling next() on exhausted template iterator (GH-134120) (#134153)

gh-134119: Fix crash from calling next() on exhausted template iterator (GH-134120)
(cherry picked from commit fc7f4c36664314393bd4c30355e21bd7aeac524d)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
5 months ago[3.14] gh-88275: Add missing `__init__` method to `match` example (GH-120281) (#134142)
Miss Islington (bot) [Sat, 17 May 2025 13:17:23 +0000 (15:17 +0200)] 
[3.14] gh-88275: Add missing `__init__` method to `match` example (GH-120281) (#134142)

gh-88275: Add missing `__init__` method to `match` example (GH-120281)
(cherry picked from commit 7a9d46295a497669eaa6e647c33ab71c8cf620a1)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
5 months ago[3.14] Docs: fix spelling of "test case" in `unittest` documentation (GH-134137)...
Miss Islington (bot) [Sat, 17 May 2025 12:03:33 +0000 (14:03 +0200)] 
[3.14] Docs: fix spelling of "test case" in `unittest` documentation (GH-134137) (#134138)

Docs: fix spelling of "test case" in `unittest` documentation (GH-134137)
(cherry picked from commit b41d79c776af4bfa5d28fc2036c9137978294b6a)

Co-authored-by: Clifford Gama <53076065+cliff688@users.noreply.github.com>
5 months ago[3.14] Docs: C API: Improve documentation around non-Python threads with subinterpret...
Miss Islington (bot) [Sat, 17 May 2025 09:04:42 +0000 (11:04 +0200)] 
[3.14] Docs: C API: Improve documentation around non-Python threads with subinterpreters (GH-131087) (GH-134130)

Docs: C API: Improve documentation around non-Python threads with subinterpreters (GH-131087)

(cherry picked from commit af6b3b825f3b653ffdb29fc1dd36de8acfe0a641)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
5 months ago[3.14] gh-113878: fix `versionadded` in `dataclasses.field()` documentation (GH-13406...
Miss Islington (bot) [Sat, 17 May 2025 08:06:04 +0000 (10:06 +0200)] 
[3.14] gh-113878: fix `versionadded` in `dataclasses.field()` documentation (GH-134065) (#134128)

gh-113878: fix `versionadded` in `dataclasses.field()` documentation (GH-134065)
(cherry picked from commit 9d73875072e20bf3cc87cadc553d6a6fb4f71df5)

Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
5 months ago[3.14] gh-133881: add forward reference to `list.sort()` in lambda expression tutoria...
Miss Islington (bot) [Sat, 17 May 2025 08:05:47 +0000 (10:05 +0200)] 
[3.14] gh-133881: add forward reference to `list.sort()` in lambda expression tutorial (GH-133910) (#134126)

gh-133881: add forward reference to `list.sort()` in lambda expression tutorial (GH-133910)
(cherry picked from commit c1c9ad1d5a62a591eb2f0f0d29f3fa02e0949f14)

Co-authored-by: Oleg Burnaev <51371645+Shepard2154@users.noreply.github.com>
5 months ago[3.14] gh-134098: Fix handling %-encoded trailing slash in SimpleHTTPRequestHandler...
Miss Islington (bot) [Sat, 17 May 2025 07:37:43 +0000 (09:37 +0200)] 
[3.14] gh-134098: Fix handling %-encoded trailing slash in SimpleHTTPRequestHandler (GH-134099) (GH-134123)

(cherry picked from commit 2f1ecb3bc474a5895dce090cca7b8afe7b560040)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
5 months ago[3.14] gh-133889: Improve tests for SimpleHTTPRequestHandler (GH-134102) (GH-134121)
Miss Islington (bot) [Sat, 17 May 2025 07:27:38 +0000 (09:27 +0200)] 
[3.14] gh-133889: Improve tests for SimpleHTTPRequestHandler (GH-134102) (GH-134121)

(cherry picked from commit fcaf009907fc39d604907315155c1f1de811dd88)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
5 months ago[3.14] gh-134109: Fix showing comments in pydoc output for argparse (GH-134110) ...
Miss Islington (bot) [Fri, 16 May 2025 20:56:24 +0000 (22:56 +0200)] 
[3.14] gh-134109: Fix showing comments in pydoc output for argparse (GH-134110) (GH-134112)

Comments immediately preceding the object's source code are used
if the object has no docstring.
Comments that do not describe the object should be separated from
the following source code by an empty line.
(cherry picked from commit 71cf4dd622832848cace358a7f8444243afd2e83)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
5 months ago[3.14] gh-117026: Remove outdated sentence in SimpleHTTPRequestHandler docs (GH-11702...
Miss Islington (bot) [Fri, 16 May 2025 19:23:52 +0000 (21:23 +0200)] 
[3.14] gh-117026: Remove outdated sentence in SimpleHTTPRequestHandler docs (GH-117027) (GH-134107)

The code was changed in 0f7cddc308b297e6a1c2dd61503acea38401656f (bpo-839496/gh-39531).
(cherry picked from commit ea2d707bd59963bd4f53407108026930ff12ae56)

Co-authored-by: Saleh Dehqanpour <salehdeh76@gmail.com>
5 months ago[3.14] gh-133286: add explanation about `seq` for pathlib Pattern Language (GH-133340...
Miss Islington (bot) [Fri, 16 May 2025 19:20:47 +0000 (21:20 +0200)] 
[3.14] gh-133286: add explanation about `seq` for pathlib Pattern Language (GH-133340) (#134105)

gh-133286: add explanation about `seq` for pathlib Pattern Language (GH-133340)
(cherry picked from commit ac8df4b5892d2e4bd99731e7d87223a35c238f81)

Co-authored-by: alexey semenyuk <alexsemenyuk88@gmail.com>
5 months ago[3.14] gh-133515: fix docs for unawaited coroutines in debug mode (GH-134081) (#134093)
Miss Islington (bot) [Fri, 16 May 2025 15:37:01 +0000 (17:37 +0200)] 
[3.14] gh-133515: fix docs for unawaited coroutines in debug mode (GH-134081) (#134093)

gh-133515: fix docs for unawaited coroutines in debug mode (GH-134081)
(cherry picked from commit d94b1e9cac82143048031530e6c51e59f597bccd)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
5 months ago[3.14] gh-124210: Add introduction to `threading` docs (GH-127046) (#134090)
Miss Islington (bot) [Fri, 16 May 2025 12:29:40 +0000 (14:29 +0200)] 
[3.14] gh-124210: Add introduction to `threading` docs (GH-127046) (#134090)

Co-authored-by: Semyon Moroz <donbarbos@proton.me>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
5 months ago[3.14] gh-132388: test HACL* and OpenSSL hash functions in pure Python HMAC (GH-13405...
Miss Islington (bot) [Fri, 16 May 2025 12:26:37 +0000 (14:26 +0200)] 
[3.14] gh-132388: test HACL* and OpenSSL hash functions in pure Python HMAC (GH-134051) (#134089)

gh-132388: test HACL* and OpenSSL hash functions in pure Python HMAC (GH-134051)
(cherry picked from commit 73d71a416fb05b64c2b43fade5d781a1fa0cb2cd)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
5 months ago[3.14] gh-134069: bump HACL* revision to incoporate `memset_s` (GH-134027) (#134084)
Miss Islington (bot) [Fri, 16 May 2025 10:49:08 +0000 (12:49 +0200)] 
[3.14] gh-134069: bump HACL* revision to incoporate `memset_s` (GH-134027) (#134084)

Bumps the HACL* revision to include recent revisions that corrects issues
building with legacy/cross-platform macOS SDKs.
(cherry picked from commit 1566c34dc76ec6139e6827fbab6d76e084a63d9d)

Signed-off-by: aeiouaeiouaeiouaeiouaeiouaeiou <aeioudev@outlook.com>
Co-authored-by: aeiouaeiouaeiouaeiouaeiouaeiou <aeioudev@outlook.com>
5 months ago[3.14] gh-130000: Release the GIL in winreg when doing Windows API calls (GH-130001...
Miss Islington (bot) [Fri, 16 May 2025 10:04:24 +0000 (12:04 +0200)] 
[3.14] gh-130000: Release the GIL in winreg when doing Windows API calls (GH-130001) (#134072)

gh-130000: Release the GIL in winreg when doing Windows API calls (GH-130001)
(cherry picked from commit 7a504b3d5da98874536834481539c19ba4a265af)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
5 months agoImprove the administrative install docs for Python Install Manager (GH-134066)
Miss Islington (bot) [Thu, 15 May 2025 21:18:26 +0000 (23:18 +0200)] 
Improve the administrative install docs for Python Install Manager (GH-134066)

(cherry picked from commit 6a2296329117463fd09abc73656f1d7b48076100)

Co-authored-by: Steve Dower <steve.dower@python.org>
5 months ago[3.14] gh-77065: Use `putwch` instead of `putch` in `getpass.win_getpass` (GH-134058...
Miss Islington (bot) [Thu, 15 May 2025 15:41:37 +0000 (17:41 +0200)] 
[3.14] gh-77065: Use `putwch` instead of `putch` in `getpass.win_getpass` (GH-134058) (#134059)

gh-77065: Use `putwch` instead of `putch` in `getpass.win_getpass` (GH-134058)
(cherry picked from commit 52a7a22a6b85a470e993b3399b0ee043e5c3596e)

Co-authored-by: Semyon Moroz <donbarbos@proton.me>
5 months ago[3.14] gh-133410: Fix PR detection in build workflow (GH-133671) (#134055)
Miss Islington (bot) [Thu, 15 May 2025 13:37:41 +0000 (15:37 +0200)] 
[3.14] gh-133410: Fix PR detection in build workflow (GH-133671) (#134055)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
5 months ago[3.14] gh-77065: add missing parameter `echo_char` in `getpass.fallback_getpass`...
Miss Islington (bot) [Thu, 15 May 2025 13:34:50 +0000 (15:34 +0200)] 
[3.14] gh-77065: add missing parameter `echo_char` in `getpass.fallback_getpass` (GH-133849) (#134053)

gh-77065: add missing parameter `echo_char` in `getpass.fallback_getpass` (GH-133849)
(cherry picked from commit d029a1a1cba515510f31c9e88b7c2a6b7ebee2a7)

Co-authored-by: Semyon Moroz <donbarbos@proton.me>
5 months ago[3.14] gh-133403: Check `Tools/build/deepfreeze.py` with mypy (GH-133802) (#134038)
Miss Islington (bot) [Thu, 15 May 2025 09:39:20 +0000 (11:39 +0200)] 
[3.14] gh-133403: Check `Tools/build/deepfreeze.py` with mypy (GH-133802) (#134038)

gh-133403: Check `Tools/build/deepfreeze.py` with mypy (GH-133802)
(cherry picked from commit 7eaa09739059aaac4812395f8d6bb586af8eadcc)

Co-authored-by: sobolevn <mail@sobolevn.me>
5 months ago[3.14] Test also error messages in test_limit_int. (GH-134018) (GH-134033)
Miss Islington (bot) [Thu, 15 May 2025 07:47:24 +0000 (09:47 +0200)] 
[3.14] Test also error messages in test_limit_int. (GH-134018) (GH-134033)

(cherry picked from commit e123a1d09bcb75aae0c53d9d732de5d9a1252efe)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
5 months ago[3.14] gh-133970: Make PEP750 types generic (GH-133976) (#134029)
Miss Islington (bot) [Thu, 15 May 2025 06:39:39 +0000 (08:39 +0200)] 
[3.14] gh-133970: Make PEP750 types generic (GH-133976) (#134029)

gh-133970: Make PEP750 types generic (GH-133976)
(cherry picked from commit c3a1da5b9397867e6b3169dd17cb33ef2898da4a)

Co-authored-by: sobolevn <mail@sobolevn.me>
5 months ago[3.14] gh-133986: Document string split algorithm when sep is None and maxsplit is...
Miss Islington (bot) [Thu, 15 May 2025 01:32:45 +0000 (03:32 +0200)] 
[3.14] gh-133986: Document string split algorithm when sep is None and maxsplit is 0 (GH-133987) (#133993)

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

Co-authored-by: Joey Smith <joeysmith@gmail.com>
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
5 months ago[3.14] Improve tests for str to Fraction conversion (GH-134010) (GH-134016)
Miss Islington (bot) [Wed, 14 May 2025 18:18:04 +0000 (20:18 +0200)] 
[3.14] Improve tests for str to Fraction conversion (GH-134010) (GH-134016)

(cherry picked from commit 17d0fec702e43e27a9c3f37f8abe06a19b656bed)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
5 months ago[3.14] Docs: remove link elements in builders other than HTML (GH-133720) (#134005)
Miss Islington (bot) [Wed, 14 May 2025 15:22:07 +0000 (17:22 +0200)] 
[3.14] Docs: remove link elements in builders other than HTML (GH-133720) (#134005)

Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
5 months ago[3.14] gh-133701: Fix incorrect `__annotations__` on TypedDict defined under PEP...
Miss Islington (bot) [Wed, 14 May 2025 13:54:29 +0000 (15:54 +0200)] 
[3.14] gh-133701: Fix incorrect `__annotations__` on TypedDict defined under PEP 563 (GH-133772) (#134003)

gh-133701: Fix incorrect `__annotations__` on TypedDict defined under PEP 563 (GH-133772)
(cherry picked from commit 9836503b48e047db117b3bef3a812c40ed3e988a)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
5 months ago[3.14] gh-132983: Style improvements for `compression.zstd` (GH-133547) (#134001)
Miss Islington (bot) [Wed, 14 May 2025 12:39:43 +0000 (14:39 +0200)] 
[3.14] gh-132983: Style improvements for `compression.zstd` (GH-133547) (#134001)

gh-132983: Style improvements for `compression.zstd` (GH-133547)
(cherry picked from commit b44c824856a351472a9627da066bfbde9d8ae64e)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
5 months ago[3.14] Remove trailing whitespace from python.gram (GH-133858) (#133990)
Miss Islington (bot) [Wed, 14 May 2025 08:19:47 +0000 (10:19 +0200)] 
[3.14] Remove trailing whitespace from python.gram (GH-133858) (#133990)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>