Commit graph

123108 commits

Author SHA1 Message Date
Miss Islington (bot)
068e734bb5
[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 6318ffcba2)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-25 17:20:57 -07:00
Miss Islington (bot)
9fba1063a1
[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 828583a785)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
2024-09-25 17:16:18 -07:00
Miss Islington (bot)
6607c72991
[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 f8651a2988)

Co-authored-by: Robert Wolff <mahlzahn@posteo.de>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2024-09-25 17:16:02 -07:00
Miss Islington (bot)
139f47fe5d
[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 8447c933da)

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>
2024-09-25 17:13:14 -07:00
Miss Islington (bot)
5b7d4cef82
[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 0d38409f42)

Co-authored-by: Tom Most <twm@freecog.net>
2024-09-25 17:12:48 -07:00
Miss Islington (bot)
c5d097294e
[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 54dd77fb8c)

Co-authored-by: Zachary Ware <zach@python.org>
2024-09-25 17:12:20 -07:00
Miss Islington (bot)
56467a66d2
[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 ffdc80e93d)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-09-25 17:10:15 -07:00
Miss Islington (bot)
2f25d855df
[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 5a60566074)

Co-authored-by: Victor Stinner <vstinner@python.org>
2024-09-24 22:23:17 +00:00
Miss Islington (bot)
8c0c3443f3
[3.13] gh-124120: Document Annotated.__origin__ (GH-124125) (#124416)
gh-124120: Document `Annotated.__origin__` (GH-124125)
(cherry picked from commit faef3fa653)

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>
2024-09-24 11:34:21 -07:00
Miss Islington (bot)
e5105ccbe1
[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 e69ff34e81)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
2024-09-24 11:26:32 -07:00
Victor Stinner
5615351a4b
[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 38a5beb12a)
2024-09-24 11:26:02 -07:00
Miss Islington (bot)
a573b23124
[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 fe85a8291d)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>

* Update Lib/idlelib/Icons/README.txt

---------

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2024-09-24 11:22:38 -07:00
Miss Islington (bot)
4ab684d694
[3.13] Remove excessive backticks in logging doc (GH-123813) (#123816)
Remove excessive backticks in logging doc (GH-123813)
(cherry picked from commit 93050e4614)

Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
2024-09-24 11:21:29 -07:00
Miss Islington (bot)
c184b0680a
[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 beee91cdcc)

Co-authored-by: Wulian <1055917385@qq.com>
2024-09-24 11:21:10 -07:00
Miss Islington (bot)
4163260c57
[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 32bc2d6141)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-09-24 11:20:48 -07:00
Miss Islington (bot)
5be6c4e3c7
[3.13] Mention curl in contextvars docs (GH-123838) (#123868)
Mention `curl` in `contextvars` docs (GH-123838)
(cherry picked from commit b950831c94)

Co-authored-by: sobolevn <mail@sobolevn.me>
2024-09-24 11:17:51 -07:00
Miss Islington (bot)
90bd056bc7
[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 d359a7683e)

Co-authored-by: Anthony Sottile <asottile@umich.edu>
2024-09-24 11:16:48 -07:00
Miss Islington (bot)
ed69247c44
[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 962304a54c)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2024-09-24 11:16:12 -07:00
Miss Islington (bot)
857a161bb8
[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 1b29f4144c)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Paul Hoffman <phoffman@proper.com>
2024-09-24 11:15:30 -07:00
Miss Islington (bot)
951c7dba79
[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 ef05801ba0)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-09-24 11:11:31 -07:00
Miss Islington (bot)
b4b182a84d
[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 20ccda000b)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
2024-09-24 11:08:02 -07:00
Miss Islington (bot)
7c9bbaaaa3
[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 43303e362e)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2024-09-24 10:21:26 -07:00
Miss Islington (bot)
87f51a2609
[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 aa3f11f80a)

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>
2024-09-24 09:35:18 -07:00
Miss Islington (bot)
e9b00cc788
[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 38809171b8)

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>
2024-09-24 01:52:45 +00:00
Miss Islington (bot)
6867604781
[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 0a32c6959c)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2024-09-24 00:43:04 +00:00
Miss Islington (bot)
5fa7f5a734
[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 8e99495701)

Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
2024-09-23 17:35:29 -07:00
Miss Islington (bot)
2cf67d3696
[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 36682c0914)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: T. Wouters <thomas@python.org>
2024-09-24 00:35:14 +00:00
Miss Islington (bot)
e9b531d239
[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 1f9d163850)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2024-09-23 17:33:33 -07:00
Miss Islington (bot)
d4225b6322
[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 e5b0185e43)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
2024-09-23 17:31:56 -07:00
Miss Islington (bot)
9a1e9dd111
[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 b46c65ed2b)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2024-09-23 17:31:28 -07:00
Miss Islington (bot)
181c2b8669
[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 e6bb1a2b28)

Co-authored-by: Donghee Na <donghee.na@python.org>
Co-authored-by: Sam Gross <colesbury@gmail.com>
2024-09-23 17:31:01 -07:00
Miss Islington (bot)
06a1b0c2c3
[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 9f42b62db9)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
2024-09-23 17:28:10 -07:00
Miss Islington (bot)
8af2d18111
[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 3b45df03a4)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2024-09-23 17:24:35 -07:00
Miss Islington (bot)
9d21c46e31
[3.13] gh-121023: Improve _xxtestfuzz/README.rst (GH-121024) (#124140)
gh-121023: Improve `_xxtestfuzz/README.rst` (GH-121024)
(cherry picked from commit a9c2bc1634)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
2024-09-23 17:23:54 -07:00
Miss Islington (bot)
9a60a9ddaf
[3.13] gh-116622: Complete Android documentation (GH-124259) (#124395)
gh-116622: Complete Android documentation (GH-124259)
(cherry picked from commit e80dd3035f)

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>
2024-09-24 00:13:45 +00:00
Hugo van Kemenade
afeb7a4ff5
[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 5f01111594)
2024-09-23 23:39:46 +00:00
Miss Islington (bot)
3b203033d8
[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 10de3600a9)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
2024-09-23 16:37:06 -07:00
Miss Islington (bot)
74edb7d9bc
[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 ab80c6b402)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2024-09-23 16:34:48 -07:00
Miss Islington (bot)
7b8affa46b
[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 a362c41bc9)

Co-authored-by: Anders Kaseorg <andersk@mit.edu>
2024-09-23 16:25:51 -07:00
Petr Viktorin
a439f8531f
[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 32119fc377)
2024-09-23 16:22:04 -07:00
Miss Islington (bot)
057f3faecf
[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 9a6e2336e4)

Co-authored-by: Zachary Ware <zach@python.org>
2024-09-23 16:21:35 -07:00
Miss Islington (bot)
9649af50ca
[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 4420cf4dc9)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2024-09-23 16:18:18 -07:00
Miss Islington (bot)
9bae6815a3
[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 7331d0f70b)

Co-authored-by: luk1337 <priv.luk@gmail.com>
2024-09-23 16:16:41 -07:00
Miss Islington (bot)
848a21007b
[3.13] Fix typo in XMLParser doc (GH-124129) (#124280)
Fix typo in XMLParser doc (GH-124129)
(cherry picked from commit 622368d99c)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
2024-09-23 15:53:10 -07:00
Miss Islington (bot)
5760330c7a
[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 d3e79d75d1)

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>
2024-09-23 15:50:54 -07:00
Miss Islington (bot)
a052faf58e
[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 5f5c0b9c23)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
2024-09-23 15:50:24 -07:00
Miss Islington (bot)
1503835b1b
[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 315a933a5b)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2024-09-23 15:49:53 -07:00
Miss Islington (bot)
12ae55ecb7
[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 6203ef35dd)

Co-authored-by: decorator-factory <42166884+decorator-factory@users.noreply.github.com>
2024-09-23 15:46:35 -07:00
Miss Islington (bot)
c0ce0399fd
[3.13] Doc: Add `make dist-no-html` (GH-124383) (#124387)
Doc: Add ``make dist-no-html`` (GH-124383)
(cherry picked from commit 0060486862)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-09-23 22:30:30 +00:00
Miss Islington (bot)
6364c46f29
[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 f3b2c36deb)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Malcolm Smith <smith@chaquo.com>
2024-09-23 13:45:47 -07:00