]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
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>
14 months ago[3.13] gh-123240: Raise input audit events in the new REPL (GH-123274) (#123737)
Miss Islington (bot) [Thu, 5 Sep 2024 15:45:20 +0000 (17:45 +0200)] 
[3.13] gh-123240: Raise input audit events in the new REPL (GH-123274) (#123737)

(cherry picked from commit aa1339aaaa6363c38186defaa079d069b4cb08b2)

Co-authored-by: sobolevn <mail@sobolevn.me>
14 months ago[3.13] gh-123418: Update macOS installer to use OpenSSL 3.0.15 (GH-123684) (#123729)
Miss Islington (bot) [Thu, 5 Sep 2024 13:17:35 +0000 (15:17 +0200)] 
[3.13] gh-123418: Update macOS installer to use OpenSSL 3.0.15 (GH-123684) (#123729)

(cherry picked from commit 092abc4060768f2ae8b7b9c133558bf05bfeff88)

Co-authored-by: Zachary Ware <zach@python.org>
14 months ago[3.13] gh-123678: Upgrade libexpat 2.6.3 (GH-123689) (GH-123707)
Miss Islington (bot) [Thu, 5 Sep 2024 11:37:40 +0000 (13:37 +0200)] 
[3.13] gh-123678: Upgrade libexpat 2.6.3 (GH-123689) (GH-123707)

gh-123678: Upgrade libexpat 2.6.3 (GH-123689)

(cherry picked from commit 40bdb0deee746e51c71c56329df21e5172fd8aa0)

Co-authored-by: Seth Michael Larson <seth@python.org>
14 months ago[3.13] gh-123392: Clarify wording regarding parameters that are functions to be calle...
Miss Islington (bot) [Thu, 5 Sep 2024 10:49:51 +0000 (12:49 +0200)] 
[3.13] gh-123392: Clarify wording regarding parameters that are functions to be called (GH-123394) (GH-123664)

(cherry picked from commit c08ede27140121a919e884c7e8dfdce7b1a2e906)

Co-authored-by: ryan-duve <ryan-duve@users.noreply.github.com>
14 months ago[3.13] gh-123418: Update Android build to use OpenSSL 3.0.15 (GH-123685) (#123715)
Miss Islington (bot) [Wed, 4 Sep 2024 23:08:38 +0000 (01:08 +0200)] 
[3.13] gh-123418: Update Android build to use OpenSSL 3.0.15 (GH-123685) (#123715)

gh-123418: Update Android build to use OpenSSL 3.0.15 (GH-123685)
(cherry picked from commit 1fdfce9452706a8a12ccdacff6d02c9231dc48ce)

Co-authored-by: Zachary Ware <zach@python.org>
14 months ago[3.13] gh-118508: Clarify which characters are matched by `\s` (GH-119155) (#123670)
Miss Islington (bot) [Wed, 4 Sep 2024 22:36:14 +0000 (00:36 +0200)] 
[3.13] gh-118508: Clarify which characters are matched by `\s` (GH-119155) (#123670)

gh-118508: Clarify which characters are matched by `\s` (GH-119155)

Clarify re syntax
(cherry picked from commit 22fdb8cf899d2dd29f2ac0bf61309af6809719fb)

Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
14 months ago[3.13] gh-123700: Update OpenSSL versions in multissltests and CI (GH-123702)
Miss Islington (bot) [Wed, 4 Sep 2024 21:31:01 +0000 (23:31 +0200)] 
[3.13] gh-123700: Update OpenSSL versions in multissltests and CI (GH-123702)

Remove EOL 1.1.1w from CI and move it to the 'old' set in multissltests,
add latest 3.3.2 to both CI and multissltests.

(cherry picked from commit d83e30caddcbf9482273743d287577517ec735b7)

Co-authored-by: Zachary Ware <zach@python.org>
14 months ago[3.13] gh-123418: Update OpenSSL to 3.0.15 on Windows (GH-123686)
Miss Islington (bot) [Wed, 4 Sep 2024 21:21:12 +0000 (23:21 +0200)] 
[3.13] gh-123418: Update OpenSSL to 3.0.15 on Windows (GH-123686)

(cherry picked from commit d2eafe2f48aac31aa8a152620bdfd0f2a274ee1d)

Co-authored-by: Zachary Ware <zach@python.org>
14 months ago[3.13] gh-123418: Update CI to use fresh OpenSSL releases (GH-123696)
Miss Islington (bot) [Wed, 4 Sep 2024 19:33:56 +0000 (21:33 +0200)] 
[3.13] gh-123418: Update CI to use fresh OpenSSL releases (GH-123696)

Also adds openssl/openssl GitHub URL template for newer OpenSSL downloads
(cherry picked from commit 56b00f4705634af2861a8aa9c2eb5769012220f0)

Co-authored-by: Zachary Ware <zach@python.org>
14 months ago[3.13] gh-123321: Fix Parser/myreadline.c to prevent a segfault during a multi-thread...
Miss Islington (bot) [Wed, 4 Sep 2024 15:49:27 +0000 (17:49 +0200)] 
[3.13] gh-123321: Fix Parser/myreadline.c to prevent a segfault during a multi-threaded race (GH-123323) (#123676)

gh-123321: Fix Parser/myreadline.c to prevent a segfault during a multi-threaded race (GH-123323)
(cherry picked from commit a4562fedadb73fe1e978dece65c3bcefb4606678)

Co-authored-by: Bar Harel <bharel@barharel.com>
14 months ago[3.13] gh-123580: Fix `signed_number` token in documentation (GH-123582) (GH-123623)
Miss Islington (bot) [Wed, 4 Sep 2024 09:18:42 +0000 (11:18 +0200)] 
[3.13] gh-123580: Fix `signed_number` token in documentation (GH-123582) (GH-123623)

gh-123580: Fix `signed_number` token in documentation (GH-123582)

(cherry picked from commit 9e079c220b7f64d78a1aa36a23b513d7f377a694)

Co-authored-by: CBerJun <121291537+CBerJun@users.noreply.github.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
14 months ago[3.13] Add shims for iOS C++ compilation (GH-123620) (#123656)
Miss Islington (bot) [Wed, 4 Sep 2024 00:52:13 +0000 (02:52 +0200)] 
[3.13] Add shims for iOS C++ compilation (GH-123620) (#123656)

Add shims for iOS C++ compilation (GH-123620)

Add shims for iOS C++ compilation.
(cherry picked from commit 135dad9bd70bba5a7b432c744f2993476915cf07)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
14 months ago[3.13] gh-123621: Fix `datamodel.rst` with proper `dict` notation (GH-123648) (#123653)
Miss Islington (bot) [Tue, 3 Sep 2024 20:12:17 +0000 (22:12 +0200)] 
[3.13] gh-123621: Fix `datamodel.rst` with proper `dict` notation (GH-123648) (#123653)

gh-123621: Fix `datamodel.rst` with proper `dict` notation (GH-123648)
(cherry picked from commit cfbc841ef3c27b3e65d1223bf8fedf1f652137bc)

Co-authored-by: Lipták Attila (Flash) <113017309+AttilaLiptak@users.noreply.github.com>
14 months ago[3.13] gh-123579: Document exclamation token (GH-123612) (#123637)
Miss Islington (bot) [Tue, 3 Sep 2024 15:07:13 +0000 (17:07 +0200)] 
[3.13] gh-123579: Document exclamation token (GH-123612) (#123637)

(cherry picked from commit 68fe5758bf1900ffdcdf7cd9e40f5018555a39d4)

Co-authored-by: Shaygan Hooshyari <sh.hooshyari@gmail.com>
14 months ago[3.13] gh-123572: Fix key codes in VK_MAP in windows_console.py (GH-122692) (#123632)
Miss Islington (bot) [Tue, 3 Sep 2024 14:01:14 +0000 (16:01 +0200)] 
[3.13] gh-123572: Fix key codes in VK_MAP in windows_console.py (GH-122692) (#123632)

gh-123572: Fix key codes in VK_MAP in windows_console.py (GH-122692)
(cherry picked from commit 782217f28f0d67916fc3ff82b03b88573686c0e7)

Co-authored-by: devdanzin <74280297+devdanzin@users.noreply.github.com>
14 months ago[3.13] gh-121804: always show error location for SyntaxError's in basic repl (GH...
Miss Islington (bot) [Tue, 3 Sep 2024 13:06:31 +0000 (15:06 +0200)] 
[3.13] gh-121804: always show error location for SyntaxError's in basic repl (GH-123202) (#123631)

gh-121804: always show error location for SyntaxError's in basic repl (GH-123202)
(cherry picked from commit 6822cb23c62032381971d8a47fd41d1e98710a8c)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
14 months ago[3.13] gh-123091: Use more _Py_IsImmortalLoose() (GH-123602) (GH-123622)
Petr Viktorin [Tue, 3 Sep 2024 10:36:42 +0000 (12:36 +0200)] 
[3.13] gh-123091: Use more _Py_IsImmortalLoose() (GH-123602) (GH-123622)

Switch more _Py_IsImmortal(...) assertions to _Py_IsImmortalLoose(...)

The remaining calls to _Py_IsImmortal are in free-threaded-only code,
initialization of core objects, tests, and guards that fall back to
code that works with mortal objects.

(cherry picked from commit 57c471a6880956338549380fc5fb35c986937901)

14 months ago[3.13] gh-123409: fix `IPv6Address.reverse_pointer` for IPv4-mapped addresses (GH...
Miss Islington (bot) [Mon, 2 Sep 2024 23:19:46 +0000 (01:19 +0200)] 
[3.13] gh-123409: fix `IPv6Address.reverse_pointer` for IPv4-mapped addresses (GH-123419) (#123606)

gh-123409: fix `IPv6Address.reverse_pointer` for IPv4-mapped addresses (GH-123419)

Fix functionality that was broken with better textual representation for IPv4-mapped addresses (gh-87799)
(cherry picked from commit 77a2fb4bf1a1b160d6ce105508288fc77f636943)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
14 months ago[3.13] gh-123458: Skip SBOM generation if no git repository is detected (GH-123507...
Miss Islington (bot) [Mon, 2 Sep 2024 23:15:48 +0000 (01:15 +0200)] 
[3.13] gh-123458: Skip SBOM generation if no git repository is detected (GH-123507) (#123616)

gh-123458: Skip SBOM generation if no git repository is detected (GH-123507)
(cherry picked from commit db42934270c5c23be9f6804cad98dfd8234caf6f)

Co-authored-by: Seth Michael Larson <seth@python.org>
14 months ago[3.13] Rewrite idlelib/Icons/README.txt (GH-123329) (#123330)
Miss Islington (bot) [Mon, 2 Sep 2024 15:56:16 +0000 (17:56 +0200)] 
[3.13] Rewrite idlelib/Icons/README.txt (GH-123329) (#123330)

(cherry picked from commit 6401cdf90810252a0de1775cac2f4f2f7c6b1d5a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
14 months ago[3.13] gh-98442: fix locations of with statement's cleanup instructions (GH-120763...
Miss Islington (bot) [Mon, 2 Sep 2024 15:46:41 +0000 (17:46 +0200)] 
[3.13] gh-98442: fix locations of with statement's cleanup instructions (GH-120763) (#120786)

gh-98442: fix locations of with statement's cleanup instructions (GH-120763)
(cherry picked from commit 55596ae0446e40f47e2a28b8897fe9530c32a19a)

gh-98442: fix location of with statement's cleanup instructions

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
14 months ago[3.13] gh-93691: fix too broad source locations of with-statement instructions (GH...
Miss Islington (bot) [Mon, 2 Sep 2024 14:53:39 +0000 (16:53 +0200)] 
[3.13] gh-93691: fix too broad source locations of with-statement instructions (GH-120125) (#123604)

gh-93691: fix too broad source locations of with-statement instructions (GH-120125)
(cherry picked from commit eca3f7762c23b22a73a5e0b09520748c88aab4a0)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
14 months ago[3.13] gh-101525: Skip test_gdb if the binary is relocated by BOLT. (gh-118572) ...
Miss Islington (bot) [Mon, 2 Sep 2024 14:10:52 +0000 (16:10 +0200)] 
[3.13] gh-101525: Skip test_gdb if the binary is relocated by BOLT. (gh-118572) (#123601)

gh-101525: Skip test_gdb if the binary is relocated by BOLT. (gh-118572)
(cherry picked from commit f95fc4de115ae03d7aa6dece678240df085cb4f6)

Co-authored-by: Donghee Na <donghee.na@python.org>
14 months ago[3.13] gh-123517: Remove unnecessary `:meth:` parentheses (gh-123518) (GH-123577)
Wei-Hsiang (Matt) Wang [Mon, 2 Sep 2024 14:00:04 +0000 (22:00 +0800)] 
[3.13] gh-123517: Remove unnecessary `:meth:` parentheses (gh-123518) (GH-123577)

14 months ago[3.13] gh-123091: Use _Py_IsImmortalLoose() (#123511) (#123600)
Victor Stinner [Mon, 2 Sep 2024 13:23:29 +0000 (15:23 +0200)] 
[3.13] gh-123091: Use _Py_IsImmortalLoose() (#123511) (#123600)

gh-123091: Use _Py_IsImmortalLoose() (#123511)

Use _Py_IsImmortalLoose() in bytesobject.c, typeobject.c
and ceval.c.

(cherry picked from commit f1a0d96f41db9dfa5d7f0b32e72f6f7301a86f91)

14 months ago[3.13] gh-116263: Do not rollover empty files in RotatingFileHandler (GH-122788)...
Miss Islington (bot) [Mon, 2 Sep 2024 12:07:27 +0000 (14:07 +0200)] 
[3.13] gh-116263: Do not rollover empty files in RotatingFileHandler (GH-122788) (#122814)

gh-116263: Do not rollover empty files in RotatingFileHandler (GH-122788)
(cherry picked from commit 6094c6fc2fc30eb9ee7c2f9f1088a851f71bf1b9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
14 months ago[3.13] Fixes typo in idlelib/idle_test/example_stub.pyi (GH-122520) (#122738)
Miss Islington (bot) [Mon, 2 Sep 2024 11:26:55 +0000 (13:26 +0200)] 
[3.13] Fixes typo in idlelib/idle_test/example_stub.pyi (GH-122520) (#122738)

Fixes typo in idlelib/idle_test/example_stub.pyi (GH-122520)

(cherry picked from commit dbdbef3668293abdceac2b8a7b3e4615e6bde143)

Co-authored-by: Jonathon Vandezande <jevandezande@gmail.com>
14 months ago[3.13] gh-123570: Add link to `weakref.ref` from `weakref_slot` docs in `dataclasses...
Miss Islington (bot) [Mon, 2 Sep 2024 11:20:35 +0000 (13:20 +0200)] 
[3.13] gh-123570: Add link to `weakref.ref` from `weakref_slot` docs in `dataclasses` (GH-123571) (#123594)

gh-123570: Add link to `weakref.ref` from `weakref_slot` docs in `dataclasses` (GH-123571)
(cherry picked from commit c3ed775899eedd47d37f8f1840345b108920e400)

Co-authored-by: sobolevn <mail@sobolevn.me>
14 months ago[3.13] build(deps): bump hypothesis from 6.108.10 to 6.111.2 in /Tools (GH-123567...
Hugo van Kemenade [Mon, 2 Sep 2024 11:20:09 +0000 (14:20 +0300)] 
[3.13] build(deps): bump hypothesis from 6.108.10 to 6.111.2 in /Tools (GH-123567) (#123591)

(cherry picked from commit 88210c295d51364c9f779989bc528084b8fe8765)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
14 months ago[3.13] gh-121285: Remove backtracking when parsing tarfile headers (GH-121286) (...
Miss Islington (bot) [Mon, 2 Sep 2024 11:19:11 +0000 (13:19 +0200)] 
[3.13] gh-121285: Remove backtracking when parsing tarfile headers (GH-121286) (#123542)

gh-121285: Remove backtracking when parsing tarfile headers (GH-121286)

* Remove backtracking when parsing tarfile headers
* Rewrite PAX header parsing to be stricter
* Optimize parsing of GNU extended sparse headers v0.0

(cherry picked from commit 34ddb64d088dd7ccc321f6103d23153256caa5d4)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
14 months ago[3.13] gh-123309: Add more tests for the pickletools module (GH-123355) (#123533)
Miss Islington (bot) [Mon, 2 Sep 2024 11:18:44 +0000 (13:18 +0200)] 
[3.13] gh-123309: Add more tests for the pickletools module (GH-123355) (#123533)

gh-123309: Add more tests for the pickletools module (GH-123355)

Add tests for genops() and dis().
(cherry picked from commit e5a567b0a721c26c79530249d9aa159afbd11955)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
14 months ago[3.13] gh-108172: do not override OS preferred browser if it is a super-string of...
Miss Islington (bot) [Mon, 2 Sep 2024 11:18:27 +0000 (13:18 +0200)] 
[3.13] gh-108172: do not override OS preferred browser if it is a super-string of a known browser (GH-113011) (#123527)

gh-108172: do not override OS preferred browser if it is a super-string of a known browser (GH-113011)

When checking if the registering browser is the "OS preferred browser", do not use a substring search - that makes no sense: one can have a preferred browser that looks like a super-string of a known browser, e.g. "firefox-nightly" vs "firefox".

https://github.com/python/cpython/issues/108172 explains in more detail, and lays out a potential better future enhancement for this case of just using xdg-open.  We'll go with this for now.

---------

(cherry picked from commit 10bf615bab9f832971a098f0a42b0d617aea6993)

Co-authored-by: Oded Arbel <oded@geek.co.il>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
14 months ago[3.13] gh-120426: Reword the glossary term "immortal" (GH-123191) (#123491)
Petr Viktorin [Mon, 2 Sep 2024 11:17:41 +0000 (13:17 +0200)] 
[3.13] gh-120426: Reword the glossary term "immortal" (GH-123191) (#123491)

gh-120426: Reword the glossary term "immortal" (GH-123191)

Reword the glossary term "immortal", mark it as an implementation detail

(cherry picked from commit 6754566a51a5706e8c9da0094b892113311ba20c)

14 months ago[3.13] gh-123431: Harmonize extension code checks in pickle (GH-123434) (#123459)
Miss Islington (bot) [Mon, 2 Sep 2024 11:17:16 +0000 (13:17 +0200)] 
[3.13] gh-123431: Harmonize extension code checks in pickle (GH-123434) (#123459)

gh-123431: Harmonize extension code checks in pickle (GH-123434)

This checks are redundant in normal circumstances and can only work if
the extension registry was intentionally broken.

* The Python implementation now raises exception for the extension code
  with false boolean value.
* Simplify the C code. RuntimeError is now raised in explicit checks.
* Add many tests.
(cherry picked from commit 0c3ea3023878f5ad5ca4680d5510da1fe208cbfa)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
14 months ago[3.13] Fix typos in docs and what's new (#123451)
Wulian [Mon, 2 Sep 2024 11:15:02 +0000 (19:15 +0800)] 
[3.13] Fix typos in docs and what's new (#123451)

14 months ago[3.13] gh-120226: Fix test_sendfile_close_peer_in_the_middle_of_receiving on Linux...
Miss Islington (bot) [Mon, 2 Sep 2024 11:14:03 +0000 (13:14 +0200)] 
[3.13] gh-120226: Fix test_sendfile_close_peer_in_the_middle_of_receiving on Linux >= 6.10 (GH-120227) (#123421)

gh-120226: Fix test_sendfile_close_peer_in_the_middle_of_receiving on Linux >= 6.10 (GH-120227)

The worst case is that the kernel buffers 17 pages with a page size of 64k.
(cherry picked from commit a7584245661102a5768c643fbd7db8395fd3c90e)

Co-authored-by: Xi Ruoyao <xry111@xry111.site>
14 months ago[3.13] gh-123270: Replaced SanitizedNames with a more surgical fix. (GH-123354) ...
Miss Islington (bot) [Mon, 2 Sep 2024 11:13:18 +0000 (13:13 +0200)] 
[3.13] gh-123270: Replaced SanitizedNames with a more surgical fix. (GH-123354) (#123410)

gh-123270: Replaced SanitizedNames with a more surgical fix. (GH-123354)

Applies changes from zipp 3.20.1 and jaraco/zippGH-124
(cherry picked from commit 2231286d78d328c2f575e0b05b16fe447d1656d6)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
14 months ago[3.13] GH-117759: Document incremental GC (GH-123266) (#123395)
Miss Islington (bot) [Mon, 2 Sep 2024 11:12:16 +0000 (13:12 +0200)] 
[3.13] GH-117759: Document incremental GC (GH-123266) (#123395)

GH-117759: Document incremental GC (GH-123266)

* Update what's new

* Update gc module docs and fix inconsistency in gc.get_objects
(cherry picked from commit f49a91648aac2ad55b2e005ba28fac1c7edca020)

Co-authored-by: Mark Shannon <mark@hotpy.org>
14 months ago[3.13] gh-111495: Add tests for PyNumber C API (GH-111996) (#123375)
Miss Islington (bot) [Mon, 2 Sep 2024 11:11:06 +0000 (13:11 +0200)] 
[3.13] gh-111495: Add tests for PyNumber C API (GH-111996) (#123375)

gh-111495: Add tests for PyNumber C API (GH-111996)
(cherry picked from commit 2f20f5a9bc7dafdb3c2ae723da90eca1727a95f7)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
14 months ago[3.13] GH-122298: Restore printing of GC stats (GH-123261) (#123268)
Miss Islington (bot) [Mon, 2 Sep 2024 11:10:27 +0000 (13:10 +0200)] 
[3.13] GH-122298: Restore printing of GC stats (GH-123261) (#123268)

GH-122298: Restore printing of GC stats (GH-123261)
(cherry picked from commit 7cd3aa42f0cf72bf9a214e2630850879fe078377)

Co-authored-by: Mark Shannon <mark@hotpy.org>
14 months ago[3.13] gh-123213: Fixed xml.etree.ElementTree.Element.extend and assignment to no...
Miss Islington (bot) [Mon, 2 Sep 2024 11:10:09 +0000 (13:10 +0200)] 
[3.13] gh-123213: Fixed xml.etree.ElementTree.Element.extend and assignment to no longer hide exceptions (GH-123214) (#123257)

gh-123213: Fixed xml.etree.ElementTree.Element.extend and assignment to no longer hide exceptions (GH-123214)
(cherry picked from commit 90b6d0e0f8f07d7443695e14a18488cb499d3b4d)

Co-authored-by: Bar Harel <bharel@barharel.com>
14 months ago[3.13] gh-85110: Preserve relative path in URL without netloc in urllib.parse.urlunsp...
Miss Islington (bot) [Mon, 2 Sep 2024 11:09:17 +0000 (13:09 +0200)] 
[3.13] gh-85110: Preserve relative path in URL without netloc in urllib.parse.urlunsplit() (GH-123179) (#123187)

gh-85110: Preserve relative path in URL without netloc in urllib.parse.urlunsplit() (GH-123179)
(cherry picked from commit 90c892efeaae28bd849a01b42842f19dcd67b9f4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
14 months ago[3.13] gh-122981: Fix inspect.getsource() for generated classes with Python base...
Miss Islington (bot) [Mon, 2 Sep 2024 11:07:08 +0000 (13:07 +0200)] 
[3.13] gh-122981: Fix inspect.getsource() for generated classes with Python base classes (GH-123001) (#123182)

gh-122981: Fix inspect.getsource() for generated classes with Python base classes (GH-123001)

Look up __firstlineno__ only in the class' dict, without searching in
base classes.
(cherry picked from commit f88c14d412522587085ae039ebe70b91d5b4e226)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
14 months ago[3.13] gh-122688: Fix support of var-positional parameter in Argument Clinic (GH...
Serhiy Storchaka [Mon, 2 Sep 2024 11:03:04 +0000 (14:03 +0300)] 
[3.13] gh-122688: Fix support of var-positional parameter in Argument Clinic (GH-122689) (#122852)

* Parameters after the var-positional parameter are now keyword-only
  instead of positional-or-keyword.
* Correctly calculate min_kw_only.
* Raise errors for invalid combinations of the var-positional parameter
  with "*", "/" and deprecation markers.
(cherry picked from commit 8393608dd9f157ae25ee44777541e62fa80a6d82)

14 months ago[3.13] gh-122798: Make tests for warnings in the re module more strict (GH-122799...
Miss Islington (bot) [Mon, 2 Sep 2024 10:59:15 +0000 (12:59 +0200)] 
[3.13] gh-122798: Make tests for warnings in the re module more strict (GH-122799) (#122804)

gh-122798: Make tests for warnings in the re module more strict (GH-122799)

* Test warning messages.
* Test stack level for re.compile() and re.findall().
(cherry picked from commit d2e5be1f39bc3d48c7bc8c146c4bcadee266672a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
14 months ago[3.13] gh-100256: Skip inaccessible registry keys in the WinAPI mimetype implementati...
Miss Islington (bot) [Mon, 2 Sep 2024 10:58:53 +0000 (12:58 +0200)] 
[3.13] gh-100256: Skip inaccessible registry keys in the WinAPI mimetype implementation (GH-122047) (#122786)

gh-100256: Skip inaccessible registry keys in the WinAPI mimetype implementation (GH-122047)
(cherry picked from commit 0bd93755f37e6b8beb597787fce39eb141179965)

Co-authored-by: Lucas Esposito <LucasEsposito@users.noreply.github.com>
14 months ago[3.13] gh-121151: argparse: Fix wrapping of long usage text of arguments inside a...
Miss Islington (bot) [Mon, 2 Sep 2024 10:55:16 +0000 (12:55 +0200)] 
[3.13] gh-121151: argparse: Fix wrapping of long usage text of arguments inside a mutually exclusive groups (GH-121159) (#122777)

gh-121151: argparse: Fix wrapping of long usage text of arguments inside a mutually exclusive groups (GH-121159)
(cherry picked from commit 013a0929750ed2b46ae990b59d02e3db84337474)

Co-authored-by: Ali Hamdan <ali.hamdan.dev@gmail.com>
14 months ago[3.13] gh-79846: Make ssl.create_default_context() ignore invalid certificates (GH...
Miss Islington (bot) [Mon, 2 Sep 2024 10:53:59 +0000 (12:53 +0200)] 
[3.13] gh-79846: Make ssl.create_default_context() ignore invalid certificates (GH-91740) (#122768)

gh-79846: Make ssl.create_default_context() ignore invalid certificates (GH-91740)

An error in one certificate should not cause the whole thing to fail.

(cherry picked from commit 9e551f9b351440ebae79e07a02d0e4a1b61d139e)

Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
14 months ago[3.13] gh-122571: Remove duplicate definition of PY_BUILTIN_HASHLIB_HASHES in configu...
Miss Islington (bot) [Mon, 2 Sep 2024 10:52:21 +0000 (12:52 +0200)] 
[3.13] gh-122571: Remove duplicate definition of PY_BUILTIN_HASHLIB_HASHES in configure.ac (GH-122572) (#122763)

gh-122571: Remove duplicate definition of PY_BUILTIN_HASHLIB_HASHES in configure.ac (GH-122572)

The redefinition in confdefs.h can cause issues with the
AX_CHECK_COMPILE_FLAG macro.
(cherry picked from commit b5e142ba7c2063efe9bb8065c3b0bad33e2a9afa)

Co-authored-by: Jonathan Protzenko <protz@microsoft.com>
14 months ago[3.13] gh-120083: Add IDLE Hovertip foreground color needed for recent macOS (GH...
Miss Islington (bot) [Mon, 2 Sep 2024 10:50:39 +0000 (12:50 +0200)] 
[3.13] gh-120083: Add IDLE Hovertip foreground color needed for recent macOS (GH-120605) (#122739)

gh-120083: Add IDLE Hovertip foreground color needed for recent macOS (GH-120605)

On recent versions of macOS (sometime between Catalina and Sonoma 14.5), the default Hovertip foreground color changed from black to white, thereby matching the background. This might be a matter of matching the white foreground of the dark-mode text. The unreadable result is shown here (GH-120083 (comment)).

The foreground and background colors were made parameters so we can pass different colors for future additional hovertips in IDLE.
---------

(cherry picked from commit 5a7f7c48644baf82988f30bcb43e03dcfceb75dd)

Co-authored-by: John Riggles <jriggles@icloud.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
14 months ago[3.13] GH-121970: Fix ``gettext`` for audit events (GH-122651) (#122653)
Miss Islington (bot) [Mon, 2 Sep 2024 10:48:20 +0000 (12:48 +0200)] 
[3.13] GH-121970: Fix ``gettext`` for audit events (GH-122651) (#122653)

GH-121970: Fix ``gettext`` for audit events (GH-122651)
(cherry picked from commit 95f5c89b545beaafad73f05a695742da3e90bc41)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
14 months ago[3.13] gh-122527: Fix a crash on deallocation of `PyStructSequence` (GH-122577) ...
Miss Islington (bot) [Mon, 2 Sep 2024 10:47:18 +0000 (12:47 +0200)] 
[3.13] gh-122527: Fix a crash on deallocation of `PyStructSequence` (GH-122577) (#122625)

gh-122527: Fix a crash on deallocation of `PyStructSequence` (GH-122577)

The `PyStructSequence` destructor would crash if it was deallocated after
its type's dictionary was cleared by the GC, because it couldn't compute
the "real size" of the instance. This could occur with relatively
straightforward code in the free-threaded build or with a reference
cycle involving the type in the default build, due to differing orders
in which `tp_clear()` was called.

Account for the non-sequence fields in `tp_basicsize` and use that,
along with `Py_SIZE()`, to compute the "real" size of a
`PyStructSequence` in the dealloc function. This avoids the accesses to
the type's dictionary during dealloc, which were unsafe.
(cherry picked from commit 4b63cd170e5dd840bffc80922f09f2d69932ff5c)

Co-authored-by: Sam Gross <colesbury@gmail.com>
14 months ago[3.13] Fix typos in docs, error messages and comments (#122502) (#122606)
Alex Waygood [Mon, 2 Sep 2024 10:44:42 +0000 (11:44 +0100)] 
[3.13] Fix typos in docs, error messages and comments (#122502) (#122606)

Fix typos in docs, error messages and comments (#122502)

(cherry-picked from commit 46f5a4f9e1781ad8d60eb53bbaf6cd8534a286cd)

Signed-off-by: jianghuyiyuan <shuangcui@live.com>
Co-authored-by: jianghuyiyuan <shuangcui@live.com>
14 months ago[3.13] gh-109975: Remove dangling angle bracket from 3.13.rst (GH-123589) (#123590)
Miss Islington (bot) [Mon, 2 Sep 2024 05:16:01 +0000 (07:16 +0200)] 
[3.13] gh-109975: Remove dangling angle bracket from 3.13.rst (GH-123589) (#123590)

(cherry picked from commit 9a32a2588e1e25ccfd53edcdb381bd332ea2da41)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
14 months ago[3.13] Remove irrelevant detail from example code. (gh-123587) (gh-123588)
Miss Islington (bot) [Mon, 2 Sep 2024 01:27:48 +0000 (03:27 +0200)] 
[3.13] Remove irrelevant detail from example code. (gh-123587) (gh-123588)

14 months ago[3.13] Simplify Property() recipe to focus on the essentials (gh-123585) (gh-123586)
Miss Islington (bot) [Sun, 1 Sep 2024 23:08:21 +0000 (01:08 +0200)] 
[3.13] Simplify Property() recipe to focus on the essentials (gh-123585) (gh-123586)

14 months ago[3.13] gh-91126: Docs and tests for slotted dataclasses with `__init_subclass__`...
Miss Islington (bot) [Sun, 1 Sep 2024 15:19:56 +0000 (17:19 +0200)] 
[3.13] gh-91126: Docs and tests for slotted dataclasses with `__init_subclass__` (GH-123342) (#123568)

gh-91126: Docs and tests for slotted dataclasses with `__init_subclass__` (GH-123342)
(cherry picked from commit 75e72822a390df81ca11355d8e0aac88e4046c27)

Co-authored-by: sobolevn <mail@sobolevn.me>
14 months ago[3.13] gh-123550: Fix code snippet of `BUILD_TUPLE` in `dis` docs (GH-123551) (#123555)
Miss Islington (bot) [Sun, 1 Sep 2024 07:38:20 +0000 (09:38 +0200)] 
[3.13] gh-123550: Fix code snippet of `BUILD_TUPLE` in `dis` docs (GH-123551) (#123555)

14 months ago[3.13] GH-109975: Copyedit 3.13 What's New: Removals (GH-123529) (#123552)
Miss Islington (bot) [Sun, 1 Sep 2024 06:03:57 +0000 (08:03 +0200)] 
[3.13] GH-109975: Copyedit 3.13 What's New: Removals (GH-123529) (#123552)

GH-109975: Copyedit 3.13 What's New: Removals (GH-123529)
(cherry picked from commit 0ff59d707ce33c2fd7390d473a5779a3d16a5764)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
14 months ago[3.13] gh-123494: Improve documentation for ``webbrowser`` return types (GH-123495...
Miss Islington (bot) [Sun, 1 Sep 2024 05:41:10 +0000 (07:41 +0200)] 
[3.13] gh-123494: Improve documentation for ``webbrowser`` return types (GH-123495) (#123548)

gh-123494: Improve documentation for ``webbrowser`` return types (GH-123495)

Document the return value for ``webbrowser.open*()``.
(cherry picked from commit 0b6acfee04b30e7993314723c614625ddd90ae6e)

Co-authored-by: Aarni Koskela <akx@iki.fi>
14 months ago[3.13] Enable colour for doctest on GitHub Actions (GH-123536) (#123538)
Miss Islington (bot) [Sat, 31 Aug 2024 14:39:15 +0000 (16:39 +0200)] 
[3.13] Enable colour for doctest on GitHub Actions (GH-123536) (#123538)

Enable colour for doctest on GitHub Actions (GH-123536)
(cherry picked from commit 0cba289870d5cd41f24b2f63b9480e4593aa2330)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
14 months ago[3.13] gh-123407: Enable translating literal and code blocks (GH-123408) (#123530)
Miss Islington (bot) [Sat, 31 Aug 2024 06:49:08 +0000 (08:49 +0200)] 
[3.13] gh-123407: Enable translating literal and code blocks (GH-123408) (#123530)

gh-123407: Enable translating literal and code blocks (GH-123408)
(cherry picked from commit 5332d989af45378e6ae99aeda72bfa82042b8659)

Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
14 months ago[3.13] gh-123492: Remove unnecessary `:func:` parentheses (gh-123493) (#123513)
Wei-Hsiang (Matt) Wang [Fri, 30 Aug 2024 17:14:48 +0000 (01:14 +0800)] 
[3.13] gh-123492: Remove unnecessary `:func:` parentheses (gh-123493) (#123513)

14 months ago[3.13] gh-123484: Fix the debug offsets for PyLongObject (GH-123485) (#123499)
Miss Islington (bot) [Fri, 30 Aug 2024 12:05:50 +0000 (14:05 +0200)] 
[3.13] gh-123484: Fix the debug offsets for PyLongObject (GH-123485) (#123499)

14 months ago[3.13] gh-101860: document `property.__name__` (GH-123399) (#123428)
Miss Islington (bot) [Thu, 29 Aug 2024 16:55:56 +0000 (18:55 +0200)] 
[3.13] gh-101860: document `property.__name__` (GH-123399) (#123428)

(cherry picked from commit 40fff90ae3d46843bb9d27c6a53ef61c861a3bb4)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
14 months ago[3.13] gh-122136: test_asyncio: Don't fail if the kernel buffers more data than adver...
Miss Islington (bot) [Thu, 29 Aug 2024 09:44:54 +0000 (11:44 +0200)] 
[3.13] gh-122136: test_asyncio: Don't fail if the kernel buffers more data than advertised (GH-123423) (#123443)

gh-122136: test_asyncio: Don't fail if the kernel buffers more data than advertised (GH-123423)
(cherry picked from commit b379f1b26c1e89c8e9160b4dede61b980cc77be6)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
14 months ago[3.13] gh-123448: Move `_PyNoDefault_Type` to the static types array (GH-123449)...
Miss Islington (bot) [Thu, 29 Aug 2024 01:57:28 +0000 (03:57 +0200)] 
[3.13] gh-123448: Move `_PyNoDefault_Type` to the static types array (GH-123449) (#123450)

(cherry picked from commit c9930f5022f5e7a290896522280e47a1fecba38a)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
14 months ago[3.13] gh-123142: fix too wide source location of GET_ITER/GET_AITER (GH-123420)...
Irit Katriel [Wed, 28 Aug 2024 17:41:22 +0000 (18:41 +0100)] 
[3.13] gh-123142: fix too wide source location of GET_ITER/GET_AITER (GH-123420). (#123435)

(cherry picked from commit 61bef6245c4a32bf430d684ede8603f423d63284)

14 months ago[3.13] gh-123344: Add missing ast optimizations for PEP 696 (GH-123377) (#123427)
Miss Islington (bot) [Wed, 28 Aug 2024 14:02:34 +0000 (16:02 +0200)] 
[3.13] gh-123344: Add missing ast optimizations for PEP 696 (GH-123377) (#123427)

(cherry picked from commit be083cee34d62ae860acac70dfa078fc5c96ade3)

Co-authored-by: Bogdan Romanyuk <65823030+wrongnull@users.noreply.github.com>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
14 months ago[3.13] gh-123254: Improve `tuple` C API docs with more info about errors (GH-123255...
Miss Islington (bot) [Wed, 28 Aug 2024 07:47:39 +0000 (09:47 +0200)] 
[3.13] gh-123254: Improve `tuple` C API docs with more info about errors (GH-123255) (#123416)

gh-123254: Improve `tuple` C API docs with more info about errors (GH-123255)
(cherry picked from commit 6f563e364d1a7902417573f842019746a79cdc1b)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
14 months ago[3.13] gh-109975: Fix a typo in What's New in Python 3.13 (GH-123393) (#123396)
Miss Islington (bot) [Tue, 27 Aug 2024 15:16:20 +0000 (17:16 +0200)] 
[3.13] gh-109975: Fix a typo in What's New in Python 3.13 (GH-123393) (#123396)

14 months ago[3.13] gh-122666: Tests for ast optimizations (GH-122667) (#123359)
Miss Islington (bot) [Tue, 27 Aug 2024 13:41:37 +0000 (15:41 +0200)] 
[3.13] gh-122666: Tests for ast optimizations (GH-122667) (#123359)

(cherry picked from commit 9f9b00d52ceafab6c183e8b0f502071d59dc6d22)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
14 months ago[3.13] gh-111495: Add tests for PyTuple C API (GH-118757) (GH-123371)
Sergey B Kirpichev [Tue, 27 Aug 2024 09:07:17 +0000 (12:07 +0300)] 
[3.13] gh-111495: Add tests for PyTuple C API (GH-118757) (GH-123371)

(cherry picked from commit dbc1752d4107532d312c78263212e807a3674eb1)

Co-authored-by: kalyanr <kalyan.ben10@live.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
14 months ago[3.13] Ensure that iOS test re-runs don't try to spawn a process. (GH-122994) (#123368)
Miss Islington (bot) [Tue, 27 Aug 2024 00:53:05 +0000 (02:53 +0200)] 
[3.13] Ensure that iOS test re-runs don't try to spawn a process. (GH-122994) (#123368)

Ensure that iOS test re-runs don't try to spawn a process. (GH-122994)

Adds the --single-process option to the iOS test runner to ensure re-runs execute in the same process.
(cherry picked from commit e03073ff20107793a4ea28cdac0d6894774dd110)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
14 months ago[3.13] Add a --rerun option to the iOS testbed. (GH-122992) (#123367)
Miss Islington (bot) [Tue, 27 Aug 2024 00:25:17 +0000 (02:25 +0200)] 
[3.13] Add a --rerun option to the iOS testbed. (GH-122992) (#123367)

Add a --rerun option to the iOS testbed. (GH-122992)

Enable --rerun when running tests on iOS.
(cherry picked from commit ce39d3c6bdab4c703ad95f37831b410fb729e116)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
14 months ago[3.13] gh-119727: Add --single-process option to regrtest (#119728) (#123010)
Malcolm Smith [Mon, 26 Aug 2024 09:59:26 +0000 (10:59 +0100)] 
[3.13] gh-119727: Add --single-process option to regrtest (#119728) (#123010)

gh-119727: Add --single-process option to regrtest (#119728)

(cherry picked from commit 4e8aa32245e2d72bf558b711ccdbcee594347615)

Co-authored-by: Victor Stinner <vstinner@python.org>
14 months ago[3.13] gh-116789: Add more tests for `inspect.getmembers` (GH-116802) (#123129)
Miss Islington (bot) [Mon, 26 Aug 2024 09:51:56 +0000 (11:51 +0200)] 
[3.13] gh-116789: Add more tests for `inspect.getmembers` (GH-116802) (#123129)

gh-116789: Add more tests for `inspect.getmembers` (GH-116802)
(cherry picked from commit c15bfa9a71c8b7ce7ff6d8486f51aab566e8d81d)

Co-authored-by: sobolevn <mail@sobolevn.me>
14 months ago[3.13] gh-123177: Fix prompt for wrapped lines in pyrepl (GH-123324) (#123327)
Miss Islington (bot) [Mon, 26 Aug 2024 01:13:36 +0000 (03:13 +0200)] 
[3.13] gh-123177: Fix prompt for wrapped lines in pyrepl (GH-123324) (#123327)

gh-123177: Fix prompt for wrapped lines in pyrepl (GH-123324)

When display lines above the cursor come from the cache, the first line
to not come from the cache may be a wrapped line, starting half way
through a logical line in the buffer. Detect and handle this case to
avoid accidentally drawing a stray prompt in the middle of a logical
line.
(cherry picked from commit 602fcf97df1665538d4e9841f9dc6bc33e38bece)

Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net>
14 months ago[3.13] gh-82378: Document the difference between sys.tracebacklimit and the limit...
Miss Islington (bot) [Sun, 25 Aug 2024 23:08:51 +0000 (01:08 +0200)] 
[3.13] gh-82378: Document the difference between sys.tracebacklimit and the limit arguments (GH-123286) (#123325)

gh-82378: Document the difference between sys.tracebacklimit and the limit arguments (GH-123286)
(cherry picked from commit 70bfef52b5734d6cd81c5e8ca9eaf85658916b04)

Co-authored-by: CF Bolz-Tereick <cfbolz@gmx.de>
14 months ago[3.13] gh-123177: Deactivate line wrap for Apple Terminal via scape codes in the...
Miss Islington (bot) [Sun, 25 Aug 2024 22:01:56 +0000 (00:01 +0200)] 
[3.13] gh-123177: Deactivate line wrap for Apple Terminal via scape codes in the new REPL (GH-123267) (#123322)

gh-123177: Deactivate line wrap for Apple Terminal via scape codes in the new REPL (GH-123267)
(cherry picked from commit fdb3f9b588f58f3cf95fe1dbf6e5b61ef525a351)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
14 months ago[3.13] gh-123297: Propagate LD_FLAGS to LDCXXSHARED in sysconfig (GH-123298) (#123319)
Miss Islington (bot) [Sun, 25 Aug 2024 20:25:49 +0000 (22:25 +0200)] 
[3.13] gh-123297: Propagate LD_FLAGS to LDCXXSHARED in sysconfig (GH-123298) (#123319)

gh-123297: Propagate LD_FLAGS to LDCXXSHARED in sysconfig (GH-123298)
(cherry picked from commit c535a49e9260ad0fac022474f6381836051c9758)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
14 months ago[3.13] gh-122982: Extend the deprecation period for bool inversion by two years ...
Miss Islington (bot) [Sun, 25 Aug 2024 19:48:34 +0000 (21:48 +0200)] 
[3.13] gh-122982: Extend the deprecation period for bool inversion by two years (GH-123306) (#123316)

gh-122982: Extend the deprecation period for bool inversion by two years (GH-123306)
(cherry picked from commit 249b083ed8b3cfdff30bf578d7f9d3c5e982a4eb)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
14 months ago[3.13] gh-123228: don't leak file descriptors in pyrepl test (GH-123302) (#123313)
Miss Islington (bot) [Sun, 25 Aug 2024 15:17:45 +0000 (17:17 +0200)] 
[3.13] gh-123228: don't leak file descriptors in pyrepl test (GH-123302) (#123313)

14 months ago[3.13] GH-109975: Copyedit 3.13 What's New: Optimizations (GH-123301) (#123308)
Miss Islington (bot) [Sun, 25 Aug 2024 13:59:01 +0000 (15:59 +0200)] 
[3.13] GH-109975: Copyedit 3.13 What's New: Optimizations (GH-123301) (#123308)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
14 months ago[3.13] gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with...
Miss Islington (bot) [Sat, 24 Aug 2024 22:36:58 +0000 (00:36 +0200)] 
[3.13] gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with backslashes (GH-123075) (#123103)

gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with backslashes (GH-123075)

This fixes CVE-2024-7592.
(cherry picked from commit 44e458357fca05ca0ae2658d62c8c595b048b5ef)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
14 months ago[3.13] Docs: Fix Makefile syntax (GH-123287) (#123288)
Miss Islington (bot) [Sat, 24 Aug 2024 21:03:54 +0000 (23:03 +0200)] 
[3.13] Docs: Fix Makefile syntax (GH-123287) (#123288)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
14 months ago[3.13] GH-109975: Copyedit 3.13 What's New: Improved Modules (GH-123132) (#123292)
Adam Turner [Sat, 24 Aug 2024 19:31:31 +0000 (21:31 +0200)] 
[3.13] GH-109975: Copyedit 3.13 What's New: Improved Modules (GH-123132) (#123292)

(cherry picked from commit 127660bcdb28294c3817f955cabd85afb6828ffc)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
14 months ago[3.13] gh-123228: fix return type for _ReadlineWrapper.get_line_buffer() (GH-123281...
Miss Islington (bot) [Sat, 24 Aug 2024 16:11:17 +0000 (18:11 +0200)] 
[3.13] gh-123228: fix return type for _ReadlineWrapper.get_line_buffer() (GH-123281) (#123293)

gh-123228: fix return type for _ReadlineWrapper.get_line_buffer() (GH-123281)
(cherry picked from commit ca18ff2a34435faa557f7f9d4d3a554dadb05e50)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
14 months ago[3.13] gh-123243: Fix reference leak in `_decimal` (GH-123244) (#123280)
Miss Islington (bot) [Sat, 24 Aug 2024 04:33:49 +0000 (06:33 +0200)] 
[3.13] gh-123243: Fix reference leak in `_decimal` (GH-123244) (#123280)

gh-123243: Fix reference leak in `_decimal` (GH-123244)
(cherry picked from commit 5ff638f1b53587b9f912a18fc776a2a141fd7bed)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
14 months ago[3.13] gh-123229: Fix valgrind warning by initializing the f-string buffers to 0...
Miss Islington (bot) [Fri, 23 Aug 2024 12:59:54 +0000 (14:59 +0200)] 
[3.13] gh-123229: Fix valgrind warning by initializing the f-string buffers to 0 in the tokenizer (GH-123263) (#123264)

gh-123229: Fix valgrind warning by initializing the f-string buffers to 0 in the tokenizer (GH-123263)
(cherry picked from commit adc5190014efcf7b7a4c5dfc9998faa8345527ed)

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
14 months ago[3.13] gh-82378 fix sys.tracebacklimit in pyrepl, approach 2 (GH-123062) (#123252)
CF Bolz-Tereick [Fri, 23 Aug 2024 11:59:08 +0000 (13:59 +0200)] 
[3.13] gh-82378 fix sys.tracebacklimit in pyrepl, approach 2 (GH-123062) (#123252)

Make sure that pyrepl uses the same logic for sys.tracebacklimit as both
the basic repl and the standard sys.excepthook
(cherry picked from commit 63603bca35798c166e1b8e0be76aef69217f8b1b)

14 months ago[3.13] GH-120097: Make FrameLocalsProxy a mapping (GH-120101) (GH-120749)
Miss Islington (bot) [Fri, 23 Aug 2024 09:26:03 +0000 (11:26 +0200)] 
[3.13] GH-120097: Make FrameLocalsProxy a mapping (GH-120101) (GH-120749)

Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>