]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
17 months ago[3.13] GH-117195: Avoid assertion error in `object.__sizeof__` (GH-117220) (GH-119456)
Miss Islington (bot) [Thu, 23 May 2024 15:58:34 +0000 (17:58 +0200)] 
[3.13] GH-117195: Avoid assertion error in `object.__sizeof__` (GH-117220) (GH-119456)

17 months ago[3.13] Fix typos in what's new documentation (GH-119448) (#119449)
Miss Islington (bot) [Thu, 23 May 2024 06:59:33 +0000 (08:59 +0200)] 
[3.13] Fix typos in what's new documentation (GH-119448) (#119449)

17 months ago[3.13] gh-90562: Mention slots pitfall in dataclass docs (GH-107391) (#119350)
Miss Islington (bot) [Thu, 23 May 2024 06:16:19 +0000 (08:16 +0200)] 
[3.13] gh-90562: Mention slots pitfall in dataclass docs (GH-107391) (#119350)

Co-authored-by: Josh Cannon <joshdcannon@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
17 months ago[3.13] gh-111201: Speed up paste mode in the REPL (#119341) (GH-119432) (#119439)
Miss Islington (bot) [Thu, 23 May 2024 04:23:40 +0000 (06:23 +0200)] 
[3.13] gh-111201: Speed up paste mode in the REPL (#119341) (GH-119432) (#119439)

(cherry picked from commit e6572e8f98d33994d2d0dd3afa92a2a72ee642a9)

Also includes:

* gh-111201: Use calc_complete_screen after bracketed paste in PyREPL (GH-119432)
(cherry picked from commit 14b063cbf1bb11a489d04a31f277edba0fc8893c)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
17 months ago[3.13] gh-118911: Trailing whitespace in a block shouldn't prevent the user from...
Lysandros Nikolaou [Thu, 23 May 2024 04:12:26 +0000 (00:12 -0400)] 
[3.13] gh-118911: Trailing whitespace in a block shouldn't prevent the user from terminating the code block (GH-119355) (#119404)

(cherry picked from commit 5091c4400c9ea2a2d1e4d89a28c9d0de2651fa6d)

Co-authored-by: Aya Elsayed <ayah.ehab11@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
17 months ago[3.13] gh-119434: Fix culmitive errors in wrapping as lines proceed (GH-119435) ...
Miss Islington (bot) [Thu, 23 May 2024 03:46:11 +0000 (05:46 +0200)] 
[3.13] gh-119434: Fix culmitive errors in wrapping as lines proceed (GH-119435) (#119441)

Fix culmitive errors in wrapping as lines proceed
(cherry picked from commit e3bf5381fd056d0bbdd775463e3724aab2012e45)

Co-authored-by: Dino Viehland <dinoviehland@gmail.com>
17 months ago[3.13] gh-117657: Fix missing atomic in dict_resize (GH-119312) (#119417)
Miss Islington (bot) [Wed, 22 May 2024 21:42:47 +0000 (23:42 +0200)] 
[3.13] gh-117657: Fix missing atomic in dict_resize (GH-119312) (#119417)

gh-117657: Fix missing atomic in dict_resize (GH-119312)

Fix missing atomic in dict_resize
(cherry picked from commit 2b3fb767bea1f96c9e0523f6cc341b40f0fa1ca1)

Co-authored-by: Dino Viehland <dinoviehland@meta.com>
17 months ago[3.13] gh-70795: Rework RLock documentation (GH-103853) (#119436)
Miss Islington (bot) [Wed, 22 May 2024 21:21:58 +0000 (23:21 +0200)] 
[3.13] gh-70795: Rework RLock documentation (GH-103853) (#119436)

gh-70795: Rework RLock documentation (GH-103853)

Attempted to simultaneously reduce verbosity, while more descriptively
describing behavior.

Fix links (RLock acquire/release previously linking to Lock
acquire/release, seems like bad copy pasta).

Add a seealso for with-locks.

Switch section to use bullet points.

---------

(cherry picked from commit 2fbea81d646688cf438be1dc0be82112a9ae4325)

Co-authored-by: uıɐɾ ʞ ʇɐɯɐs <_@skj.io>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
17 months ago[3.13] gh-111201: auto-indentation in _pyrepl (GH-119348) (#119427)
Lysandros Nikolaou [Wed, 22 May 2024 21:14:03 +0000 (17:14 -0400)] 
[3.13] gh-111201: auto-indentation in _pyrepl (GH-119348) (#119427)

(cherry picked from commit cd516cd1f5e94dba887353f421513fd172efadf3)

Co-authored-by: Arnon Yaari <wiggin15@yahoo.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
17 months ago[3.13] Enable some stricter mypy settings on `Lib/_pyrepl` (GH-119077) (#119428)
Miss Islington (bot) [Wed, 22 May 2024 21:13:47 +0000 (23:13 +0200)] 
[3.13] Enable some stricter mypy settings on `Lib/_pyrepl` (GH-119077) (#119428)

(cherry picked from commit 0883fd22e6d4a3e360b48f30f6afa34553b3786a)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
17 months ago[3.13] gh-113978: Ignore warnings on text completion inside REPL (GH-113979) (#119429)
Miss Islington (bot) [Wed, 22 May 2024 21:13:32 +0000 (23:13 +0200)] 
[3.13] gh-113978: Ignore warnings on text completion inside REPL (GH-113979) (#119429)

(cherry picked from commit e03dde5a24d3953e0b16f7cdefdc8b00aa9d9e11)

Co-authored-by: Yan Yanchii <yyanchiy@gmail.com>
17 months ago[3.13] gh-119357: Increase test coverage for keymap in _pyrepl (GH-119358) (#119414)
Lysandros Nikolaou [Wed, 22 May 2024 21:13:01 +0000 (17:13 -0400)] 
[3.13] gh-119357: Increase test coverage for keymap in _pyrepl (GH-119358) (#119414)

(cherry picked from commit 73ab83b27f105a4509046ce26e35f20d66625195)

Co-authored-by: Eugene Triguba <eugenetriguba@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
17 months agogh-117505: Run ensurepip in isolated env in Windows installer (GH-118257)
Miss Islington (bot) [Wed, 22 May 2024 19:46:35 +0000 (21:46 +0200)] 
gh-117505: Run ensurepip in isolated env in Windows installer (GH-118257)

ensurepip forks a subprocess to run pip itself, but that subprocess only inherits a -I isolated mode flag (see _run_pip() in Lib/ensurepip/__init__.py), not the "-E -s" flags that the installer has been using. This means that parts of ensurepip don't actually run in an isolated environment and can make incorrect decisions based on packages installed in the user site-packages.
(cherry picked from commit c9073eb1a99606df1efeb8959e9f11a8ebc23ae2)

Co-authored-by: Michael Vincent <377567+Vynce@users.noreply.github.com>
17 months ago[3.13] gh-112066: Fix versionadded in PyDict_SetDefaultRef docs (GH-118696) (#119430)
Miss Islington (bot) [Wed, 22 May 2024 19:36:35 +0000 (21:36 +0200)] 
[3.13] gh-112066: Fix versionadded in PyDict_SetDefaultRef docs (GH-118696) (#119430)

(cherry picked from commit 447edb6e987d22c91f6dfad043f3472ce07bdfc0)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
17 months ago[3.13] gh-119247: Add macros to use PySequence_Fast safely in free-threaded build...
Miss Islington (bot) [Wed, 22 May 2024 19:24:02 +0000 (21:24 +0200)] 
[3.13] gh-119247: Add macros to use PySequence_Fast safely in free-threaded build (GH-119315) (#119419)

Add `Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST` and
`Py_END_CRITICAL_SECTION_SEQUENCE_FAST` macros and update `str.join` to use
them. Also add a regression test that would crash reliably without this
patch.
(cherry picked from commit baf347d91643a83483bae110092750d39471e0c2)

Co-authored-by: Josh {*()} Rosenberg <26495692+MojoVampire@users.noreply.github.com>
17 months ago[3.13] Improve `pyrepl` type-annotation coverage (GH-119081) (#119415)
Miss Islington (bot) [Wed, 22 May 2024 18:38:32 +0000 (20:38 +0200)] 
[3.13] Improve `pyrepl` type-annotation coverage (GH-119081) (#119415)

(cherry picked from commit 033f5c87f1f876088701d1ae078dc39c41177d4a)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
17 months ago[3.13] gh-119213: Be More Careful About _PyArg_Parser.kwtuple Across Interpreters...
Miss Islington (bot) [Wed, 22 May 2024 18:09:48 +0000 (20:09 +0200)] 
[3.13] gh-119213: Be More Careful About _PyArg_Parser.kwtuple Across Interpreters (gh-119331) (gh-119410)

_PyArg_Parser holds static global data generated for modules by Argument Clinic.  The _PyArg_Parser.kwtuple field is a tuple object, even though it's stored within a static global.  In some cases the tuple is statically allocated and thus it's okay that it gets shared by multiple interpreters.  However, in other cases the tuple is set lazily, allocated from the heap using the active interprepreter at the point the tuple is needed.

This is a problem once that interpreter is destroyed since _PyArg_Parser.kwtuple becomes at dangling pointer, leading to crashes.  It isn't a problem if the tuple is allocated under the main interpreter, since its lifetime is bound to the lifetime of the runtime.  The solution here is to temporarily switch to the main interpreter.  The alternative would be to always statically allocate the tuple.

This change also fixes a bug where only the most recent parser was added to the global linked list.

(cherry picked from commit 81865002aee8eaaeb3c7e402f86183afa6de77bf)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
17 months ago[3.13] gh-118893: Evaluate all statements in the new REPL separately (GH-119318)...
Miss Islington (bot) [Wed, 22 May 2024 16:22:01 +0000 (18:22 +0200)] 
[3.13] gh-118893: Evaluate all statements in the new REPL separately (GH-119318) (#119408)

(cherry picked from commit a3e4fec8734a304d654e4ae24a4aa2f41a7b0640)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
17 months ago[3.13] gh-119205: Fix autocompletion bug in new repl (GH-119229) (#119407)
Miss Islington (bot) [Wed, 22 May 2024 16:07:38 +0000 (18:07 +0200)] 
[3.13] gh-119205: Fix autocompletion bug in new repl (GH-119229) (#119407)

(cherry picked from commit 506b1a3ff66a41c72d205c8e4cba574e439d8e76)

Co-authored-by: Koudai Aono <koxudaxi@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
17 months ago[3.13] gh-111201: Add append to screen method to avoid recalculation (GH-119274)...
Miss Islington (bot) [Wed, 22 May 2024 16:03:04 +0000 (18:03 +0200)] 
[3.13] gh-111201: Add append to screen method to avoid recalculation (GH-119274) (#119405)

(cherry picked from commit c886bece3b3a49f8a0f188aecfc1d6ff89d281e6)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
17 months ago[3.13] gh-111201: Remove readline dependency from the PyREPL (GH-119262) (#119403)
Lysandros Nikolaou [Wed, 22 May 2024 15:45:11 +0000 (11:45 -0400)] 
[3.13] gh-111201: Remove readline dependency from the PyREPL (GH-119262) (#119403)

(cherry picked from commit 561ff1fa710493dee8c6482f990bd17535b27040)

17 months ago[3.13] gh-119306: Break up _pyrepl tests (GH-119307) (#119362)
Lysandros Nikolaou [Wed, 22 May 2024 15:02:18 +0000 (11:02 -0400)] 
[3.13] gh-119306: Break up _pyrepl tests (GH-119307) (#119362)

(cherry picked from commit f49df4f486e531ff2666eb22854117c564b3de3d)

Co-authored-by: Eugene Triguba <eugenetriguba@gmail.com>
17 months ago[3.13] gh-118643: Fix AttributeError in the email module (GH-119099) (GH-119389)
Miss Islington (bot) [Wed, 22 May 2024 11:07:38 +0000 (13:07 +0200)] 
[3.13] gh-118643: Fix AttributeError in the email module (GH-119099) (GH-119389)

Fix regression introduced in gh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in gh-100884.
(cherry picked from commit 858b9e85fcdd495947c9e892ce6e3734652c48f2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
17 months ago[3.13] Fix version number in use_load_tests deprecation reference (GH-119151) (GH...
Miss Islington (bot) [Wed, 22 May 2024 09:58:59 +0000 (11:58 +0200)] 
[3.13] Fix version number in use_load_tests deprecation reference (GH-119151) (GH-119386)

Deprecation took place in d78742a260ba09e53c844de7b1fd11a11c674945 (3.5)
(cherry picked from commit aee8f03abbebfb76357f459dfb297026862e3c0b)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
17 months ago[3.13] Fix typos in NEWS entries for 3.13 (GH-119374) (GH-119385)
Miss Islington (bot) [Wed, 22 May 2024 09:47:49 +0000 (11:47 +0200)] 
[3.13] Fix typos in NEWS entries for 3.13 (GH-119374) (GH-119385)

(cherry picked from commit 904e256292a0ed6c36f3490da9e4f8245370f535)

Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
17 months ago[3.13] gh-119189: Add yet more tests for mixed Fraction arithmetic (GH-119298) (GH...
Miss Islington (bot) [Wed, 22 May 2024 09:37:07 +0000 (11:37 +0200)] 
[3.13] gh-119189: Add yet more tests for mixed Fraction arithmetic (GH-119298) (GH-119346)

(cherry picked from commit 10b1bd926a5546e0f5cbd1a47d00dc5ff84f1979)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
17 months ago[3.13] Clarify that dklen is expected in bytes for the hashlib functions (GH-106624...
Miss Islington (bot) [Wed, 22 May 2024 09:10:02 +0000 (11:10 +0200)] 
[3.13] Clarify that dklen is expected in bytes for the hashlib functions (GH-106624) (GH-119383)

(cherry picked from commit 5adf78f546a5dc3f5b8eeaa209a2e8437ae96ac8)

Co-authored-by: Mathijs Mortimer <thiezn@users.noreply.github.com>
17 months ago[3.13] DOCS: fix error in exec namespace note (gh-119380)
Miss Islington (bot) [Wed, 22 May 2024 06:58:36 +0000 (08:58 +0200)] 
[3.13] DOCS: fix error in exec namespace note (gh-119380)

When updating the new exec note added in gh-119235 as part of the
PEP 667 general docs PR, I suggested a workaround that isn't valid.

The first half of the note is still reasonable, so just omit the invalid text.

(cherry picked from commit 31d61a75c9ae8c1b1bc6447f517122be8adce2ef)

Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
17 months ago[3.13] gh-110383: Align dict.get(), .fromkeys(), and .setdefault() docs with docstrin...
Miss Islington (bot) [Wed, 22 May 2024 01:31:56 +0000 (03:31 +0200)] 
[3.13] gh-110383: Align dict.get(), .fromkeys(), and .setdefault() docs with docstrings (GH-119330) (#119370)

(cherry picked from commit 0e3c8cda1f04c983994e76aea93600dbb4714832)

Co-authored-by: Landon Wood <landon@elkrange.com>
17 months ago[3.13] gh-118877: Fix AssertionError crash in pyrepl (GH-118936) (#119363)
Miss Islington (bot) [Wed, 22 May 2024 01:28:24 +0000 (03:28 +0200)] 
[3.13] gh-118877: Fix AssertionError crash in pyrepl (GH-118936) (#119363)

(cherry picked from commit c0d81b256604a1079349d82d136db43eefcb3df1)

Co-authored-by: Daniel Hollas <daniel.hollas@bristol.ac.uk>
17 months agogh-118507 : Refactor `nt._path_is*` to improve applicability for other cases (GH...
Miss Islington (bot) [Wed, 22 May 2024 00:29:34 +0000 (02:29 +0200)] 
gh-118507 : Refactor `nt._path_is*` to improve applicability for other cases (GH-118755)

(cherry picked from commit b64182550f73e556344bd754d32e3be5d22a74e1)

Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
17 months ago[3.13] gh-119102: Fix REPL for dumb terminal (GH-119332) (#119359)
Miss Islington (bot) [Wed, 22 May 2024 00:14:44 +0000 (02:14 +0200)] 
[3.13] gh-119102: Fix REPL for dumb terminal (GH-119332) (#119359)

The site module gets the __main__ module to get _pyrepl.__main__.
(cherry picked from commit de8f530841b55885b919677a6938ab33d4a92f20)

Co-authored-by: Victor Stinner <vstinner@python.org>
17 months ago[3.13] Docs: Add central references to free-threading-related options (GH-119017...
Miss Islington (bot) [Tue, 21 May 2024 23:16:59 +0000 (01:16 +0200)] 
[3.13] Docs: Add central references to free-threading-related options (GH-119017) (#119367)

Docs: Add central references to free-threading-related options (GH-119017)
(cherry picked from commit 9fa206aaeccc979a4bd03852ba38c045294a3d6f)

Co-authored-by: Brett Simmers <swtaarrs@users.noreply.github.com>
17 months ago[3.13] Fix typos in documentation (GH-119295) (#119337)
Miss Islington (bot) [Tue, 21 May 2024 22:07:20 +0000 (00:07 +0200)] 
[3.13] Fix typos in documentation (GH-119295) (#119337)

Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
17 months ago[3.13] gh-119035: Add Ctrl+← and Ctrl+→ word-skipping keybindings to new repl (GH...
Miss Islington (bot) [Tue, 21 May 2024 21:16:06 +0000 (23:16 +0200)] 
[3.13] gh-119035: Add Ctrl+← and Ctrl+→ word-skipping keybindings to new repl (GH-119248) (#119323)

add word-skipping ctrl keybindings to new repl
(cherry picked from commit 0398d9339217aa0710c0de45a7e9b587136e7129)

Co-authored-by: Alastair Stanley <alastairstanley@ntlworld.com>
17 months ago[3.13] gh-110383: Document `socket.makefile()` accepts combined modes (GH-119150...
Miss Islington (bot) [Tue, 21 May 2024 18:44:53 +0000 (20:44 +0200)] 
[3.13] gh-110383: Document `socket.makefile()` accepts combined modes (GH-119150) (#119324)

The supported mode values are 'r', 'w', and 'b', or a combination of those.
(cherry picked from commit 62a29be5bb01c2d0f72d8f9b1b5539816e65310c)

Co-authored-by: Daniel Williams <dann0a@gmail.com>
17 months ago[3.13] GH-110383: Improve Tutorial for Input Ouput (GH-119230) (GH-119326)
Miss Islington (bot) [Tue, 21 May 2024 17:54:26 +0000 (19:54 +0200)] 
[3.13] GH-110383: Improve Tutorial for Input Ouput (GH-119230) (GH-119326)

GH-110383: Improve Tutorial for Input Ouput (GH-119230)

(cherry picked from commit 9db2fd7edaa9d03e8c649c3bb0e8d963233cde22)

Co-authored-by: Blaise Pabon <blaise@gmail.com>
Co-authored-by: edson duarte <eduarte.uatach@gmail.com>
17 months ago[3.13] GH-119292: Add job to JIT CI to build and test with --disable-gil (GH-119314)
Miss Islington (bot) [Tue, 21 May 2024 16:17:49 +0000 (18:17 +0200)] 
[3.13] GH-119292: Add job to JIT CI to build and test with --disable-gil (GH-119314)

(cherry picked from commit c4722cd0573c83aaa52b63a27022b9048a949f54)
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
17 months ago[3.13] gh-119053: Implement the fast path for list.__getitem__ (gh-119112) (gh-119309)
Miss Islington (bot) [Tue, 21 May 2024 14:42:22 +0000 (16:42 +0200)] 
[3.13] gh-119053: Implement the fast path for list.__getitem__ (gh-119112) (gh-119309)

gh-119053: Implement the fast path for list.__getitem__ (gh-119112)
(cherry picked from commit ab4263a82abe8b684d8ad1edf7c7c6ec286ff756)

Co-authored-by: Donghee Na <donghee.na@python.org>
17 months ago[3.13] Docs: Ensure no warnings are found in the NEWS file before a given line number...
Hugo van Kemenade [Tue, 21 May 2024 14:40:08 +0000 (10:40 -0400)] 
[3.13] Docs: Ensure no warnings are found in the NEWS file before a given line number (GH-119221) (#119261)

17 months ago[3.13] gh-119102: Fix REPL for dumb terminal (GH-119269) (#119308)
Miss Islington (bot) [Tue, 21 May 2024 13:46:11 +0000 (15:46 +0200)] 
[3.13] gh-119102: Fix REPL for dumb terminal (GH-119269) (#119308)

gh-119102: Fix REPL for dumb terminal (GH-119269)

Use CAN_USE_PYREPL of _pyrepl.__main__ in the site module to decide
if _pyrepl.write_history_file() can be used.
(cherry picked from commit 73f4a58d36b65ec650e8f00b2affc4a4d3195f0c)

Co-authored-by: Victor Stinner <vstinner@python.org>
17 months ago[3.13] Use `fail-fast: false` in `mypy.yml` (GH-119297) (#119304)
Miss Islington (bot) [Tue, 21 May 2024 12:47:00 +0000 (14:47 +0200)] 
[3.13] Use `fail-fast: false` in `mypy.yml` (GH-119297) (#119304)

Use `fail-fast: false` in `mypy.yml` (GH-119297)

See docs about this setting: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actionsGH-jobsjob_idstrategyfail-fast
(cherry picked from commit b36533290608aed757f6eb16869a679650d32e17)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
17 months ago[3.13] gh-74929: PEP 667 general docs update (gh-119291)
Miss Islington (bot) [Tue, 21 May 2024 11:35:26 +0000 (13:35 +0200)] 
[3.13] gh-74929: PEP 667 general docs update (gh-119291)

* expand on What's New entry for PEP 667 (including porting notes)
* define 'optimized scope' as a glossary term
* cover comprehensions and generator expressions in locals() docs
* review all mentions of "locals" in documentation (updating if needed)
* review all mentions of "f_locals" in documentation (updating if needed)

(cherry picked from commit e870c852c0ea96fa4e4569e9c39c7ceb80ce858d)

Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
17 months ago[3.13] gh-119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows...
Miss Islington (bot) [Tue, 21 May 2024 03:53:29 +0000 (05:53 +0200)] 
[3.13] gh-119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows blurry (GH-119175) (#119289)

gh-119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows blurry (GH-119175)

------

(cherry picked from commit 538ed5e4818aa0d0aa759634e8bfa23e317434a1)

Co-authored-by: Wulian233 <71213467+Wulian233@users.noreply.github.com>
17 months ago[3.13] gh-118912: Remove description of issue fixed in 3.5 from autospeccing guide...
Miss Islington (bot) [Mon, 20 May 2024 23:50:23 +0000 (01:50 +0200)] 
[3.13] gh-118912: Remove description of issue fixed in 3.5 from autospeccing guide (GH-119232) (#119284)

gh-118912: Remove description of issue fixed in 3.5 from autospeccing guide (GH-119232)

* Remove description of issue fixed in 3.5 from autospeccing guide

* Make autospeccing note text more succint and lint whitespace

* Add linting changes (missed in last commit)

---------

(cherry picked from commit 7e57640c7ec6b7b5ce9b5eac465f6b771fd6ae69)

Co-authored-by: Shauna <shaunagm@gmail.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
17 months ago[3.13] gh-108267 Fix another dataclasses docs typo (GH-119277) (#119279)
Miss Islington (bot) [Mon, 20 May 2024 22:53:32 +0000 (00:53 +0200)] 
[3.13] gh-108267 Fix another dataclasses docs typo (GH-119277) (#119279)

gh-108267 Fix another dataclasses docs typo (GH-119277)
(cherry picked from commit 423bbcbbc43cacfb6a217c04f890a47d3cf7c3a9)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
17 months ago[3.13] gh-119050: Add XML support to libregrtest refleak checker (GH-119148) (#119270)
Miss Islington (bot) [Mon, 20 May 2024 22:50:20 +0000 (00:50 +0200)] 
[3.13] gh-119050: Add XML support to libregrtest refleak checker (GH-119148) (#119270)

gh-119050: Add XML support to libregrtest refleak checker (GH-119148)

regrtest test runner: Add XML support to the refleak checker
(-R option).

* run_unittest() now stores XML elements as string, rather than
  objects, in support.junit_xml_list.
* runtest_refleak() now saves/restores XML strings before/after
  checking for reference leaks. Save XML into a temporary file.
(cherry picked from commit 9257731f5d3e9d4f99e314b23a14506563e167d7)

Co-authored-by: Victor Stinner <vstinner@python.org>
17 months ago[3.13] gh-119253: use ImportError in _ios_support (GH-119254) (#119265)
Miss Islington (bot) [Mon, 20 May 2024 22:21:28 +0000 (00:21 +0200)] 
[3.13] gh-119253: use ImportError in _ios_support (GH-119254) (#119265)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
17 months ago[3.13] gh-119189: Add more tests for mixed Fraction arithmetic (GH-119236) (GH-119255)
Miss Islington (bot) [Mon, 20 May 2024 21:00:20 +0000 (23:00 +0200)] 
[3.13] gh-119189: Add more tests for mixed Fraction arithmetic (GH-119236) (GH-119255)

(cherry picked from commit fe67af19638d208239549ccac8b4f4fb6480e801)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
17 months ago[3.13] gh-118760: Restore the default value of tkinter.wantobjects to 1 (GH-118784...
Miss Islington (bot) [Mon, 20 May 2024 20:28:42 +0000 (22:28 +0200)] 
[3.13] gh-118760: Restore the default value of tkinter.wantobjects to 1 (GH-118784) (GH-119251)

It was set to 2 in 65f5e586a1239ed1a66d8284773d7b02ce40e480 (GH-98592).
(cherry picked from commit e188527c343c74574d481b77c30063db1436e62b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
17 months ago[3.13] Use correct markup in unittest.mock.reset_mock documentation (GH-119207) ...
Miss Islington (bot) [Mon, 20 May 2024 20:12:38 +0000 (22:12 +0200)] 
[3.13] Use correct markup in unittest.mock.reset_mock documentation (GH-119207) (GH-119250)

Use correct markup in unittest.mock.reset_mock documentation (GH-119207)
(cherry picked from commit 6b80a5b20f31a067bd1c374295608df5f1210f49)

Co-authored-by: Tialo <65392801+Tialo@users.noreply.github.com>
17 months ago[3.13] gh-92081: Fix for email.generator.Generator with whitespace between encoded...
Miss Islington (bot) [Mon, 20 May 2024 20:01:56 +0000 (22:01 +0200)] 
[3.13] gh-92081: Fix for email.generator.Generator with whitespace between encoded words. (GH-92281) (#119245)

* Fix for email.generator.Generator with whitespace between encoded words.

email.generator.Generator currently does not handle whitespace between
encoded words correctly when the encoded words span multiple lines.  The
current generator will create an encoded word for each line.  If the end
of the line happens to correspond with the end real word in the
plaintext, the generator will place an unencoded space at the start of
the subsequent lines to represent the whitespace between the plaintext
words.

A compliant decoder will strip all the whitespace from between two
encoded words which leads to missing spaces in the round-tripped
output.

The fix for this is to make sure that whitespace between two encoded
words ends up inside of one or the other of the encoded words.  This
fix places the space inside of the second encoded word.

A second problem happens with continuation lines.  A continuation line that
starts with whitespace and is followed by a non-encoded word is fine because
the newline between such continuation lines is defined as condensing to
a single space character.  When the continuation line starts with whitespace
followed by an encoded word, however, the RFCs specify that the word is run
together with the encoded word on the previous line.  This is because normal
words are filded on syntactic breaks by encoded words are not.

The solution to this is to add the whitespace to the start of the encoded word
on the continuation line.

Test cases are from GH-92081

* Rename a variable so it's not confused with the final variable.
(cherry picked from commit a6fdb31b6714c9f3c65fefbb3fe388b2b139a75f)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
17 months ago[3.13] gh-112844: Update CPE references for external dependencies (GH-118521) (#119237)
Miss Islington (bot) [Mon, 20 May 2024 19:32:38 +0000 (21:32 +0200)] 
[3.13] gh-112844: Update CPE references for external dependencies (GH-118521) (#119237)

Co-authored-by: Seth Michael Larson <seth@python.org>
17 months ago[3.13] DOCS: Suggest always calling exec with a globals argument and no locals argume...
Miss Islington (bot) [Mon, 20 May 2024 18:15:25 +0000 (20:15 +0200)] 
[3.13] DOCS: Suggest always calling exec with a globals argument and no locals argument (GH-119235) (#119239)

DOCS: Suggest always calling exec with a globals argument and no locals argument (GH-119235)

Many users think they want a locals argument for various reasons but they do not
understand that it makes code be treated as a class definition. They do not want
their code treated as a class definition and get surprised. The reason not
to pass locals specifically is that the following code raises a `NameError`:

```py
exec("""
def f():
    print("hi")

f()

def g():
    f()
g()
""", {}, {})
```

The reason not to leave out globals is as follows:

```py
def t():
    exec("""
def f():
    print("hi")

f()

def g():
    f()
g()
    """)
```
(cherry picked from commit 7e1a130b8ff1ed8b3a5f00fe0f06d3916b852216)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
17 months ago[3.13] GH-119146: Don't run JIT CI on unrelated changes (GH-119226)
Miss Islington (bot) [Mon, 20 May 2024 17:26:28 +0000 (19:26 +0200)] 
[3.13] GH-119146: Don't run JIT CI on unrelated changes (GH-119226)

(cherry picked from commit 5307f44fb983f2a17727fb43602f5dfa63e93311)
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
17 months ago[3.13] gh-115119: Fall back to bundled libmpdec if system libmpdec is not found ...
Miss Islington (bot) [Mon, 20 May 2024 16:10:21 +0000 (18:10 +0200)] 
[3.13] gh-115119: Fall back to bundled libmpdec if system libmpdec is not found (GH-119196) (#119217)

(cherry picked from commit 642b25b9a82c368b045709f0b94e7d5a02400ed2)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
17 months ago[3.13] [docs] TypeVarTuple default is keyword-only (GH-119215) (#119224)
Miss Islington (bot) [Mon, 20 May 2024 15:57:19 +0000 (17:57 +0200)] 
[3.13] [docs] TypeVarTuple default is keyword-only (GH-119215) (#119224)

(cherry picked from commit e406b399f9f677cda3d48ed8d7c9d29a173f51f3)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
17 months ago[3.13] gh-119185: Fix typo in `_pyrepl.pager`: `tempfilepager` should be `tempfile_pa...
Miss Islington (bot) [Mon, 20 May 2024 15:10:40 +0000 (17:10 +0200)] 
[3.13] gh-119185: Fix typo in `_pyrepl.pager`: `tempfilepager` should be `tempfile_pager` (GH-118881) (#119211)

Fix typo in `_pyrepl.pager`: `tempfilepager` should be `tempfile_pager`

The name with no underscore doesn't exist.
(cherry picked from commit 05e1dce76d7669e90ab73e7e682360d83b8a0d02)

Co-authored-by: Thanos <111999343+Sachaa-Thanasius@users.noreply.github.com>
17 months ago[3.13] typing docs: Fix formatting issue (GH-119210) (#119212)
Miss Islington (bot) [Mon, 20 May 2024 15:08:49 +0000 (17:08 +0200)] 
[3.13] typing docs: Fix formatting issue (GH-119210) (#119212)

typing docs: Fix formatting issue (GH-119210)
(cherry picked from commit 72d07dd30bc10751fe0298915c918eb08e555a7a)

Co-authored-by: David Foster <david@dafoster.net>
17 months ago[3.13] gh-119121: Fix and test `async.staggered.staggered_race` (GH-119173) (#119206)
Miss Islington (bot) [Mon, 20 May 2024 11:31:31 +0000 (13:31 +0200)] 
[3.13] gh-119121: Fix and test `async.staggered.staggered_race` (GH-119173) (#119206)

gh-119121: Fix and test `async.staggered.staggered_race` (GH-119173)
(cherry picked from commit 16b46ebd2b0025aa461fdfc95fbf98a4f04b49e6)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
17 months ago[3.13] IDLE: fix url in config.py comment (GH-119198) (#119199)
Miss Islington (bot) [Mon, 20 May 2024 06:27:51 +0000 (08:27 +0200)] 
[3.13] IDLE: fix url in config.py comment (GH-119198) (#119199)

IDLE: fix url in config.py comment (GH-119198)
(cherry picked from commit 357f5a1f73684d0c126a5e8f79d76ff3641c4d52)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
17 months ago[3.13] GH-119113: Raise `TypeError` from `pathlib.PurePath.with_suffix(None)` (GH...
Miss Islington (bot) [Sun, 19 May 2024 16:27:12 +0000 (18:27 +0200)] 
[3.13] GH-119113: Raise `TypeError` from `pathlib.PurePath.with_suffix(None)` (GH-119124) (#119183)

Restore behaviour from 3.12 when `path.with_suffix(None)` is called.
(cherry picked from commit 3c28510b984392b8dac87a17dfc5887366d5c4ab)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
17 months ago[3.13] GH-118447: Fix FreeBSD test failures. (GH-119170) (#119181)
Miss Islington (bot) [Sun, 19 May 2024 16:22:51 +0000 (18:22 +0200)] 
[3.13] GH-118447: Fix FreeBSD test failures. (GH-119170) (#119181)

GH-118447: Fix FreeBSD test failures. (GH-119170)

Apparently only macOS requires read permission to call `readlink()` on a
symlink.
(cherry picked from commit 4b7667172898d440c1931ae923446c6a5ef1765e)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
17 months ago[3.13] marshal docs: Remove reference to "Sun" (GH-119161) (#119167)
Miss Islington (bot) [Sun, 19 May 2024 02:33:04 +0000 (04:33 +0200)] 
[3.13] marshal docs: Remove reference to "Sun" (GH-119161) (#119167)

Nobody has been using a Sun machine for a long time. When I saw
this sentence in a lightning talk just now, I thought it was talking
about sending Python code on a spacecraft.
(cherry picked from commit 697465ff88e49d98443025474e5b534adfba2cb0)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
17 months ago[3.13] GH-118447: Fix handling of unreadable symlinks in `os.path.realpath()` (GH...
Miss Islington (bot) [Sat, 18 May 2024 23:12:19 +0000 (01:12 +0200)] 
[3.13] GH-118447: Fix handling of unreadable symlinks in `os.path.realpath()` (GH-118489) (#119163)

(cherry picked from commit caf6064a1bc15ac344afd78b780188e60b9c628e)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
17 months ago[3.13] gh-119050: Add type hints to libregrtest/results.py (GH-119144) (#119156)
Miss Islington (bot) [Sat, 18 May 2024 21:05:58 +0000 (23:05 +0200)] 
[3.13] gh-119050: Add type hints to libregrtest/results.py (GH-119144) (#119156)

gh-119050: Add type hints to libregrtest/results.py (GH-119144)

Sort also 'omitted' in TestResults.display_result().
(cherry picked from commit 30b4e9f9c42493136c58c56fee5553128bb32428)

Co-authored-by: Victor Stinner <vstinner@python.org>
17 months ago[3.13] gh-119132: Update sys.version to identify free-threaded or not. (gh-119134...
Miss Islington (bot) [Sat, 18 May 2024 20:49:11 +0000 (22:49 +0200)] 
[3.13] gh-119132: Update sys.version to identify free-threaded or not. (gh-119134) (#119153)

gh-119132: Update sys.version to identify free-threaded or not. (gh-119134)
(cherry picked from commit c141d4393750c827cbcb3867f0f42997a3bb3528)

Co-authored-by: Donghee Na <donghee.na@python.org>
17 months ago[3.13] docs: make mimalloc license text literal (GH-119046) (#119149)
Miss Islington (bot) [Sat, 18 May 2024 16:40:07 +0000 (18:40 +0200)] 
[3.13] docs: make mimalloc license text literal (GH-119046) (#119149)

docs: make mimalloc license text literal (GH-119046)
(cherry picked from commit 691429702f1cb657e65f4e5275bb5ed16121d2b7)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
17 months ago[3.13] gh-119132: Log sys._is_gil_enabled() in test.pythoninfo (GH-119140) (#119143)
Miss Islington (bot) [Sat, 18 May 2024 13:46:21 +0000 (15:46 +0200)] 
[3.13] gh-119132: Log sys._is_gil_enabled() in test.pythoninfo (GH-119140) (#119143)

gh-119132: Log sys._is_gil_enabled() in test.pythoninfo (GH-119140)
(cherry picked from commit 74072a3ffc733e32159e694bcf7a2198f2db0d43)

Co-authored-by: Victor Stinner <vstinner@python.org>
17 months ago[3.13] gh-119078: Clarify venv tutorial (GH-119129) (GH-119142)
Miss Islington (bot) [Sat, 18 May 2024 12:06:23 +0000 (14:06 +0200)] 
[3.13] gh-119078: Clarify venv tutorial (GH-119129) (GH-119142)

(cherry picked from commit 0f5e8bed636c2f29701e5a1965d1b088d33abbf0)

17 months ago[3.13] Minor improvements to the docs for itertools.tee() (gh-119135) (gh-119136)
Miss Islington (bot) [Sat, 18 May 2024 06:51:04 +0000 (08:51 +0200)] 
[3.13] Minor improvements to the docs for itertools.tee() (gh-119135) (gh-119136)

17 months ago[3.13] gh-119049: Fix incorrect display of warning which is constructed by C API...
Miss Islington (bot) [Fri, 17 May 2024 15:16:58 +0000 (17:16 +0200)] 
[3.13] gh-119049: Fix incorrect display of warning which is constructed by C API (GH-119063) (GH-119106)

The source line was not displayed if the warnings module had not yet
been imported.
(cherry picked from commit 100c7ab00ab66a8c0d54582f35e38d8eb691743c)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
17 months ago[3.13] Fix typos in documentation (GH-119092) (#119116)
Miss Islington (bot) [Fri, 17 May 2024 10:57:20 +0000 (12:57 +0200)] 
[3.13] Fix typos in documentation (GH-119092) (#119116)

Fix typos in documentation (GH-119092)
(cherry picked from commit 65de194dd80bbc8cb7098d21cfd6aefd11d0d0ce)

Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
17 months ago[3.13] GH-118943: Fix a race condition when generating jit_stencils.h (GH-119101)
Miss Islington (bot) [Thu, 16 May 2024 18:37:56 +0000 (20:37 +0200)] 
[3.13] GH-118943: Fix a race condition when generating jit_stencils.h (GH-119101)

(cherry picked from commit 4702b7b5bdc07d046576b4126cf4e4f5f7145abb)

17 months ago[3.13] Explain how to install LLVM on Fedora (GH-119100)
Miss Islington (bot) [Thu, 16 May 2024 16:57:40 +0000 (18:57 +0200)] 
[3.13] Explain how to install LLVM on Fedora (GH-119100)

(cherry picked from commit ab73bcdf73fed5a23f2e2e37a63d6992f29479a9)
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
17 months ago[3.13] gh-108267: Fix object.__setattr__ regression in dataclasses docs (GH-119082...
Miss Islington (bot) [Thu, 16 May 2024 13:56:42 +0000 (15:56 +0200)] 
[3.13] gh-108267: Fix object.__setattr__ regression in dataclasses docs (GH-119082) (#119097)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
17 months ago[3.13] Add Tkinter tests for different events (GH-118778) (GH-119091)
Miss Islington (bot) [Thu, 16 May 2024 10:17:19 +0000 (12:17 +0200)] 
[3.13] Add Tkinter tests for different events (GH-118778) (GH-119091)

(cherry picked from commit b6839942a8906fccdd64e749abeefe8a61ce7e03)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
17 months ago[3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065...
Miss Islington (bot) [Thu, 16 May 2024 07:51:18 +0000 (09:51 +0200)] 
[3.13] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119087)

(cherry picked from commit 0152dc4ff5534fa2948b95262e70ff6b202b9b99)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
17 months ago[3.13] Use literal syntax in origin property (GH-119029) (#119083)
Miss Islington (bot) [Thu, 16 May 2024 05:30:33 +0000 (07:30 +0200)] 
[3.13] Use literal syntax in origin property (GH-119029) (#119083)

Use literal syntax in origin property (GH-119029)
(cherry picked from commit 66b73e9724fc376715ae264c8282dc1e981e4f17)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
17 months ago[3.13] gh-119009: Add gettext target (GH-119006) (#119074)
Miss Islington (bot) [Wed, 15 May 2024 18:31:55 +0000 (20:31 +0200)] 
[3.13] gh-119009: Add gettext target (GH-119006) (#119074)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
17 months ago[3.13] gh-118760: Fix errors in calling Tkinter bindings on Windows (GH-118782) ...
Miss Islington (bot) [Wed, 15 May 2024 17:16:03 +0000 (19:16 +0200)] 
[3.13] gh-118760: Fix errors in calling Tkinter bindings on Windows (GH-118782) (GH-119072)

For unknown reasons some arguments for Tkinter binding can be created
as a 1-tuple containing a Tcl_Obj when wantobjects is 2.
(cherry picked from commit 5b88d95cc542cf02303c6fe0e8719a93544decdb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
17 months ago[3.13] Remove references to private symbols from zipimport module docstring (GH-119071)
Miss Islington (bot) [Wed, 15 May 2024 16:52:48 +0000 (18:52 +0200)] 
[3.13] Remove references to private symbols from zipimport module docstring (GH-119071)

(cherry picked from commit 7d722b7d3ac78bfa74a5d2f21513ffbf4f85cff2)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
17 months agogh-118486: Simplify test_win32_mkdir_700 to check the exact ACL (GH-119056)
Miss Islington (bot) [Wed, 15 May 2024 11:21:27 +0000 (13:21 +0200)] 
gh-118486: Simplify test_win32_mkdir_700 to check the exact ACL (GH-119056)

(cherry picked from commit 94591dca510c796c7d40e9b4167ea56f2fdf28ca)

Co-authored-by: Steve Dower <steve.dower@python.org>
17 months ago[3.13] 3.13 What's New: Add PEP 702 (GH-118922) (#119062)
Miss Islington (bot) [Wed, 15 May 2024 02:56:37 +0000 (04:56 +0200)] 
[3.13] 3.13 What's New: Add PEP 702 (GH-118922) (#119062)

I honestly forgot this slipped into 3.13, but I think it's worth highlighting more, as it is a PEP-sized change that makes the type system significantly more powerful.

@Yhg1s I think it's also worth mentioning in your release announcements.
(cherry picked from commit ee13797dec988884f8792144fe5b3d7f5c8083c9)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
17 months ago[3.13] Misc improvements to the itertools docs (gh-119040) (#119045)
Miss Islington (bot) [Tue, 14 May 2024 15:38:53 +0000 (17:38 +0200)] 
[3.13] Misc improvements to the itertools docs (gh-119040) (#119045)

17 months ago[3.13] Itertools docs: fix parameter names and indentation in Python equivalents...
Miss Islington (bot) [Tue, 14 May 2024 15:11:31 +0000 (17:11 +0200)] 
[3.13] Itertools docs: fix parameter names and indentation in Python equivalents (gh-118977) (#119043)

17 months ago[3.13] typing tests: remove some unnecessary uses of `exec()` (GH-119005) (#119038)
Miss Islington (bot) [Tue, 14 May 2024 14:39:55 +0000 (16:39 +0200)] 
[3.13] typing tests: remove some unnecessary uses of `exec()` (GH-119005) (#119038)

(cherry picked from commit a9328e2b6ee05c186dcc552feb92b862b4a574df)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
17 months ago[3.13] Add yet few cases for urlparse/urlunparse roundtrip tests (GH-119031) (GH...
Miss Islington (bot) [Tue, 14 May 2024 14:23:40 +0000 (16:23 +0200)] 
[3.13] Add yet few cases for urlparse/urlunparse roundtrip tests (GH-119031) (GH-119037)

(cherry picked from commit 331d385af9817eaa32b739130227781358f85771)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
17 months ago[3.13] gh-67693: Fix urlunparse() and urlunsplit() for URIs with path starting with...
Miss Islington (bot) [Tue, 14 May 2024 09:47:05 +0000 (11:47 +0200)] 
[3.13] gh-67693: Fix urlunparse() and urlunsplit() for URIs with path starting with multiple slashes and no authority (GH-113563) (GH-119023)

(cherry picked from commit e237b25a4fa5626fcd1b1848aa03f725f892e40e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
18 months ago[3.13] GH-118836: Fix JIT build error when SHT_NOTE section is present (GH-119020)
Miss Islington (bot) [Mon, 13 May 2024 22:17:34 +0000 (00:17 +0200)] 
[3.13] GH-118836: Fix JIT build error when SHT_NOTE section is present (GH-119020)

(cherry picked from commit e04cd964eb4eee1b0ae5b2c34727abce6c0fb7f0)

Co-authored-by: Michał Górny <mgorny@gentoo.org>
18 months ago[3.13] gh-118998: Handle errors correctly in `tmtotuple` in `timemodule` (GH-118999...
Miss Islington (bot) [Mon, 13 May 2024 21:43:23 +0000 (23:43 +0200)] 
[3.13] gh-118998: Handle errors correctly in `tmtotuple` in `timemodule` (GH-118999) (#119018)

gh-118998: Handle errors correctly in `tmtotuple` in `timemodule` (GH-118999)
(cherry picked from commit fc757925944a9486d4244853dbe6e37ab3e560c2)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
18 months ago[3.13] gh-119010: Adds docs about `__type_params__` to `functools.update_wrapper...
Miss Islington (bot) [Mon, 13 May 2024 20:19:10 +0000 (22:19 +0200)] 
[3.13] gh-119010: Adds docs about `__type_params__` to `functools.update_wrapper` (GH-119012) (#119013)

gh-119010: Adds docs about `__type_params__` to `functools.update_wrapper` (GH-119012)
(cherry picked from commit b04c497f187b0b474e431a6d8d282269b40ffe52)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
18 months ago[3.13] gh-58933: Make pdb return to caller frame correctly when f_trace is not set...
Miss Islington (bot) [Mon, 13 May 2024 19:18:03 +0000 (21:18 +0200)] 
[3.13] gh-58933: Make pdb return to caller frame correctly when f_trace is not set (GH-118979) (#119007)

gh-58933: Make pdb return to caller frame correctly when f_trace is not set (GH-118979)
(cherry picked from commit f526314194f7fd15931025f8a4439c1765666e42)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
18 months agogh-118876: Ensure PC/layout sets ns.temp before using it (GH-118880)
Miss Islington (bot) [Mon, 13 May 2024 11:56:26 +0000 (13:56 +0200)] 
gh-118876: Ensure PC/layout sets ns.temp before using it (GH-118880)

Fixes an AttributeError that occurs when checking if ns.temp is an absolute path during building from source on Windows.
(cherry picked from commit d8a82cca12e12a6b22bfe6691e9b222f6d276f0a)

Co-authored-by: I-Shen Leong <i-shenl@activestate.com>
18 months ago[3.13] Improve the `rmtree` doc for `dir_fd` param addition in 3.11 (GH-118964) ...
Miss Islington (bot) [Mon, 13 May 2024 11:21:10 +0000 (13:21 +0200)] 
[3.13] Improve the `rmtree` doc for `dir_fd` param addition in 3.11 (GH-118964) (#118991)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
18 months ago[3.13] gh-87106: Fix inspect.signature.bind() handling of positional-only arguments...
Miss Islington (bot) [Mon, 13 May 2024 08:35:31 +0000 (10:35 +0200)] 
[3.13] gh-87106: Fix inspect.signature.bind() handling of positional-only arguments with **kwargs (GH-103404) (#118985)

(cherry picked from commit 9c1520244151f36e010c1b04bedf14747a28517d)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
18 months ago[3.13] GH-118844: Fix build failures when combining --disable-gil with --enable-exper...
Miss Islington (bot) [Mon, 13 May 2024 04:53:30 +0000 (06:53 +0200)] 
[3.13] GH-118844: Fix build failures when combining --disable-gil with --enable-experimental-jit (GH-118959)

(cherry picked from commit 5b941e57c71d7d0ab983d81a169f892662cfe446)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
18 months ago[3.13] gh-118899: Add tests for `NotImplemented` attribute access (GH-118902) (#118968)
Miss Islington (bot) [Sun, 12 May 2024 14:23:45 +0000 (16:23 +0200)] 
[3.13] gh-118899: Add tests for `NotImplemented` attribute access (GH-118902) (#118968)

gh-118899: Add tests for `NotImplemented` attribute access (GH-118902)
(cherry picked from commit ec1398e117fb142cc830495503dbdbb1ddafe941)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
18 months ago[3.13] gh-117655: Prevent `test_strptime` from raising a DeprecationWarning (GH-11766...
Miss Islington (bot) [Sat, 11 May 2024 22:18:23 +0000 (00:18 +0200)] 
[3.13] gh-117655: Prevent `test_strptime` from raising a DeprecationWarning (GH-117668) (GH-118956)

gh-117655: Prevent `test_strptime` from raising a DeprecationWarning (GH-117668)

* Fix `test_strptime` raises a DeprecationWarning
* Ignore deprecation warnings where appropriate.
* Update Lib/test/datetimetester.py

This is follow on work to silence unnecessary warnings from the test suite that changes for https://github.com/python/cpython/issues/70647 added.
(cherry picked from commit abead548af0172dabba13da8bacf2da3c02d4927)

Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
18 months ago[3.13] gh-118921: Add `copy()` method for `FrameLocalsProxy` (GH-118923) (#118933)
Miss Islington (bot) [Fri, 10 May 2024 23:15:54 +0000 (01:15 +0200)] 
[3.13] gh-118921: Add `copy()` method for `FrameLocalsProxy` (GH-118923) (#118933)

(cherry picked from commit 35c436186b849f8f2f9fb866c59015c9d034d448)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>