Commit graph

123038 commits

Author SHA1 Message Date
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
Miss Islington (bot)
d4fba9077f
[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 e7d465a607)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-23 13:45:08 -07:00
Miss Islington (bot)
161e155edd
[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 9e55a02fab)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-23 20:23:43 +00:00
Miss Islington (bot)
779a35b56e
[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 2f6d4109b8)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-23 12:56:46 -07:00
Miss Islington (bot)
de8dc92db7
[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 aee219f455)

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>
2024-09-23 12:56:00 -07:00
Miss Islington (bot)
8d5911ef6b
[3.13] Use pep role instead of url (GH-121611) (#124172)
Use pep role instead of url (GH-121611)
(cherry picked from commit 33eeccf6d4)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2024-09-23 11:39:16 -07:00
Miss Islington (bot)
bbec2ea88f
[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 3bd942f106)

Co-authored-by: sobolevn <mail@sobolevn.me>
2024-09-23 11:34:44 -07:00
Adam Turner
86f30dd539
[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 9d0a75269c)

* 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>
2024-09-23 11:14:13 -07:00
Miss Islington (bot)
af8e77e245
[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 d8c0fe1944)

Co-authored-by: Bradley Reynolds <bradley.reynolds@darbia.dev>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-23 11:11:55 -07:00
Miss Islington (bot)
3f52fef151
[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 1054a755a3)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2024-09-23 11:10:59 -07:00
Miss Islington (bot)
355dc72546
[3.13] Docs: Drop letter PDF (GH-123912) (#123998)
Docs: Drop letter PDF (GH-123912)
(cherry picked from commit f5597dbd0e)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-09-23 11:09:03 -07:00
Adam Turner
0f9c567b97
[3.13] GH-109975: Copyedit 3.13 What's New: New Deprecations (GH-123845) (#124135)
.
(cherry picked from commit 05235e3c16)
2024-09-23 11:08:44 -07:00
Miss Islington (bot)
b2ffd492cd
[3.13] Minor edits to the descriptor guide (GH-123928) (#124079)
Minor edits to the descriptor guide (GH-123928)
(cherry picked from commit cd06f5e323)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2024-09-23 11:07:56 -07:00
Miss Islington (bot)
4cd4bf10be
[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 eadb9660ed)

Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2024-09-23 11:07:41 -07:00
Miss Islington (bot)
72139f276e
[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 39612103dd)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2024-09-23 10:53:31 -07:00
Miss Islington (bot)
6d482ff296
[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 bbb36c0934)

Co-authored-by: utkonos <utkonos@users.noreply.github.com>
2024-09-23 10:53:07 -07:00
Miss Islington (bot)
112b1704fa
[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 f4e5643df6)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
2024-09-13 01:36:34 +00:00
Thomas Wouters
660baa14d6 Post 3.13.0rc2 2024-09-07 02:21:10 +02:00
Thomas Wouters
ec61006963 Python 3.13.0rc2 2024-09-06 23:15:21 +02:00
Miss Islington (bot)
72cdd2ade6
[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 eca3fe40c2)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
2024-09-06 22:57:46 +02:00
Miss Islington (bot)
e62cb77c25
[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 56e4a417ce)

Co-authored-by: Stanislav Terliakov <50529348+sterliakov@users.noreply.github.com>
2024-09-06 22:56:37 +02:00