]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
13 months ago[3.13] gh-123242: Note that type.__annotations__ may not exist (GH-124557) (#124569)
Jelle Zijlstra [Thu, 26 Sep 2024 23:57:50 +0000 (16:57 -0700)] 
[3.13] gh-123242: Note that type.__annotations__ may not exist (GH-124557) (#124569)

Closes GH-123242. The real criterion is that the attribute does not
exist on heap types, but I don't think we should discuss heap vs.
static types in the language reference.
(cherry picked from commit 99b23c64de301c9e77add6b0d8e60118ef807840)

13 months ago[3.13] gh-101100: Make __subclasses__ doctest stable (GH-124577) (#124579)
Miss Islington (bot) [Thu, 26 Sep 2024 20:56:06 +0000 (22:56 +0200)] 
[3.13] gh-101100: Make __subclasses__ doctest stable (GH-124577) (#124579)

gh-101100: Make __subclasses__ doctest stable (GH-124577)

Using a standard library class makes this test difficult to maintain
as other tests and other parts of the stdlib may create subclasses,
which may still be alive when this test runs depending on GC timing.
(cherry picked from commit 08a467b537b3d9b499d060697e79b3950374ab0f)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
13 months ago[3.13] gh-115528: Update language reference for PEP 646 (GH-121181) (#124632)
Miss Islington (bot) [Thu, 26 Sep 2024 20:55:32 +0000 (22:55 +0200)] 
[3.13] gh-115528: Update language reference for PEP 646 (GH-121181) (#124632)

gh-115528: Update language reference for PEP 646 (GH-121181)

To recap: the objective is to make starred expressions valid in `subscription`,
which is used for generics: `Generic[...]`, `list[...]`, etc.

What _is_ gramatically valid in such contexts? Seemingly any of the following.
(At least, none of the following throw `SyntaxError` in a 3.12.3 REPL.)

    Generic[x]
    Generic[*x]
    Generic[*x, y]
    Generic[y, *x]
    Generic[x := 1]
    Generic[x := 1, y := 2]

So introducting

    flexible_expression: expression | assignment_expression | starred_item

end then switching `subscription` to use `flexible_expression` sorts that.

But then we need to field `yield` - for which any of the following are
apparently valid:

    yield x
    yield x,
    yield x, y
    yield *x,
    yield *x, *y

Introducing a separate `yield_list` is the simplest way I've been figure out to
do this - separating out the special case of `starred_item ,`.

(cherry picked from commit 7d3497f617edf77cb6ead6f5e62bce98d77b9ab8)

Co-authored-by: Matthew Rahtz <matthew.rahtz@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
13 months ago[3.13] Programming FAQ: Mention object.__setattr__ as a technique for delegation...
Miss Islington (bot) [Thu, 26 Sep 2024 20:55:08 +0000 (22:55 +0200)] 
[3.13] Programming FAQ: Mention object.__setattr__ as a technique for delegation (GH-124617) (#124624)

Programming FAQ: Mention object.__setattr__ as a technique for delegation (GH-124617)

This is used for example by threading.local in the stdlib.
(cherry picked from commit 43979fad904bcc343f90cb526faa526c45fcbfa4)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
13 months ago[3.13] Doc: Use the short version for daily downloads (GH-124602) (#124610)
Miss Islington (bot) [Thu, 26 Sep 2024 20:54:52 +0000 (22:54 +0200)] 
[3.13] Doc: Use the short version for daily downloads (GH-124602) (#124610)

Doc: Use the short version for daily downloads (GH-124602)
(cherry picked from commit 2c472d36b776636fb00881a717f69e43672588b1)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
13 months ago[3.13] gh-118181: Fix parameter markup in AST docs (GH-124473) (#124600)
Miss Islington (bot) [Thu, 26 Sep 2024 20:52:37 +0000 (22:52 +0200)] 
[3.13] gh-118181: Fix parameter markup in AST docs (GH-124473) (#124600)

gh-118181: Fix parameter markup in AST docs (GH-124473)
(cherry picked from commit 09aebb1fbc0c1d771d4942844d5e2077fcdf56c9)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
13 months ago[3.13] gh-123560: Correct docs for "empty" format type for floats (GH-123561) (#124596)
Miss Islington (bot) [Thu, 26 Sep 2024 20:52:18 +0000 (22:52 +0200)] 
[3.13] gh-123560: Correct docs for "empty" format type for floats (GH-123561) (#124596)

gh-123560: Correct docs for "empty" format type for floats (GH-123561)
(cherry picked from commit 274d9ab619b8150a613275835234ea9ef935f21f)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
13 months ago[3.13] gh-124538: Fix crash when using `gc.get_referents` on an untracked capsule...
Miss Islington (bot) [Thu, 26 Sep 2024 20:51:58 +0000 (22:51 +0200)] 
[3.13] gh-124538: Fix crash when using `gc.get_referents` on an untracked capsule object (GH-124559) (#124588)

gh-124538: Fix crash when using `gc.get_referents` on an untracked capsule object (GH-124559)
(cherry picked from commit f923605658a29ff9af5a62edc1fc10191977627b)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
13 months ago[3.13] gh-124402: Speed up test_free_threading and test_super (#124491) (#124585)
Victor Stinner [Thu, 26 Sep 2024 20:44:36 +0000 (22:44 +0200)] 
[3.13] gh-124402: Speed up test_free_threading and test_super (#124491) (#124585)

gh-124402: Speed up test_free_threading and test_super (#124491)

* Reduce the number of iterations and the number of threads so a
  whole test file takes less than a minute.
* Refactor test_racing_iter_extend() to remove two levels of
  indentation.
* test_monitoring() uses a sleep of 100 ms instead of 1 second.

(cherry picked from commit 0387c34f7c91428681ca8a4ba4e3d22b9acffde4)

13 months ago[3.13] gh-123856: Fix PyREPL failure when a keyboard interrupt is triggered after...
Miss Islington (bot) [Thu, 26 Sep 2024 20:39:01 +0000 (22:39 +0200)] 
[3.13] gh-123856: Fix PyREPL failure when a keyboard interrupt is triggered after using a history search (GH-124396) (#124530)

gh-123856: Fix PyREPL failure when a keyboard interrupt is triggered after using a history search (GH-124396)
(cherry picked from commit c1600c78e4565b6bb558ade451abe2648ba4dd0a)

Co-authored-by: Emily Morehouse <emily@cuttlesoft.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
13 months ago[3.13] gh-123014: Disable pidfd API on older Android versions (GH-124458) (#124543)
Malcolm Smith [Thu, 26 Sep 2024 20:36:12 +0000 (21:36 +0100)] 
[3.13] gh-123014: Disable pidfd API on older Android versions (GH-124458) (#124543)

gh-123014: Disable pidfd API on older Android versions (#124458)

(cherry picked from commit c58c572a65eb5b93d054e779df289e975a0b9864)

13 months ago[3.13] gh-101100: Add a table of class attributes to the "Custom classes" section...
Alex Waygood [Thu, 26 Sep 2024 00:29:48 +0000 (17:29 -0700)] 
[3.13] gh-101100: Add a table of class attributes to the "Custom classes" section of the data model docs (#124480) (#124556)

13 months ago[3.13] Doc: Use ``major.minor`` for documentation distribution archive filenames...
Miss Islington (bot) [Thu, 26 Sep 2024 00:20:57 +0000 (02:20 +0200)] 
[3.13] Doc: Use ``major.minor`` for documentation distribution archive filenames (GH-124489) (#124534)

Doc: Use ``major.minor`` for documentation distribution archive filenames (GH-124489)
(cherry picked from commit 6318ffcba21f8fc155f5558237ab03aa45f0e174)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
13 months ago[3.13] gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231...
Miss Islington (bot) [Thu, 26 Sep 2024 00:16:18 +0000 (02:16 +0200)] 
[3.13] gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231) (#124528)

gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231)

* Adding hyperlink of argument

* Modify as reviewer suggested
(cherry picked from commit 828583a7855f15edc96e6721c226ace098ba463b)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
13 months ago[3.13] gh-123968: fix -f/--float command line option description (GH-124517) (#124523)
Miss Islington (bot) [Thu, 26 Sep 2024 00:16:02 +0000 (02:16 +0200)] 
[3.13] gh-123968: fix -f/--float command line option description (GH-124517) (#124523)

gh-123968: fix -f/--float command line option description (GH-124517)

* fix -f/--float command line option description

See gh-123968 gh-124009

* Update Doc/library/random.rst

---------

(cherry picked from commit f8651a2988274be091ecd6efc2916f38d9fb9577)

Co-authored-by: Robert Wolff <mahlzahn@posteo.de>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
13 months ago[3.13] gh-123445: calendar: Improve descriptions for day and month attributes (GH...
Miss Islington (bot) [Thu, 26 Sep 2024 00:13:14 +0000 (02:13 +0200)] 
[3.13] gh-123445: calendar: Improve descriptions for day and month attributes (GH-123483) (#124500)

gh-123445: calendar: Improve descriptions for day and month attributes (GH-123483)
(cherry picked from commit 8447c933da308939b06e33544ca9abc9fc46aa8b)

Co-authored-by: Mat S <mscull@gmail.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
13 months ago[3.13] Doc: Improve documentation for the ``path`` argument in ``shutil.which()`...
Miss Islington (bot) [Thu, 26 Sep 2024 00:12:48 +0000 (02:12 +0200)] 
[3.13] Doc: Improve documentation for the ``path`` argument in ``shutil.which()`` (GH-124494) (#124497)

Doc: Improve documentation for the ``path`` argument in ``shutil.which()`` (GH-124494)
(cherry picked from commit 0d38409f422b7be158a45e59766d8f4605dfa5df)

Co-authored-by: Tom Most <twm@freecog.net>
13 months ago[3.13] Adjust build_ubuntu_ssltests job to use cache for the correct OS version ...
Miss Islington (bot) [Thu, 26 Sep 2024 00:12:20 +0000 (02:12 +0200)] 
[3.13] Adjust build_ubuntu_ssltests job to use cache for the correct OS version (GH-124403) (#124481)

Adjust build_ubuntu_ssltests job to use cache for the correct OS version (GH-124403)
(cherry picked from commit 54dd77fb8c880d7655fffab934978e277b4275fe)

Co-authored-by: Zachary Ware <zach@python.org>
13 months ago[3.13] For-else deserves its own section in the tutorial (GH-123946) (#124564)
Miss Islington (bot) [Thu, 26 Sep 2024 00:10:15 +0000 (02:10 +0200)] 
[3.13] For-else deserves its own section in the tutorial (GH-123946) (#124564)

For-else deserves its own section in the tutorial (GH-123946)

* For-else deserves its own section in the tutorial

* remove mention of unrolling the loop

* Update Doc/tutorial/controlflow.rst

---------

(cherry picked from commit ffdc80e93d9d947531fa0123e5b392c6f1fd9136)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
13 months ago[3.13] gh-124402: Require cpu resource in test_super slow method (GH-124434) (#124468)
Miss Islington (bot) [Tue, 24 Sep 2024 22:23:17 +0000 (00:23 +0200)] 
[3.13] gh-124402: Require cpu resource in test_super slow method (GH-124434) (#124468)

gh-124402: Require cpu resource in test_super slow method (GH-124434)

test___class___modification_multithreaded() now requires the 'cpu'
test resource on a Free Threaded build.
(cherry picked from commit 5a605660745d32a9b9f4208666889c702527208c)

Co-authored-by: Victor Stinner <vstinner@python.org>
13 months ago[3.13] gh-124120: Document `Annotated.__origin__` (GH-124125) (#124416)
Miss Islington (bot) [Tue, 24 Sep 2024 18:34:21 +0000 (20:34 +0200)] 
[3.13] gh-124120: Document `Annotated.__origin__` (GH-124125) (#124416)

gh-124120: Document `Annotated.__origin__` (GH-124125)
(cherry picked from commit faef3fa653f2901cc905f98eae0ddcd8dc334d33)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
13 months ago[3.13] gh-65169: Clarify prog default in argparse (GH-31602) (#124430)
Miss Islington (bot) [Tue, 24 Sep 2024 18:26:32 +0000 (20:26 +0200)] 
[3.13] gh-65169: Clarify prog default in argparse (GH-31602) (#124430)

gh-65169: Clarify prog default in argparse (GH-31602)
(cherry picked from commit e69ff34e81eceb69de6623205c87e0145f1831e4)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
13 months ago[3.13] gh-124402: Require cpu resource in test_free_threading (#124438) (#124439)
Victor Stinner [Tue, 24 Sep 2024 18:26:02 +0000 (20:26 +0200)] 
[3.13] gh-124402: Require cpu resource in test_free_threading (#124438) (#124439)

gh-124402: Require cpu resource in test_free_threading (#124438)

Require the 'cpu' test resource on slow test_free_threading tests.

(cherry picked from commit 38a5beb12a64461a06b84fab285944ecb66de04c)

13 months ago[3.13] Further revise idlelib/Icons/README.text (GH-123364) (#123608)
Miss Islington (bot) [Tue, 24 Sep 2024 18:22:38 +0000 (20:22 +0200)] 
[3.13] Further revise idlelib/Icons/README.text (GH-123364) (#123608)

* Further revise idlelib/Icons/README.text (GH-123364)

In particular, add trademark derivative approval information.
(cherry picked from commit fe85a8291d9aa11c9ce9e207c39ea0a0c35f9625)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Update Lib/idlelib/Icons/README.txt

---------

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
13 months ago[3.13] Remove excessive backticks in logging doc (GH-123813) (#123816)
Miss Islington (bot) [Tue, 24 Sep 2024 18:21:29 +0000 (20:21 +0200)] 
[3.13] Remove excessive backticks in logging doc (GH-123813) (#123816)

Remove excessive backticks in logging doc (GH-123813)
(cherry picked from commit 93050e46144c5864fbf2b39eac798387d5758a2d)

Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
13 months ago[3.13] gh-123789: `secrets.randbits` returns only non-negative int (GH-123801) (...
Miss Islington (bot) [Tue, 24 Sep 2024 18:21:10 +0000 (20:21 +0200)] 
[3.13] gh-123789: `secrets.randbits` returns only non-negative int (GH-123801) (#123830)

gh-123789: `secrets.randbits` returns only non-negative int (GH-123801)
(cherry picked from commit beee91cdcc0dbecab252f7c5c7c51e2adb8edc26)

Co-authored-by: Wulian <1055917385@qq.com>
13 months ago[3.13] gh-123834: Add `symtable` to the list of modules with a CLI (GH-123835) (...
Miss Islington (bot) [Tue, 24 Sep 2024 18:20:48 +0000 (20:20 +0200)] 
[3.13] gh-123834: Add `symtable` to the list of modules with a CLI (GH-123835) (#123862)

gh-123834: Add `symtable` to the list of modules with a CLI (GH-123835)
(cherry picked from commit 32bc2d61411fb71bdc84eb29c6859517e7f25f36)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
13 months ago[3.13] Mention `curl` in `contextvars` docs (GH-123838) (#123868)
Miss Islington (bot) [Tue, 24 Sep 2024 18:17:51 +0000 (20:17 +0200)] 
[3.13] Mention `curl` in `contextvars` docs (GH-123838) (#123868)

Mention `curl` in `contextvars` docs (GH-123838)
(cherry picked from commit b950831c941a37c37b68a771610e072d11d33331)

Co-authored-by: sobolevn <mail@sobolevn.me>
13 months ago[3.13] gh-66449: remove duplicate configparser section in 3.13 whatsnew (GH-123874...
Miss Islington (bot) [Tue, 24 Sep 2024 18:16:48 +0000 (20:16 +0200)] 
[3.13] gh-66449: remove duplicate configparser section in 3.13 whatsnew (GH-123874) (#123879)

gh-66449: remove duplicate configparser section in 3.13 whatsnew (GH-123874)
(cherry picked from commit d359a7683e4339a3e057517ff25037aff2460353)

Co-authored-by: Anthony Sottile <asottile@umich.edu>
13 months ago[3.13] gh-123609: Clarify usage of standalone `PyBUF_FORMAT` (GH-123778) (#123903)
Miss Islington (bot) [Tue, 24 Sep 2024 18:16:12 +0000 (20:16 +0200)] 
[3.13] gh-123609: Clarify usage of standalone `PyBUF_FORMAT` (GH-123778) (#123903)

gh-123609: Clarify usage of standalone `PyBUF_FORMAT` (GH-123778)
(cherry picked from commit 962304a54ca79da0838cf46dd4fb744045167cdd)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
13 months ago[3.13] gh-123905: Update TOML description to include version number (GH-123906) ...
Miss Islington (bot) [Tue, 24 Sep 2024 18:15:30 +0000 (20:15 +0200)] 
[3.13] gh-123905: Update TOML description to include version number (GH-123906) (#123908)

gh-123905: Update TOML description to include version number (GH-123906)

Update TOML description to include version number

There is some movement, currently blocked, that would update the TOML spec to 1.1.0; this would include breaking changes to what characters are allowed. Thus, it is worthwhile for the library page to be clear which version is implemented here.

(cherry picked from commit 1b29f4144cb1631650b9b7f467453b5959fa237f)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Paul Hoffman <phoffman@proper.com>
13 months ago[3.13] gh-108951: Document how to terminate an asyncio.TaskGroup (GH-123837) (#123956)
Miss Islington (bot) [Tue, 24 Sep 2024 18:11:31 +0000 (20:11 +0200)] 
[3.13] gh-108951: Document how to terminate an asyncio.TaskGroup (GH-123837) (#123956)

gh-108951: Document how to terminate an asyncio.TaskGroup (GH-123837)

We don't want to add another API, since the recipe is straightforward and rarely needed.

The advantage is that we could backport this to the earliest Python version that has taskgroups (3.11, alas in security mode already, so we'll just do 3.12 and 3.13).
(cherry picked from commit ef05801ba0cbf090034df17e2a0420fb42c2d538)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
13 months ago[3.13] GH-87358: Add clarification about nargs and default argparse behaviour (GH...
Miss Islington (bot) [Tue, 24 Sep 2024 18:08:02 +0000 (20:08 +0200)] 
[3.13] GH-87358: Add clarification about nargs and default argparse behaviour (GH-124094) (#124440)

GH-87358: Add clarification about nargs and default argparse behaviour (GH-124094)
(cherry picked from commit 20ccda000b5f8365d5f864fd07876804157c2378)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
13 months ago[3.13] gh-116622: Switch test_stress_delivery_simultaneous from SIGUSR1 to SIGUSR2...
Miss Islington (bot) [Tue, 24 Sep 2024 17:21:26 +0000 (19:21 +0200)] 
[3.13] gh-116622: Switch test_stress_delivery_simultaneous from SIGUSR1 to SIGUSR2 (GH-123981) (#123988)

gh-116622: Switch test_stress_delivery_simultaneous from SIGUSR1 to SIGUSR2 (GH-123981)

Use SIGUSR1 instead of SIGUSR2 to improve reliability of signal stress test on Android.
(cherry picked from commit 43303e362e3a7e2d96747d881021a14c7f7e3d0b)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
13 months ago[3.13] gh-108219: Add credits to the free-threading entry in What's New (GH-123802...
Miss Islington (bot) [Tue, 24 Sep 2024 16:35:18 +0000 (18:35 +0200)] 
[3.13] gh-108219: Add credits to the free-threading entry in What's New (GH-123802) (#123847)

gh-108219: Add credits to the free-threading entry in What's New (GH-123802)
(cherry picked from commit aa3f11f80a644dac7184e8546ddfcc9b68be364c)

Co-authored-by: Donghee Na <donghee.na@python.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Itamar Oren <itamarost@gmail.com>
13 months ago[3.13] gh-121607: Edited source file import recipe to make it more clear (GH-121519...
Miss Islington (bot) [Tue, 24 Sep 2024 01:52:45 +0000 (03:52 +0200)] 
[3.13] gh-121607: Edited source file import recipe to make it more clear (GH-121519) (#124080)

gh-121607: Edited source file import recipe to make it more clear (GH-121519)
(cherry picked from commit 38809171b8768517824fb62d48abe2cb0aff8429)

Co-authored-by: Chris Barker <Chris.Barker@noaa.gov>
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
13 months ago[3.13] GH-103484: Fix permanently redirects reported by linkcheck (GH-124144) (#124151)
Miss Islington (bot) [Tue, 24 Sep 2024 00:43:04 +0000 (02:43 +0200)] 
[3.13] GH-103484: Fix permanently redirects reported by linkcheck (GH-124144) (#124151)

GH-103484: Fix permanently redirects reported by linkcheck (GH-124144)

Fix redirects reported by linkcheck, update docs conf.py checks.
(cherry picked from commit 0a32c6959c265d21d7c43fe8e4aefc8c0983e85e)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
13 months ago[3.13] gh-118577: Clarify that inspect.BoundArguments prefers to put values in args...
Miss Islington (bot) [Tue, 24 Sep 2024 00:35:29 +0000 (02:35 +0200)] 
[3.13] gh-118577: Clarify that inspect.BoundArguments prefers to put values in args (GH-119936) (#124005)

gh-118577: Clarify that inspect.BoundArguments prefers to put values in args (GH-119936)
(cherry picked from commit 8e99495701737c9d9706622f59581213ef163b23)

Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
13 months ago[3.13] gh-124083: Skip test_signal.test_strsignal() on NetBSD (GH-124084) (#124223)
Miss Islington (bot) [Tue, 24 Sep 2024 00:35:14 +0000 (02:35 +0200)] 
[3.13] gh-124083: Skip test_signal.test_strsignal() on NetBSD (GH-124084) (#124223)

gh-124083: Skip test_signal.test_strsignal() on NetBSD (GH-124084)

Skip test_strsignal() on NetBSD due to TypeError.
(cherry picked from commit 36682c091407dc9c7e750c22fb71e62466952662)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: T. Wouters <thomas@python.org>
13 months ago[3.13] gh-116622: Android test script improvements (GH-124012) (#124034)
Miss Islington (bot) [Tue, 24 Sep 2024 00:33:33 +0000 (02:33 +0200)] 
[3.13] gh-116622: Android test script improvements (GH-124012) (#124034)

gh-116622: Android test script improvements (GH-124012)

* Set Android test script stdout to line-buffered
* Print warning logcat messages on stderr
* Add a -vv option to display high-volume messages which are rarely useful
* Documentation and comment improvements
(cherry picked from commit 1f9d163850c43ba85193ef853986c5e96b168c8c)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
13 months ago[3.13] GH-101599: Update docs to remove redundant option in argparse tutorial (GH...
Miss Islington (bot) [Tue, 24 Sep 2024 00:31:56 +0000 (02:31 +0200)] 
[3.13] GH-101599: Update docs to remove redundant option in argparse tutorial (GH-124025) (#124037)

GH-101599: Update docs to remove redundant option in argparse tutorial (GH-124025)
(cherry picked from commit e5b0185e43c972ce98decd1493cd0b0c3a6b166b)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
13 months ago[3.13] gh-123811: Test that round(Decimal) can return signed zero (GH-124007) (#124048)
Miss Islington (bot) [Tue, 24 Sep 2024 00:31:28 +0000 (02:31 +0200)] 
[3.13] gh-123811: Test that round(Decimal) can return signed zero (GH-124007) (#124048)

gh-123811: Test that round(Decimal) can return signed zero (GH-124007)
(cherry picked from commit b46c65ed2b78214cb8914779ac4e8d343ac4775e)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
13 months ago[3.13] gh-119802: Update memory management docs for free-threaded build (gh-124006...
Miss Islington (bot) [Tue, 24 Sep 2024 00:31:01 +0000 (02:31 +0200)] 
[3.13] gh-119802: Update memory management docs for free-threaded build (gh-124006) (#124054)

gh-119802: Update memory management docs for free-threaded build (gh-124006)

* gh-119802: Update memory management docs for free-threaded build

* nit

* nit

* Address code review

* nit

* Update Doc/c-api/memory.rst

---------

(cherry picked from commit e6bb1a2b28ac8aed1e1b7f1c74221ca1d02a7235)

Co-authored-by: Donghee Na <donghee.na@python.org>
Co-authored-by: Sam Gross <colesbury@gmail.com>
13 months ago[3.13] gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031) (...
Miss Islington (bot) [Tue, 24 Sep 2024 00:28:10 +0000 (02:28 +0200)] 
[3.13] gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031) (#124063)

gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031)
(cherry picked from commit 9f42b62db998131bb5cd555e2fa72ba7e06e3130)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
13 months ago[3.13] gh-124043: Disallow mixing `--with-trace-refs` and `--disable-gil` (GH-124078...
Miss Islington (bot) [Tue, 24 Sep 2024 00:24:35 +0000 (02:24 +0200)] 
[3.13] gh-124043: Disallow mixing `--with-trace-refs` and `--disable-gil` (GH-124078) (#124138)

gh-124043: Disallow mixing `--with-trace-refs` and `--disable-gil` (GH-124078)

Tracing references is not currently thread-safe in the free-threaded build.
(cherry picked from commit 3b45df03a4bd0e21edec43144b8d9bac689d23a0)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
13 months ago[3.13] gh-121023: Improve `_xxtestfuzz/README.rst` (GH-121024) (#124140)
Miss Islington (bot) [Tue, 24 Sep 2024 00:23:54 +0000 (02:23 +0200)] 
[3.13] gh-121023: Improve `_xxtestfuzz/README.rst` (GH-121024) (#124140)

gh-121023: Improve `_xxtestfuzz/README.rst` (GH-121024)
(cherry picked from commit a9c2bc16349c2be3005f97249f3ae9699988f218)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
13 months ago[3.13] gh-116622: Complete Android documentation (GH-124259) (#124395)
Miss Islington (bot) [Tue, 24 Sep 2024 00:13:45 +0000 (02:13 +0200)] 
[3.13] gh-116622: Complete Android documentation (GH-124259) (#124395)

gh-116622: Complete Android documentation (GH-124259)
(cherry picked from commit e80dd3035fb805716bc49f9e7e9cab5f83614661)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: T. Wouters <thomas@python.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
13 months ago[3.13] Docs: Update two FAQs for Python 3 (GH-124247) (#124258)
Hugo van Kemenade [Mon, 23 Sep 2024 23:39:46 +0000 (16:39 -0700)] 
[3.13] Docs: Update two FAQs for Python 3 (GH-124247) (#124258)

Docs: Update two FAQs for Python 3 (#124247)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit 5f011115943933ff36adf997c886d73ea88003fb)

13 months ago[3.13] GH-124108: Skip test_locale.test_strcoll_with_diacritic() on NetBSD (GH-124110...
Miss Islington (bot) [Mon, 23 Sep 2024 23:37:06 +0000 (01:37 +0200)] 
[3.13] GH-124108: Skip test_locale.test_strcoll_with_diacritic() on NetBSD (GH-124110) (#124146)

GH-124108: Skip test_locale.test_strcoll_with_diacritic() on NetBSD (GH-124110)

Skip test_strcoll_with_diacritic() and test_strxfrm_with_diacritic()
of test_locale on NetBSD due to lack of UTF-8 LC_COLLATE
support.
(cherry picked from commit 10de3600a908f96d1c43dac85ef867991d54708e)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
13 months ago[3.13] GH-103484: Fix broken links reported by linkcheck (GH-124169) (#124179)
Miss Islington (bot) [Mon, 23 Sep 2024 23:34:48 +0000 (01:34 +0200)] 
[3.13] GH-103484: Fix broken links reported by linkcheck (GH-124169) (#124179)

GH-103484: Fix broken links reported by linkcheck (GH-124169)
(cherry picked from commit ab80c6b402eeec379315fa3df111f6bec2de6900)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
13 months ago[3.13] gh-123968: Fix lower bound for `python -m random --float` (GH-123971) (#124009)
Miss Islington (bot) [Mon, 23 Sep 2024 23:25:51 +0000 (01:25 +0200)] 
[3.13] gh-123968: Fix lower bound for `python -m random --float` (GH-123971) (#124009)

gh-123968: Fix lower bound for `python -m random --float` (GH-123971)
(cherry picked from commit a362c41bc934fabe6bfef9be1962005b38396860)

Co-authored-by: Anders Kaseorg <andersk@mit.edu>
13 months ago[3.13] gh-118915: Add/fix docs entries for some new 3.13 C API (GH-124134) (#124244)
Petr Viktorin [Mon, 23 Sep 2024 23:22:04 +0000 (01:22 +0200)] 
[3.13] gh-118915: Add/fix docs entries for some new 3.13 C API (GH-124134) (#124244)

gh-118915: Add/fix docs entries for some new 3.13 C API (GH-124134)

(cherry picked from commit 32119fc377a4d9df524a7bac02b6922a990361dd)

13 months ago[3.13] Fix `make htmllive` target (GH-124219) (#124221)
Miss Islington (bot) [Mon, 23 Sep 2024 23:21:35 +0000 (01:21 +0200)] 
[3.13] Fix `make htmllive` target (GH-124219) (#124221)

Fix `make htmllive` target (GH-124219)

Allow `make -C Doc htmllive` to work without manual venv activation

Set PATH to ensure that `sphinx-autobuild` can find `sphinx-build`.
(cherry picked from commit 9a6e2336e4b54fc13064b77826a67b03b3b45133)

Co-authored-by: Zachary Ware <zach@python.org>
13 months ago[3.13] gh-124040: Adjust few tests in testHypot/testDist to get exactly computed...
Miss Islington (bot) [Mon, 23 Sep 2024 23:18:18 +0000 (01:18 +0200)] 
[3.13] gh-124040: Adjust few tests in testHypot/testDist to get exactly computed results (GH-124042) (#124235)

gh-124040: Adjust few tests in testHypot/testDist to get exactly computed results (GH-124042)
(cherry picked from commit 4420cf4dc9ef7bd3c1c9b5465fa9397304bf0110)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
13 months ago[3.13] gh-124160: Pass main_tstate to update_global_state_for_extension() (GH-124164...
Miss Islington (bot) [Mon, 23 Sep 2024 23:16:41 +0000 (01:16 +0200)] 
[3.13] gh-124160: Pass main_tstate to update_global_state_for_extension() (GH-124164) (#124250)

gh-124160: Pass main_tstate to update_global_state_for_extension() (GH-124164)
(cherry picked from commit 7331d0f70bc9fbac177b76b6ec03486430383425)

Co-authored-by: luk1337 <priv.luk@gmail.com>
13 months ago[3.13] Fix typo in XMLParser doc (GH-124129) (#124280)
Miss Islington (bot) [Mon, 23 Sep 2024 22:53:10 +0000 (00:53 +0200)] 
[3.13] Fix typo in XMLParser doc (GH-124129) (#124280)

Fix typo in XMLParser doc (GH-124129)
(cherry picked from commit 622368d99c986ca1a9bdba951ac53f42d7ee6fca)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
13 months ago[3.13] gh-124130: Notes on empty string corner case of category `\B` (GH-124133)...
Miss Islington (bot) [Mon, 23 Sep 2024 22:50:54 +0000 (00:50 +0200)] 
[3.13] gh-124130: Notes on empty string corner case of category `\B` (GH-124133) (#124328)

gh-124130: Notes on empty string corner case of category `\B` (GH-124133)
(cherry picked from commit d3e79d75d164c338a64fd66edb26e69c501cee58)

Signed-off-by: y5c4l3 <y5c4l3@proton.me>
Co-authored-by: Y5 <124019959+y5c4l3@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
13 months ago[3.13] GH-79714: Add mention of stderr for clarity to ArgumentParser.exit() (GH-12393...
Miss Islington (bot) [Mon, 23 Sep 2024 22:50:24 +0000 (00:50 +0200)] 
[3.13] GH-79714: Add mention of stderr for clarity to ArgumentParser.exit() (GH-123932) (#124331)

GH-79714: Add mention of stderr for clarity to ArgumentParser.exit() (GH-123932)
(cherry picked from commit 5f5c0b9c23238dc0a1fdb764f625ae0cc5604519)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
13 months ago[3.13] Fix doctrees directory for the gettext builder (GH-122997) (#124338)
Miss Islington (bot) [Mon, 23 Sep 2024 22:49:53 +0000 (00:49 +0200)] 
[3.13] Fix doctrees directory for the gettext builder (GH-122997) (#124338)

Fix doctrees directory for the gettext builder (GH-122997)
(cherry picked from commit 315a933a5b3ae4379077096b6852f85a81a7d75f)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
13 months ago[3.13] Replace the term `Immutable` with a `Hashable` in the `sequence` entry of...
Miss Islington (bot) [Mon, 23 Sep 2024 22:46:35 +0000 (00:46 +0200)] 
[3.13] Replace the term `Immutable` with a `Hashable` in the `sequence` entry of the Glossary (GH-124350) (#124352)

Replace the term `Immutable` with a `Hashable` in the `sequence` entry of the Glossary (GH-124350)

The term `Immutable` in the `sequence` entry of the glossary is used incorrectly, in fact dicts accepts hashable keys, which is not the same as immutable.
(cherry picked from commit 6203ef35dd4ee9dd59759ce83eace8eacac69685)

Co-authored-by: decorator-factory <42166884+decorator-factory@users.noreply.github.com>
13 months ago[3.13] Doc: Add ``make dist-no-html`` (GH-124383) (#124387)
Miss Islington (bot) [Mon, 23 Sep 2024 22:30:30 +0000 (00:30 +0200)] 
[3.13] Doc: Add ``make dist-no-html`` (GH-124383) (#124387)

Doc: Add ``make dist-no-html`` (GH-124383)
(cherry picked from commit 0060486862bfa8e6583beb627be154daaaaa9e2a)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
13 months ago[3.13] GH-109975: Copyedit 3.13 What's New: Build Changes (GH-124343) (#124360)
Miss Islington (bot) [Mon, 23 Sep 2024 20:45:47 +0000 (22:45 +0200)] 
[3.13] GH-109975: Copyedit 3.13 What's New: Build Changes (GH-124343) (#124360)

GH-109975: Copyedit 3.13 What's New: Build Changes (GH-124343)
(cherry picked from commit f3b2c36deb1436b7c5abac826f5639efa1fb9fd4)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Malcolm Smith <smith@chaquo.com>
13 months ago[3.13] GH-109975: Copyedit 3.13 What's New: Copyedit C API deprecations pending remov...
Miss Islington (bot) [Mon, 23 Sep 2024 20:45:08 +0000 (22:45 +0200)] 
[3.13] GH-109975: Copyedit 3.13 What's New: Copyedit C API deprecations pending removal (GH-124336) (#124362)

GH-109975: Copyedit 3.13 What's New: Copyedit C API deprecations pending removal (GH-124336)
(cherry picked from commit e7d465a607b77a552d1e07f3fafa81ef5fc799d2)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
13 months ago[3.13] GH-109975: Copyedit 3.13 What's New: Trivia (GH-124348) (#124376)
Miss Islington (bot) [Mon, 23 Sep 2024 20:23:43 +0000 (22:23 +0200)] 
[3.13] GH-109975: Copyedit 3.13 What's New: Trivia (GH-124348) (#124376)

GH-109975: Copyedit 3.13 What's New: Trivia (GH-124348)
(cherry picked from commit 9e55a02fab77794c421b91429292ed227de0e24a)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
13 months ago[3.13] GH-109975: Copyedit 3.13 What's New: Porting to Python 3.13 (GH-124341) (...
Miss Islington (bot) [Mon, 23 Sep 2024 19:56:46 +0000 (21:56 +0200)] 
[3.13] GH-109975: Copyedit 3.13 What's New: Porting to Python 3.13 (GH-124341) (#124357)

GH-109975: Copyedit 3.13 What's New: Porting to Python 3.13 (GH-124341)

Copyedit Porting to Python 3.13
(cherry picked from commit 2f6d4109b84d40b76e8814233ecfcc02291f71be)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
13 months ago[3.13] gh-123880: Allow recursive import of single-phase-init modules (GH-123950...
Miss Islington (bot) [Mon, 23 Sep 2024 19:56:00 +0000 (21:56 +0200)] 
[3.13] gh-123880: Allow recursive import of single-phase-init modules (GH-123950) (#124273)

gh-123880: Allow recursive import of single-phase-init modules (GH-123950)

(cherry picked from commit aee219f4558dda619bd86e4b0e028ce47a5e4b77)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Brett Cannon <brett@python.org>
13 months ago[3.13] Use pep role instead of url (GH-121611) (#124172)
Miss Islington (bot) [Mon, 23 Sep 2024 18:39:16 +0000 (20:39 +0200)] 
[3.13] Use pep role instead of url (GH-121611) (#124172)

Use pep role instead of url (GH-121611)
(cherry picked from commit 33eeccf6d4f16e483b4c8a180bad718545aeaeaf)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
13 months ago[3.13] Fix "The Matrix" movie release year in `typing.rst` (GH-123965) (#123966)
Miss Islington (bot) [Mon, 23 Sep 2024 18:34:44 +0000 (20:34 +0200)] 
[3.13] Fix "The Matrix" movie release year in `typing.rst` (GH-123965) (#123966)

Fix "The Matrix" movie release year in `typing.rst` (GH-123965)
(cherry picked from commit 3bd942f106aa36c261a2d90104c027026b2a8fb6)

Co-authored-by: sobolevn <mail@sobolevn.me>
13 months ago[3.13] GH-109975: Copyedit 3.13 What's New: C API (GH-124313) (#124334)
Adam Turner [Mon, 23 Sep 2024 18:14:13 +0000 (19:14 +0100)] 
[3.13] GH-109975: Copyedit 3.13 What's New: C API (GH-124313) (#124334)

* [3.13] GH-109975: Copyedit 3.13 What's New: C API (GH-124313)
(cherry picked from commit 9d0a75269c6ae361b1ed5910c3b3424ed93b6f6d)

* gh-118915: Add/fix docs entries for some new 3.13 C API (GH-124134)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
13 months ago[3.13] gh-124194: Fix wrong issue number in What's New in Python 3.8 (GH-124195)...
Miss Islington (bot) [Mon, 23 Sep 2024 18:11:55 +0000 (20:11 +0200)] 
[3.13] gh-124194: Fix wrong issue number in What's New in Python 3.8 (GH-124195) (#124197)

gh-124194: Fix wrong issue number in What's New in Python 3.8 (GH-124195)
(cherry picked from commit d8c0fe1944ac41787e16fa60e608f56c8235e100)

Co-authored-by: Bradley Reynolds <bradley.reynolds@darbia.dev>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
13 months ago[3.13] GH-103484: Tell linkcheck to ignore debian manpage redirects (GH-123019) ...
Miss Islington (bot) [Mon, 23 Sep 2024 18:10:59 +0000 (20:10 +0200)] 
[3.13] GH-103484: Tell linkcheck to ignore debian manpage redirects (GH-123019) (#124137)

GH-103484: Tell linkcheck to ignore debian manpage redirects (GH-123019)
(cherry picked from commit 1054a755a3016f95fcd24b3ad20e8ed9048b7939)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
13 months ago[3.13] Docs: Drop letter PDF (GH-123912) (#123998)
Miss Islington (bot) [Mon, 23 Sep 2024 18:09:03 +0000 (20:09 +0200)] 
[3.13] Docs: Drop letter PDF (GH-123912) (#123998)

Docs: Drop letter PDF (GH-123912)
(cherry picked from commit f5597dbd0e7938648bfd9244f4a9225825b36b2b)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
13 months ago[3.13] GH-109975: Copyedit 3.13 What's New: New Deprecations (GH-123845) (#124135)
Adam Turner [Mon, 23 Sep 2024 18:08:44 +0000 (19:08 +0100)] 
[3.13] GH-109975: Copyedit 3.13 What's New: New Deprecations (GH-123845) (#124135)

.
(cherry picked from commit 05235e3c16d755e292ebf6e2bd6c4903bb6849b9)

13 months ago[3.13] Minor edits to the descriptor guide (GH-123928) (#124079)
Miss Islington (bot) [Mon, 23 Sep 2024 18:07:56 +0000 (20:07 +0200)] 
[3.13] Minor edits to the descriptor guide (GH-123928) (#124079)

Minor edits to the descriptor guide (GH-123928)
(cherry picked from commit cd06f5e32369c7816c7360cbb20fbe9f38b4f3a7)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
13 months ago[3.13] gh-122957: Fix test flakiness in asyncio test in free-thread build (GH-124039...
Miss Islington (bot) [Mon, 23 Sep 2024 18:07:41 +0000 (20:07 +0200)] 
[3.13] gh-122957: Fix test flakiness in asyncio test in free-thread build (GH-124039) (#124067)

gh-122957: Fix test flakiness in asyncio test in free-thread build (GH-124039)
(cherry picked from commit eadb9660ed836b40667d4f662eae90287ff18397)

Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
13 months ago[3.13] Update to 3.13 the output of exceptions raised (GH-123888) (#124055)
Miss Islington (bot) [Mon, 23 Sep 2024 17:53:31 +0000 (19:53 +0200)] 
[3.13] Update to 3.13 the output of exceptions raised (GH-123888) (#124055)

Update to 3.13 the output of exceptions raised (GH-123888)
(cherry picked from commit 39612103dd9894abf8c2ebbe2fc183d65f1b51b1)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
13 months ago[3.13] Normalize cdecl formatting as found elsewhere on ctypes.rst (GH-121379) (...
Miss Islington (bot) [Mon, 23 Sep 2024 17:53:07 +0000 (19:53 +0200)] 
[3.13] Normalize cdecl formatting as found elsewhere on ctypes.rst (GH-121379) (#124056)

Normalize cdecl formatting as found elsewhere on ctypes.rst (GH-121379)
(cherry picked from commit bbb36c0934b7644a9f8b67d3cae78aa6240e005a)

Co-authored-by: utkonos <utkonos@users.noreply.github.com>
13 months ago[3.13] gh-124027: Support Del, PgUp, and PgDn on TERM=vt100 (GH-124028) (#124029)
Miss Islington (bot) [Fri, 13 Sep 2024 01:36:34 +0000 (03:36 +0200)] 
[3.13] gh-124027: Support Del, PgUp, and PgDn on TERM=vt100 (GH-124028) (#124029)

gh-124027: Support Del, PgUp, and PgDn on TERM=vt100 (GH-124028)

pyrepl: Support Del, PgUp, and PgDn on TERM=vt100

From Fedora's /etc/inputrc:

    "\e[5~": history-search-backward
    "\e[6~": history-search-forward
    "\e[3~": delete-char

Fixes https://github.com/python/cpython/issues/124027
(cherry picked from commit f4e5643df64d0c2a009ed224560044b3409a47c0)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
14 months agoPost 3.13.0rc2
Thomas Wouters [Sat, 7 Sep 2024 00:21:10 +0000 (02:21 +0200)] 
Post 3.13.0rc2

14 months agoPython 3.13.0rc2 v3.13.0rc2
Thomas Wouters [Fri, 6 Sep 2024 21:11:45 +0000 (23:11 +0200)] 
Python 3.13.0rc2

14 months ago[3.13] gh-123780: Make test_pkgutil clean up `spam` module (GH-123036) (#123781)
Miss Islington (bot) [Fri, 6 Sep 2024 20:57:46 +0000 (22:57 +0200)] 
[3.13] gh-123780: Make test_pkgutil clean up `spam` module (GH-123036) (#123781)

gh-123780: Make test_pkgutil clean up `spam` module (GH-123036)
(cherry picked from commit eca3fe40c251d51964172dd4e6e9c7d0d85d7d4a)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
14 months ago[3.13] gh-123523: Rework typing documentation for generators and coroutines, and...
Miss Islington (bot) [Fri, 6 Sep 2024 20:56:37 +0000 (22:56 +0200)] 
[3.13] gh-123523: Rework typing documentation for generators and coroutines, and link to it from `collections.abc` docs (GH-123544) (#123790)

gh-123523: Rework typing documentation for generators and coroutines, and link to it from `collections.abc` docs (GH-123544)
(cherry picked from commit 56e4a417ce170e5c538ce9aafccf3333e7bf7492)

Co-authored-by: Stanislav Terliakov <50529348+sterliakov@users.noreply.github.com>
14 months ago[3.13] gh-123321: Make Parser/myreadline.c locking safe in free-threaded build (GH...
Miss Islington (bot) [Fri, 6 Sep 2024 20:55:42 +0000 (22:55 +0200)] 
[3.13] gh-123321: Make Parser/myreadline.c locking safe in free-threaded build (GH-123690) (#123798)

gh-123321: Make Parser/myreadline.c locking safe in free-threaded build (GH-123690)

Use a `PyMutex` to avoid the race in mutex initialization. Use relaxed
atomics to avoid the data race on reading `_PyOS_ReadlineTState` when
checking for re-entrant calls.
(cherry picked from commit 0c080d7c77d826c1afab7bd6b73f61e714cffcb7)

Co-authored-by: Sam Gross <colesbury@gmail.com>
14 months ago[3.13] gh-123716: Fix 'Bad substitution' syntax error in configure script for NetBSD...
Miss Islington (bot) [Fri, 6 Sep 2024 20:55:29 +0000 (22:55 +0200)] 
[3.13] gh-123716: Fix 'Bad substitution' syntax error in configure script for NetBSD compatibility (GH-123717) (#123752)

gh-123716: Fix 'Bad substitution' syntax error in configure script for NetBSD compatibility (GH-123717)
(cherry picked from commit 42f52431e9961d5236b33a68af16cca07b74d02c)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
14 months ago[3.13] gh-120221: Support KeyboardInterrupt in asyncio REPL (GH-123795) (#123799)
Miss Islington (bot) [Fri, 6 Sep 2024 20:25:19 +0000 (22:25 +0200)] 
[3.13] gh-120221: Support KeyboardInterrupt in asyncio REPL (GH-123795) (#123799)

This switches the main pyrepl event loop to always be non-blocking so that it
can listen to incoming interruptions from other threads.

This also resolves invalid display of exceptions from other threads
(gh-123178).

This also fixes freezes with pasting and an active input hook.
(cherry picked from commit 033510e11dff742d9626b9fd895925ac77f566f1)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
14 months ago[3.13] gh-109975: Add links to py-free-threading.github.io (GH-123776) (#123794)
Miss Islington (bot) [Fri, 6 Sep 2024 17:46:40 +0000 (19:46 +0200)] 
[3.13] gh-109975: Add links to py-free-threading.github.io (GH-123776) (#123794)

Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
14 months ago[3.13] GH-123545: Remove duplicate Py_DECREF when handling _PyOptimizer_Optimize...
Savannah Ostrowski [Fri, 6 Sep 2024 16:02:32 +0000 (09:02 -0700)] 
[3.13] GH-123545: Remove duplicate Py_DECREF when handling _PyOptimizer_Optimize errors (GH-123759)

(cherry picked from commit 1fbc118c5d3916e920a57cda3cb6d9a0292de26e)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
14 months ago[3.13] gh-123747: Avoid static_assert() in internal header files (#123779) (#123785)
Victor Stinner [Fri, 6 Sep 2024 14:41:09 +0000 (16:41 +0200)] 
[3.13] gh-123747: Avoid static_assert() in internal header files (#123779) (#123785)

gh-123747: Avoid static_assert() in internal header files (#123779)

(cherry picked from commit ef4b69d2becf49daaea21eb04effee81328a0393)

14 months ago[3.13] gh-119310: Fix encoding when reading old history file (GH-121779) (#123784)
Miss Islington (bot) [Fri, 6 Sep 2024 14:23:47 +0000 (16:23 +0200)] 
[3.13] gh-119310: Fix encoding when reading old history file (GH-121779) (#123784)

(cherry picked from commit e95984826eb3cdb3a3baedb2ccea35e11e9f8161)

Co-authored-by: aorcajo <589252+aorcajo@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
14 months ago[3.13] gh-123207: Clarify the documentation for the mro lookup for super() (GH-123417...
Miss Islington (bot) [Fri, 6 Sep 2024 13:45:22 +0000 (15:45 +0200)] 
[3.13] gh-123207: Clarify the documentation for the mro lookup for super() (GH-123417) (#123732)

(cherry picked from commit 327463aef173a1cb9659bccbecfff4530bbe6bbf)

Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
14 months ago[3.13] gh-123463: Include logging_flow diagram in non-HTML docs (GH-123464) (#123666)
Miss Islington (bot) [Fri, 6 Sep 2024 13:44:07 +0000 (15:44 +0200)] 
[3.13] gh-123463: Include logging_flow diagram in non-HTML docs (GH-123464) (#123666)

(cherry picked from commit 7d2c2f24daf7a2abd166bb51652ba55c6f55695f)

Co-authored-by: Alexander Bessman <bessman@users.noreply.github.com>
14 months ago[3.13] gh-123657: Fix crash and refleak in `decimal.getcontext()` (GH-123703) (GH...
Miss Islington (bot) [Fri, 6 Sep 2024 13:18:01 +0000 (15:18 +0200)] 
[3.13] gh-123657: Fix crash and refleak in `decimal.getcontext()` (GH-123703) (GH-123774)

(cherry picked from commit 853588e24c907be158b3a08601797ea5b47a0eba)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
14 months ago[3.13] gh-119034, REPL: Change page up/down keys to search in history (GH-123607...
Miss Islington (bot) [Fri, 6 Sep 2024 12:04:11 +0000 (14:04 +0200)] 
[3.13] gh-119034, REPL: Change page up/down keys to search in history (GH-123607) (GH-123773)

Change <page up> and <page down> keys of the Python REPL to history
search forward/backward.

(cherry picked from commit 8311b11800509c975023e062e2c336f417c5e4c0)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
14 months ago[3.13] gh-111201: fix auto-indent in pyrepl for muliple pound comments (GH-123196...
Miss Islington (bot) [Fri, 6 Sep 2024 11:09:22 +0000 (13:09 +0200)] 
[3.13] gh-111201: fix auto-indent in pyrepl for muliple pound comments (GH-123196) (GH-123764)

(cherry picked from commit d683f49a7b0635a26150cfbb398a3d93b227a74e)

Co-authored-by: Arnon Yaari <wiggin15@yahoo.com>
14 months ago[3.13] gh-103066: Add links and `help` in site.py constants (GH-103777) (#123762)
Miss Islington (bot) [Fri, 6 Sep 2024 08:08:29 +0000 (10:08 +0200)] 
[3.13] gh-103066: Add links and `help` in site.py constants (GH-103777) (#123762)

Co-authored-by: David Caron <dcaron05@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
14 months ago[3.13] Ensure clang++ is autodetected on iOS. (gh-123749) (#123758)
Miss Islington (bot) [Fri, 6 Sep 2024 02:13:27 +0000 (04:13 +0200)] 
[3.13] Ensure clang++ is autodetected on iOS. (gh-123749) (#123758)

Ensure clang++ is autodetected on iOS. (gh-123749)
(cherry picked from commit d359c7c47b7e713cfbf7ba335d96b5f45e0f13e3)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
14 months ago[3.13] gh-123275: Add tests for `PYTHON_GIL=1` and `-Xgil=1` (gh-123754) (gh-123755)
Miss Islington (bot) [Fri, 6 Sep 2024 02:02:05 +0000 (04:02 +0200)] 
[3.13] gh-123275: Add tests for `PYTHON_GIL=1` and `-Xgil=1` (gh-123754) (gh-123755)

gh-123275: Add tests for `PYTHON_GIL=1` and `-Xgil=1` (gh-123754)
(cherry picked from commit fe24b718d231317516f96f896e7c17a4166f25a7)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
14 months ago[3.13] gh-123275: Support `-Xgil=1` and `PYTHON_GIL=1` on non-free-threaded builds...
Miss Islington (bot) [Fri, 6 Sep 2024 01:09:35 +0000 (03:09 +0200)] 
[3.13] gh-123275: Support `-Xgil=1` and `PYTHON_GIL=1` on non-free-threaded builds (gh-123276) (gh-123753)

gh-123275: Support `-Xgil=1` and `PYTHON_GIL=1` on non-free-threaded builds (gh-123276)
(cherry picked from commit 84ad264ce602fb263a46a4536377bdc830eea81e)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
14 months ago[3.13] Swap the and from in sentence in init_config.rst (GH-120086) (#123744)
Miss Islington (bot) [Thu, 5 Sep 2024 20:26:23 +0000 (22:26 +0200)] 
[3.13] Swap the and from in sentence in init_config.rst (GH-120086) (#123744)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
14 months ago[3.13] gh-85453: Improve instance attributes mark up on datetime.rst (GH-123655)...
Miss Islington (bot) [Thu, 5 Sep 2024 18:16:48 +0000 (20:16 +0200)] 
[3.13] gh-85453: Improve instance attributes mark up on datetime.rst (GH-123655) (#123740)

Co-authored-by: edson duarte <eduarte.uatach@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>