]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
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>
14 months ago[3.13] gh-122546: Relax SyntaxError check when raising errors on the new REPL (GH...
Miss Islington (bot) [Fri, 23 Aug 2024 00:32:11 +0000 (02:32 +0200)] 
[3.13] gh-122546: Relax SyntaxError check when raising errors on the new REPL (GH-123233) (#123247)

gh-122546: Relax SyntaxError check when raising errors on the new REPL (GH-123233)
(cherry picked from commit 4c3f0cbeaec0d49212d305618743fabb0e74a696)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
14 months ago[3.13] gh-122478: Remove internal frames from tracebacks in REPL (GH-122528) (#123227)
CF Bolz-Tereick [Thu, 22 Aug 2024 23:58:05 +0000 (01:58 +0200)] 
[3.13] gh-122478: Remove internal frames from tracebacks in REPL (GH-122528) (#123227)

Frames of methods in code and codeop modules was show with non-default
sys.excepthook.

Save correct tracebacks in sys.last_traceback and update __traceback__
attribute of sys.last_value and sys.last_exc.
(cherry picked from commit e73e7a7abdc3fed252affcb1629df1b3c8fff2ef)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
14 months ago[3.13] gh-122546: use same filename for different exceptions in new repl (GH-123217...
Sergey B Kirpichev [Thu, 22 Aug 2024 23:28:09 +0000 (02:28 +0300)] 
[3.13] gh-122546: use same filename for different exceptions in new repl (GH-123217) (#123226)

14 months ago[3.13] GH-121723: Skip test_config_queue_handler_multiprocessing_context in emulated...
Miss Islington (bot) [Thu, 22 Aug 2024 20:16:52 +0000 (22:16 +0200)] 
[3.13] GH-121723: Skip test_config_queue_handler_multiprocessing_context in emulated JIT CI (GH-122991)

(cherry picked from commit 7b8328b6b33939dfff4606d286b10069a09223dd)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
14 months ago[3.13] gh-123083: Fix a potential use-after-free in ``STORE_ATTR_WITH… (#123235)
Donghee Na [Thu, 22 Aug 2024 16:37:26 +0000 (01:37 +0900)] 
[3.13] gh-123083: Fix a potential use-after-free in ``STORE_ATTR_WITH… (#123235)

[3.13] gh-123083: Fix a potential use-after-free in ``STORE_ATTR_WITH_HINT`` (gh-123092)
(cherry picked from commit 297f2e093ec95800ae2184330b8408c875523467)

14 months ago[3.13] gh-123142: Fix too wide source locations in tracebacks of exceptions from...
Irit Katriel [Thu, 22 Aug 2024 09:22:39 +0000 (10:22 +0100)] 
[3.13] gh-123142: Fix too wide source locations in tracebacks of exceptions from broken iterables in comprehensions (GH-123173). (#123209)

(cherry picked from commit ec89620e5e147ba028a46dd695ef073a72000b84)

14 months ago[3.13] gh-122712: Guard against __code__ reassignment in CALL_ALLOC_AND_ENTER_INIT...
mpage [Wed, 21 Aug 2024 12:16:30 +0000 (05:16 -0700)] 
[3.13] gh-122712: Guard against __code__ reassignment in CALL_ALLOC_AND_ENTER_INIT (GH-122713) (GH-123184)

14 months ago[3.13] gh-123048: Fix missing source location in pattern matching code (GH-123167...
Miss Islington (bot) [Tue, 20 Aug 2024 11:13:43 +0000 (13:13 +0200)] 
[3.13] gh-123048: Fix missing source location in pattern matching code (GH-123167) (#123169)

gh-123048: Fix missing source location in pattern matching code (GH-123167)
(cherry picked from commit bffed80230f2617de2ee02bd4bdded1024234dab)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
14 months ago[3.13] gh-109975: Copyedit What's New in Python 3.13 (GH-123150) (#123164)
Miss Islington (bot) [Tue, 20 Aug 2024 00:11:34 +0000 (02:11 +0200)] 
[3.13] gh-109975: Copyedit What's New in Python 3.13 (GH-123150) (#123164)

gh-109975: Copyedit What's New in Python 3.13 (GH-123150)
(cherry picked from commit 0480052ea1567d50e9772b836bc9f90bee11c2f7)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
14 months ago[3.13] gh-123149: Suppress verbose repr in new REPL (GH-123151) (#123157)
Miss Islington (bot) [Mon, 19 Aug 2024 19:28:12 +0000 (21:28 +0200)] 
[3.13] gh-123149: Suppress verbose repr in new REPL (GH-123151) (#123157)

gh-123149: Suppress verbose repr in new REPL (GH-123151)
(cherry picked from commit 833c58b81ebec84dc24ef0507f8c75fe723d9f66)

Co-authored-by: James <snoopjedi@gmail.com>
14 months ago[3.13] gh-121804: Always show error location for SyntaxError's in new repl (GH-121886...
Sergey B Kirpichev [Mon, 19 Aug 2024 19:01:58 +0000 (22:01 +0300)] 
[3.13] gh-121804: Always show error location for SyntaxError's in new repl (GH-121886) (#123148)

(cherry picked from commit 354d55eb1fa40f272419aa6459ee5d2c4804c8ea)

14 months ago[3.13] gh-118658: Return consistent types from `get_un/verified_chain` in `SSLObject...
Miss Islington (bot) [Mon, 19 Aug 2024 15:39:28 +0000 (17:39 +0200)] 
[3.13] gh-118658: Return consistent types from `get_un/verified_chain` in `SSLObject` and `SSLSocket` (GH-118669) (#123082)

gh-118658: Return consistent types from `get_un/verified_chain` in `SSLObject` and `SSLSocket` (GH-118669)
(cherry picked from commit 8ef358dae1959e2aff8b04fb69b8a36d6da6847a)

Co-authored-by: Mateusz Nowak <nowak.mateusz@hotmail.com>
Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
14 months ago[3.13] gh-123123: Fix display of syntax errors covering multiple lines (GH-123131...
Miss Islington (bot) [Mon, 19 Aug 2024 15:35:47 +0000 (17:35 +0200)] 
[3.13] gh-123123: Fix display of syntax errors covering multiple lines (GH-123131) (#123147)

gh-123123: Fix display of syntax errors covering multiple lines (GH-123131)
(cherry picked from commit 48856ead6ae023b2819ee63cb6ff97a0976a2cc3)

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
14 months ago[3.13] gh-122081: fixed crash in decimal.IEEEContext() (GH-122082) (#123136)
Miss Islington (bot) [Mon, 19 Aug 2024 08:44:11 +0000 (10:44 +0200)] 
[3.13] gh-122081: fixed crash in decimal.IEEEContext() (GH-122082) (#123136)

gh-122081: fixed crash in decimal.IEEEContext() (GH-122082)

* gh-122081: fixed crash in decimal.IEEEContext()

Now

$ ./configure CFLAGS=-DEXTRA_FUNCTIONALITY -q && make -s && \
     ./python -m test test_decimal

- PASS

* Apply suggestions from code review

* Update Misc/NEWS.d/next/Library/2024-07-21-10-45-24.gh-issue-122081.dNrYMq.rst

* Apply suggestions from code review

---------

(cherry picked from commit b9e10d1a0fc4d8428d4b36eb127570a832c26b6f)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
14 months ago[3.13] gh-123110: correct note about _Bool in the struct module docs (GH-123111)...
Miss Islington (bot) [Mon, 19 Aug 2024 07:30:54 +0000 (09:30 +0200)] 
[3.13] gh-123110: correct note about _Bool in the struct module docs (GH-123111) (#123126)

gh-123110: correct note about _Bool in the struct module docs (GH-123111)
(cherry picked from commit b0f462d4c808d6fb1d381bba4932acd8309c1f3b)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
14 months ago[3.13] Add debug offsets for free threaded builds (GH-123041) (#123055)
Miss Islington (bot) [Sun, 18 Aug 2024 15:01:16 +0000 (17:01 +0200)] 
[3.13] Add debug offsets for free threaded builds (GH-123041) (#123055)

* Add debug offsets for free threaded builds (GH-123041)
(cherry picked from commit d7a3df91505faa56c51d169648253bd0d57ddae2)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* Refresh ABI file

---------

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
14 months ago[3.13] Docs: Run ``latexmk`` in parallel when creating PDFs (GH-123113) (#123115)
Miss Islington (bot) [Sat, 17 Aug 2024 21:15:24 +0000 (23:15 +0200)] 
[3.13] Docs: Run ``latexmk`` in parallel when creating PDFs (GH-123113) (#123115)

Docs: Run ``latexmk`` in parallel when creating PDFs (GH-123113)
(cherry picked from commit 79c542b5cc774ba758acc2b2e3b6556934190e34)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
14 months ago[3.13] gh-123022: Fix crash with `Py_Initialize` in background thread (GH-123052...
Miss Islington (bot) [Sat, 17 Aug 2024 20:38:02 +0000 (22:38 +0200)] 
[3.13] gh-123022: Fix crash with  `Py_Initialize` in background thread (GH-123052) (#123114)

Check that the current default heap is initialized in
`_mi_os_get_aligned_hint` and `mi_os_claim_huge_pages`.

The mimalloc function `_mi_os_get_aligned_hint` assumes that there is an
initialized default heap. This is true for our main thread, but not for
background threads. The problematic code path is usually called during
initialization (i.e., `Py_Initialize`), but it may also be called if the
program allocates large amounts of memory in total.

The crash only affected the free-threaded build.
(cherry picked from commit d061ffea7b408861d0a9d311e92c363da284971d)

Co-authored-by: Sam Gross <colesbury@gmail.com>
14 months ago[3.13] GH-109975: Copyedit 3.13 What's New: Other Language Changes (GH-123086) (...
Miss Islington (bot) [Sat, 17 Aug 2024 12:26:58 +0000 (14:26 +0200)] 
[3.13] GH-109975: Copyedit 3.13 What's New: Other Language Changes (GH-123086) (#123101)

GH-109975: Copyedit 3.13 What's New: Other Language Changes (GH-123086)
(cherry picked from commit d60b97a833fd3284f2ee249d32c97fc359d83486)

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] fix typo in dis.rst (GH-121612) (#123095)
Miss Islington (bot) [Sat, 17 Aug 2024 09:11:33 +0000 (11:11 +0200)] 
[3.13] fix typo in dis.rst (GH-121612) (#123095)

fix typo in dis.rst (GH-121612)
(cherry picked from commit e9287ea426e8e1b930f1c3f0cb949a1416d29090)

Co-authored-by: mathysEthical <110499907+mathysEthical@users.noreply.github.com>
14 months ago[3.13] gh-122519: Adding socket module shutdown() constants description (GH-122543...
Miss Islington (bot) [Sat, 17 Aug 2024 08:45:25 +0000 (10:45 +0200)] 
[3.13] gh-122519: Adding socket module shutdown() constants description (GH-122543) (#123093)

gh-122519: Adding socket module shutdown() constants description (GH-122543)
(cherry picked from commit 8a59deca59aa9452e71bb49e909199fbb41a5de7)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
14 months ago[3.13] mention pypy somewhat more prominently in the pyrepl section of whatsnew ...
Miss Islington (bot) [Fri, 16 Aug 2024 11:58:17 +0000 (13:58 +0200)] 
[3.13] mention pypy somewhat more prominently in the pyrepl section of whatsnew (GH-123063) (#123064)

14 months ago[3.13] gh-122247: Move instruction instrumentation sanity check after tracing check...
Miss Islington (bot) [Fri, 16 Aug 2024 10:01:40 +0000 (12:01 +0200)] 
[3.13] gh-122247: Move instruction instrumentation sanity check after tracing check (GH-122251) (GH-122812)

(cherry picked from commit 57d7c3e78fb635a0c6ccce38ec3e2f4284d5fac7)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
14 months ago[3.13] gh-122584: Import mimalloc headers in a C++ context (GH-122587) (#123035)
Miss Islington (bot) [Fri, 16 Aug 2024 08:49:17 +0000 (10:49 +0200)] 
[3.13] gh-122584: Import mimalloc headers in a C++ context (GH-122587) (#123035)

gh-122584: Import mimalloc headers in a C++ context (GH-122587)
(cherry picked from commit 1dad23edbc9db3a13268c1000c8dd428edba29f8)

Co-authored-by: Michael Droettboom <mdboom@gmail.com>
14 months ago[3.13] gh-116622: Add Android test script (GH-121595) (#123061)
Miss Islington (bot) [Fri, 16 Aug 2024 08:36:46 +0000 (10:36 +0200)] 
[3.13] gh-116622: Add Android test script (GH-121595) (#123061)

gh-116622: Add Android test script (GH-121595)

Adds a script for running the test suite on Android emulator devices. Starting
with a fresh install of the Android Commandline tools; the script manages
installing other requirements, starting the emulator (if required), and
retrieving results from that emulator.
(cherry picked from commit f84cce6f2588c6437d69a30856d7c4ba00b70ae0)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
14 months ago[3.13] gh-116622: Android logging fixes (GH-122698) (#122719)
Miss Islington (bot) [Fri, 16 Aug 2024 08:07:42 +0000 (10:07 +0200)] 
[3.13] gh-116622: Android logging fixes (GH-122698) (#122719)

gh-116622: Android logging fixes (GH-122698)

Modifies the handling of stdout/stderr redirection on Android to accomodate
the rate and buffer size limits imposed by Android's logging infrastructure.
(cherry picked from commit b0c48b8fd88f26b31ec2f743358091073277dcde)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
14 months ago[3.13] gh-116622: Don't expose `FICLONE` ioctl on Android (GH-122522) (#122539)
Miss Islington (bot) [Fri, 16 Aug 2024 08:07:27 +0000 (10:07 +0200)] 
[3.13] gh-116622: Don't expose `FICLONE` ioctl on Android (GH-122522) (#122539)

gh-116622: Don't expose `FICLONE` ioctl on Android (GH-122522)

Don't expose `FICLONE` ioctl on Android

(cherry picked from commit 06656e259bc9b2c3cf8a23bdc6e4acb052c56e1f)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
14 months ago[3.13] gh-123046: Fix regexp to catch cases where the module name is omitted from...
Miss Islington (bot) [Fri, 16 Aug 2024 07:41:49 +0000 (09:41 +0200)] 
[3.13] gh-123046: Fix regexp to catch cases where the module name is omitted from the weakref repr (GH-123047) (#123058)

gh-123046: Fix regexp to catch cases where the module name is omitted from the weakref repr (GH-123047)
(cherry picked from commit 786cac0c64dc156dfee817e87f15ae56b7e3ed00)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: sobolevn <mail@sobolevn.me>
14 months ago[3.13] gh-116608: Apply style and compatibility changes from importlib_resources...
Miss Islington (bot) [Thu, 15 Aug 2024 19:57:07 +0000 (21:57 +0200)] 
[3.13] gh-116608: Apply style and compatibility changes from importlib_resources. (GH-123028) (#123051)

gh-116608: Apply style and compatibility changes from importlib_metadata. (GH-123028)
(cherry picked from commit e913d2c87f1ae4e7a4aef5ba78368ef31d060767)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
14 months ago[3.13] GH-109975: Copyedit 3.13 What's New: New Features (GH-122990) (#123032)
Miss Islington (bot) [Thu, 15 Aug 2024 09:25:33 +0000 (11:25 +0200)] 
[3.13] GH-109975: Copyedit 3.13 What's New: New Features (GH-122990) (#123032)

GH-109975: Copyedit 3.13 What's New: New Features (GH-122990)
(cherry picked from commit b106cf8d978b32b04a4394973b850ef2a62cbcc4)

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: Brandt Bucher <brandtbucher@gmail.com>
14 months ago[3.13] gh-123005: Add version added in enum.Flag.__len__ (GH-123007) (#123026)
Miss Islington (bot) [Wed, 14 Aug 2024 21:31:19 +0000 (23:31 +0200)] 
[3.13] gh-123005: Add version added in enum.Flag.__len__ (GH-123007) (#123026)

gh-123005: Add version added in enum.Flag.__len__ (GH-123007)
(cherry picked from commit 8e2dc7f380c7ffe6b0fe525b4d0558aaed9d7145)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
14 months ago[3.13] gh-122965: Fix `reusable-change-detection.yml` on `workflow_dispatch` (GH...
Miss Islington (bot) [Wed, 14 Aug 2024 13:20:40 +0000 (15:20 +0200)] 
[3.13] gh-122965: Fix `reusable-change-detection.yml` on `workflow_dispatch` (GH-122966) (#123008)

gh-122965: Fix `reusable-change-detection.yml` on `workflow_dispatch` (GH-122966)
(cherry picked from commit 6ae942f412492b840fc6b43d39ba9133aa890ee7)

Co-authored-by: sobolevn <mail@sobolevn.me>
14 months ago[3.13] Revert use of --rerun in iOS testbed. (#122995)
Russell Keith-Magee [Wed, 14 Aug 2024 02:03:18 +0000 (10:03 +0800)] 
[3.13] Revert use of --rerun in iOS testbed. (#122995)

Reverts the use of --rerun in iOS testing because it tries to create a subprocess on the rerun.

14 months ago[3.13] Add a --rerun option to the iOS testbed. (GH-122992) (#122993)
Miss Islington (bot) [Wed, 14 Aug 2024 00:41:37 +0000 (02:41 +0200)] 
[3.13] Add a --rerun option to the iOS testbed. (GH-122992) (#122993)

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-85633: Fix pathlib test failures on filesystems without world-write. (GH...
Miss Islington (bot) [Tue, 13 Aug 2024 17:39:14 +0000 (19:39 +0200)] 
[3.13] GH-85633: Fix pathlib test failures on filesystems without world-write. (GH-122883) (#122979)

GH-85633: Fix pathlib test failures on filesystems without world-write. (GH-122883)

Replace `umask(0)` with `umask(0o002)` so the created files are not
world-writable, and replace `umask(0o022)` with `umask(0o026)` to check
that permissions for 'others' can still be set.
(cherry picked from commit 5f6851152254b4b9d70af4ae5aea3f20965cee28)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
14 months ago[3.13] Fix `print` usage in `turtle` doctests (GH-122940) (#122977)
Miss Islington (bot) [Tue, 13 Aug 2024 17:03:36 +0000 (19:03 +0200)] 
[3.13] Fix `print` usage in `turtle` doctests (GH-122940) (#122977)

Fix `print` usage in `turtle` doctests (GH-122940)
(cherry picked from commit 901d94992eddd84ded2edc55235cbf22503c4de4)

Co-authored-by: sobolevn <mail@sobolevn.me>
14 months ago[3.13] GH-109975: Copyedit 3.13 What's New: Release Highlights (GH-122958) (#122971)
Miss Islington (bot) [Tue, 13 Aug 2024 14:58:35 +0000 (16:58 +0200)] 
[3.13] GH-109975: Copyedit 3.13 What's New: Release Highlights (GH-122958) (#122971)

GH-109975: Copyedit 3.13 What's New: Release Highlights (GH-122958)
(cherry picked from commit db6f5e193315a3bbfa7b0b6644203bae3f76b638)

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-122944: Fix incorrect prompt strings in the Python Tutorial (GH-122949...
Miss Islington (bot) [Mon, 12 Aug 2024 18:56:36 +0000 (20:56 +0200)] 
[3.13] gh-122944: Fix incorrect prompt strings in the Python Tutorial (GH-122949) (#122954)

gh-122944: Fix incorrect prompt strings in the Python Tutorial (GH-122949)

In the REPL, top level comments are followed by a primary, not secondary prompt.
Fix the places in the in the tutorial that use the latter.
(cherry picked from commit be90648fb2de58b148dcc7553a08ca646911baf2)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
14 months ago[3.13] gh-122888: Fix crash on certain calls to str() (GH-122889) (#122947)
Miss Islington (bot) [Mon, 12 Aug 2024 16:53:05 +0000 (18:53 +0200)] 
[3.13] gh-122888: Fix crash on certain calls to str() (GH-122889) (#122947)

Fixes GH-122888
(cherry picked from commit 53ebb6232a8ebc03827cf2251bfc67f1886ffd70)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
15 months ago[3.13] gh-111051: [tests] Wait a second to support filesystems with low-resolution...
Miss Islington (bot) [Mon, 12 Aug 2024 11:00:33 +0000 (13:00 +0200)] 
[3.13] gh-111051: [tests] Wait a second to support filesystems with low-resolution mtime (GH-121959) (GH-122114)

(cherry picked from commit cad11a2bdceb6d4683ae5654ce555cdf5f191217)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
15 months ago[3.13] gh-116622: Skip PosixPathTest.test_expanduser_pwd2 on platforms which don...
Miss Islington (bot) [Mon, 12 Aug 2024 10:37:03 +0000 (12:37 +0200)] 
[3.13] gh-116622: Skip PosixPathTest.test_expanduser_pwd2 on platforms which don't support pwd.getpwall (GH-122521) (GH-122530)

(cherry picked from commit 8844197daaeb3aa026cfe1cac6cf9d1b52c2540e)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
15 months ago[3.13] gh-122903: Honor directories in zipfile.Path.glob. (GH-122908) (#122926)
Miss Islington (bot) [Mon, 12 Aug 2024 01:02:10 +0000 (03:02 +0200)] 
[3.13] gh-122903: Honor directories in zipfile.Path.glob. (GH-122908) (#122926)

(cherry picked from commit 6aa35f3002dda25858d47e702e750e2871e42a7c)

15 months ago[3.13] gh-122905: Sanitize names in zipfile.Path. (GH-122906) (#122922)
Miss Islington (bot) [Mon, 12 Aug 2024 00:35:04 +0000 (02:35 +0200)] 
[3.13] gh-122905: Sanitize names in zipfile.Path. (GH-122906) (#122922)

15 months ago[3.13] gh-122701: Fix wording of raw strings/bytes in `lexical_analysis.rst` (GH...
Miss Islington (bot) [Sun, 11 Aug 2024 21:20:07 +0000 (23:20 +0200)] 
[3.13] gh-122701: Fix wording of raw strings/bytes in `lexical_analysis.rst` (GH-122702) (#122914)

gh-122701: Fix wording of raw strings/bytes in `lexical_analysis.rst` (GH-122702)
(cherry picked from commit ea70439bd2b5a1c881342646f30942f527f61373)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] Docs: Standardise versionchanged text in weakref.rst (GH-122898) (#122911)
Miss Islington (bot) [Sun, 11 Aug 2024 20:57:19 +0000 (22:57 +0200)] 
[3.13] Docs: Standardise versionchanged text in weakref.rst (GH-122898) (#122911)

Docs: Standardise versionchanged text in weakref.rst (GH-122898)
(cherry picked from commit db8b83c2b0247f1d9b15152bbfcfe4afc7e588ed)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
15 months ago[3.13] GH-120794: Use example paths with multiple parts in pathlib docs (GH-122887...
Miss Islington (bot) [Sat, 10 Aug 2024 21:41:14 +0000 (23:41 +0200)] 
[3.13] GH-120794: Use example paths with multiple parts in pathlib docs (GH-122887) (#122895)

GH-120794: Use example paths with multiple parts in pathlib docs (GH-122887)

In the documentation of `PosixPath` and `WindowsPath`, and their `Pure*`
equivalents, use example paths with multiple non-anchor parts.

(cherry picked from commit 363374cf69a7e2292fe3f1c6bedd199088958cc2)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-122868: Add more lower bounds for sphinxcontrib dependencies (GH-122891...
Miss Islington (bot) [Sat, 10 Aug 2024 21:10:22 +0000 (23:10 +0200)] 
[3.13] gh-122868: Add more lower bounds for sphinxcontrib dependencies (GH-122891) (#122893)

gh-122868: Add more lower bounds for sphinxcontrib dependencies (GH-122891)
(cherry picked from commit 0959142e4defcf7a9fcbbb228d2e2b97a074f7ea)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-122868: Add lower bounds for sphinxcontrib dependencies (GH-122870) (#122871)
Miss Islington (bot) [Fri, 9 Aug 2024 22:36:23 +0000 (00:36 +0200)] 
[3.13] gh-122868: Add lower bounds for sphinxcontrib dependencies (GH-122870) (#122871)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-116622: Rename build variable MODULE_LDFLAGS back to LIBPYTHON (GH-122764...
Miss Islington (bot) [Fri, 9 Aug 2024 21:45:04 +0000 (23:45 +0200)] 
[3.13] gh-116622: Rename build variable MODULE_LDFLAGS back to LIBPYTHON (GH-122764) (GH-122842)

gh-116622: Rename build variable MODULE_LDFLAGS back to LIBPYTHON (GH-122764)

(LIBPYTHON was renamed MODULE_LDFLAGS in commit 7f5e3f04f.)
(cherry picked from commit 2f5c3b09e45798a18d60841d04a165fb062be666)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
15 months ago[3.13] gh-122255: Add black box tests in test_warnings (GH-122227) (GH-122818)
Miss Islington (bot) [Fri, 9 Aug 2024 21:33:56 +0000 (23:33 +0200)] 
[3.13] gh-122255: Add black box tests in test_warnings (GH-122227) (GH-122818)

gh-122255: Add black box tests in test_warnings (GH-122227)

They are similar to white box tests for gh-86298 in test_importlib.
(cherry picked from commit fe13c9baf40673fe369e98626dd87aea8b805aa2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-105376: Restore deprecated logging warn() method (GH-122775) (#122856)
Miss Islington (bot) [Fri, 9 Aug 2024 15:15:30 +0000 (17:15 +0200)] 
[3.13] gh-105376: Restore deprecated logging warn() method (GH-122775) (#122856)

gh-105376: Restore deprecated logging warn() method (GH-122775)

This reverts commit dcc028d92428bd57358a5028ada2a53fc79fc365 and
commit 6c54e5d72166d012b52155cbf13af9e533290e06.

Keep the deprecated logging warn() method in Python 3.13.

(cherry picked from commit d3239976a8e66ae3e2f4314a6889d79cdc9a9625)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 months ago[3.13] gh-109218: Refactor tests for the complex() constructor (GH-119635) (GH-119795)
Miss Islington (bot) [Fri, 9 Aug 2024 14:42:16 +0000 (16:42 +0200)] 
[3.13] gh-109218: Refactor tests for the complex() constructor (GH-119635) (GH-119795)

* Share common classes.
* Use exactly representable floats and exact tests.
* Check the sign of zero components.
* Remove duplicated tests (mostly left after merging int and long).
* Reorder tests in more consistent way.
* Test more error messages.
* Add tests for missed cases.
(cherry picked from commit bf098d4157158e1e4b2ea78aba4ac82d72e24cff)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-121874: Define audit-event open parameters consistently (GH-121883) (#121956)
Miss Islington (bot) [Fri, 9 Aug 2024 14:35:49 +0000 (16:35 +0200)] 
[3.13] gh-121874: Define audit-event open parameters consistently (GH-121883) (#121956)

Co-authored-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 months ago[3.13] gh-122695: Fix double-free when using `gc.get_referents` with a freed `_asynci...
Peter Bierma [Fri, 9 Aug 2024 14:06:36 +0000 (14:06 +0000)] 
[3.13] gh-122695: Fix double-free when using `gc.get_referents` with a freed `_asyncio.FutureIter` (#122837)

* Backport #122834 for 3.13

15 months ago[3.13] gh-122661: Remove GNU make-specific directive from Doc/Makefile (GH-122662...
Miss Islington (bot) [Fri, 9 Aug 2024 11:43:09 +0000 (13:43 +0200)] 
[3.13] gh-122661: Remove GNU make-specific directive from Doc/Makefile (GH-122662) (#122668)

Co-authored-by: Libor Martínek <libas@acco.cz>
15 months ago[3.13] gh-122744: test_venv: ignore pip's complaint about missing ssl (GH-122776...
Miss Islington (bot) [Fri, 9 Aug 2024 07:26:54 +0000 (09:26 +0200)] 
[3.13] gh-122744: test_venv: ignore pip's complaint about missing ssl (GH-122776) (GH-122823)

(cherry picked from commit 0d9c123d1ac4f3dd30bdef5182049d9a831eca10)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
15 months ago[3.13] GH-118943: Remove regen-jit from the regen-all make target (GH-122840)
Miss Islington (bot) [Thu, 8 Aug 2024 21:14:49 +0000 (23:14 +0200)] 
[3.13] GH-118943: Remove regen-jit from the regen-all make target (GH-122840)

cherry picked from commit 8c9d1742de6e3c3232c96660291f109c23a3bc49)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
Co-authored-by: Éric <merwok@netwok.org>
15 months ago[3.13] GH-118943: Handle races when moving jit_stencils.h (GH-122709)
Miss Islington (bot) [Thu, 8 Aug 2024 20:37:49 +0000 (22:37 +0200)] 
[3.13] GH-118943: Handle races when moving jit_stencils.h (GH-122709)

(cherry picked from commit 44659d392751f0161a0f958fec39ad013da45427)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
15 months ago[3.13] gh-87320: In the code module, handle exceptions raised in sys.excepthook ...
Miss Islington (bot) [Thu, 8 Aug 2024 07:26:52 +0000 (09:26 +0200)] 
[3.13] gh-87320: In the code module, handle exceptions raised in sys.excepthook (GH-122456) (GH-122514)

Before, the exception caused by calling non-default sys.excepthook
in code.InteractiveInterpreter bubbled up to the caller, ending the REPL.
(cherry picked from commit bd3d31f380cd451a4ab6da5fbfde463fed95b5b5)

Co-authored-by: CF Bolz-Tereick <cfbolz@gmx.de>
15 months ago[3.13] gh-118814: Fix the TypeVar constructor when name is passed by keyword (GH...
Serhiy Storchaka [Thu, 8 Aug 2024 06:49:21 +0000 (09:49 +0300)] 
[3.13] gh-118814: Fix the TypeVar constructor when name is passed by keyword (GH-122664) (GH-122806)

Fix _PyArg_UnpackKeywordsWithVararg for the case when argument for
positional-or-keyword parameter is passed by keyword.
There was only one such case in the stdlib -- the TypeVar constructor.
(cherry picked from commit 540fcc62f5da982b79504221cac01bfab8b73ba1)

15 months ago[3.13] Docs: Change `remove` to `removes` for consistency (GH-121072) (#122790)
Miss Islington (bot) [Wed, 7 Aug 2024 16:18:08 +0000 (18:18 +0200)] 
[3.13] Docs: Change `remove` to `removes` for consistency (GH-121072) (#122790)

Docs: Change `remove` to `removes` for consistency (GH-121072)
(cherry picked from commit 967a4f1d180d4cd669d5c6e3ac5ba99af4e72d4e)

Co-authored-by: smij720 <122238526+smij720@users.noreply.github.com>
15 months ago[3.13] gh-122511: Improve documentation for object identity of mutable/immutable...
Miss Islington (bot) [Wed, 7 Aug 2024 15:41:26 +0000 (17:41 +0200)] 
[3.13] gh-122511: Improve documentation for object identity of mutable/immutable types (GH-122512) (#122778)

gh-122511: Improve documentation for object identity of mutable/immutable types (GH-122512)
(cherry picked from commit 76bdeebef6c6206f3e0af1e42cbfc75c51fbb8ca)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] Doc: cmdline.rst: Include -P and -R in usage (GH-122590) (#122783)
Miss Islington (bot) [Wed, 7 Aug 2024 15:35:35 +0000 (17:35 +0200)] 
[3.13] Doc: cmdline.rst: Include -P and -R in usage (GH-122590) (#122783)

Doc: cmdline.rst: Include -P and -R in usage (GH-122590)

* ``-P``: safe path (https://docs.python.org/3/using/cmdline.htmlGH-cmdoption-P)
* ``-R``: hash randomization (https://docs.python.org/3/using/cmdline.htmlGH-cmdoption-R)
(cherry picked from commit c25898d51e4ec84319b7113d5bf453c6e6519d9c)

Co-authored-by: Wim Jeantine-Glenn <hey@wimglenn.com>
15 months ago[3.13] gh-122581: Avoid data races when collecting parser statistics (GH-122694)...
Miss Islington (bot) [Wed, 7 Aug 2024 12:59:03 +0000 (14:59 +0200)] 
[3.13] gh-122581: Avoid data races when collecting parser statistics (GH-122694) (#122733)

gh-122581: Avoid data races when collecting parser statistics (GH-122694)
(cherry picked from commit ce0d66c8d238c9676c6ecd3f04294a3299e07f74)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
15 months ago[3.13] gh-122728: Fix SystemError in PyEval_GetLocals() (GH-122735) (#122757)
Miss Islington (bot) [Tue, 6 Aug 2024 21:37:10 +0000 (23:37 +0200)] 
[3.13] gh-122728: Fix SystemError in PyEval_GetLocals() (GH-122735) (#122757)

gh-122728: Fix SystemError in PyEval_GetLocals() (GH-122735)

Fix PyEval_GetLocals() to avoid SystemError ("bad argument to
internal function"). Don't redefine the 'ret' variable in the if
block.

Add an unit test on PyEval_GetLocals().
(cherry picked from commit 4767a6e31c0550836b2af45d27e374e721f0c4e6)

Co-authored-by: Victor Stinner <vstinner@python.org>
15 months ago[3.13] gh-122334: Fix test_embed failure when missing _ssl module (GH-122630) (#122647)
Miss Islington (bot) [Tue, 6 Aug 2024 19:00:14 +0000 (21:00 +0200)] 
[3.13] gh-122334: Fix test_embed failure when missing _ssl module (GH-122630) (#122647)

gh-122334: Fix test_embed failure when missing _ssl module (GH-122630)
(cherry picked from commit 50b36037518a8e7f7eee39b597d56b5b2756eb86)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
Co-authored-by: Wulian233 <1055917385@qq.com>
15 months ago[3.13] gh-121103: Update site module docs for free-threaded installs (GH-122737)...
Miss Islington (bot) [Tue, 6 Aug 2024 18:57:02 +0000 (20:57 +0200)] 
[3.13] gh-121103: Update site module docs for free-threaded installs (GH-122737) (#122750)

gh-121103: Update site module docs for free-threaded installs (GH-122737)
(cherry picked from commit 1429651a06611a9dbcb1928b746faf52934c12e2)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
15 months ago[3.13] gh-122744: Bump bundled pip to 24.2 (#122746)
Pradyun Gedam [Tue, 6 Aug 2024 18:50:12 +0000 (19:50 +0100)] 
[3.13] gh-122744: Bump bundled pip to 24.2 (#122746)

(cherry picked from commit 5b8a6c5186be299d96dd483146dc6ea737ffdfe7)

Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
15 months ago[3.13] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233...
Miss Islington (bot) [Tue, 6 Aug 2024 17:06:41 +0000 (19:06 +0200)] 
[3.13] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233) (#122484)

gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233)

GH-GH- Encode header parts that contain newlines

Per RFC 2047:

> [...] these encoding schemes allow the
> encoding of arbitrary octet values, mail readers that implement this
> decoding should also ensure that display of the decoded data on the
> recipient's terminal will not cause unwanted side-effects

It seems that the "quoted-word" scheme is a valid way to include
a newline character in a header value, just like we already allow
undecodable bytes or control characters.
They do need to be properly quoted when serialized to text, though.

GH-GH- Verify that email headers are well-formed

This should fail for custom fold() implementations that aren't careful
about newlines.

(cherry picked from commit 097633981879b3c9de9a1dd120d3aa585ecc2384)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Bas Bloemsaat <bas@bloemsaat.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-122573: Require Python 3.10 or newer for Windows builds (GH-122574) (#122674)
Miss Islington (bot) [Tue, 6 Aug 2024 16:53:12 +0000 (18:53 +0200)] 
[3.13] gh-122573: Require Python 3.10 or newer for Windows builds (GH-122574) (#122674)

gh-122573: Require Python 3.10 or newer for Windows builds (GH-122574)

Match statements in tooling require a more recent Python. Tools/cases_generator/*.py (and `Tools/jit/*.py` in 3.13+).

(cherry picked from commit d0b92dd5ca46a10558857adeb7bb48ecf39fa783)

Co-authored-by: Jonathan Protzenko <protz@microsoft.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
15 months ago[3.13] Fix syntax in generate_re_casefix.py (GH-122699) (#122721)
Miss Islington (bot) [Tue, 6 Aug 2024 06:46:14 +0000 (08:46 +0200)] 
[3.13] Fix syntax in generate_re_casefix.py (GH-122699) (#122721)

This was broken in gh-97963.
(cherry picked from commit b72c748d7fb4ecc0bc4626c7bc05fbc6c83f0ba8)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
15 months ago[3.13] gh-122613: Document PyLong_GetInfo() (part of Limited API) (GH-122280) (#122645)
Sergey B Kirpichev [Mon, 5 Aug 2024 18:11:34 +0000 (21:11 +0300)] 
[3.13] gh-122613: Document PyLong_GetInfo() (part of Limited API) (GH-122280) (#122645)

[3.13] gh-122613: Document PyLong_GetInfo() (part of Limited API) (GH-GH-122280)
(cherry picked from commit d91ac525ef166edc0083acf5a96f81b87324fe7f)

15 months ago[3.13] gh-121367: [doc] BUILD_TUPLE arg can be 0 (GH-122663) (#122683)
Miss Islington (bot) [Mon, 5 Aug 2024 09:37:16 +0000 (11:37 +0200)] 
[3.13] gh-121367: [doc] BUILD_TUPLE arg can be 0 (GH-122663) (#122683)

gh-121367: [doc] BUILD_TUPLE arg can be 0 (GH-122663)
(cherry picked from commit 1422500d020bd199b26357fc387f8b79b82226cd)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
15 months ago[3.13] Add `3.13` and remove `3.7` in Azure Pipelines (GH-122670) (#122671)
Miss Islington (bot) [Sun, 4 Aug 2024 17:21:25 +0000 (19:21 +0200)] 
[3.13] Add `3.13` and remove `3.7` in Azure Pipelines (GH-122670) (#122671)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
15 months ago[3.13] gh-122623: Improve `c-api/bytearray.rst` with error handling info (GH-122624...
Miss Islington (bot) [Sun, 4 Aug 2024 12:09:22 +0000 (14:09 +0200)] 
[3.13] gh-122623: Improve `c-api/bytearray.rst` with error handling info (GH-122624) (#122658)

gh-122623: Improve `c-api/bytearray.rst` with error handling info (GH-122624)
(cherry picked from commit 151934a324789c58cca9c7bbd6753d735454df5a)

Co-authored-by: sobolevn <mail@sobolevn.me>
15 months ago[3.13] Doc: Grammar fix in ``library/ssl.rst``, 'Verifying certificates' (GH-122646...
Miss Islington (bot) [Sat, 3 Aug 2024 13:41:49 +0000 (15:41 +0200)] 
[3.13] Doc: Grammar fix in ``library/ssl.rst``, 'Verifying certificates' (GH-122646) (#122649)

Doc: Grammar fix in ``library/ssl.rst``, 'Verifying certificates' (GH-122646)
(cherry picked from commit 06eb9701a182b4720dfa8766cb41cc5a3728a8b9)

Co-authored-by: scottwoodall <scott.woodall@gmail.com>
15 months ago[3.13] Doc: Improve wording of ``os.path.commonpath()`` (GH-122627) (#122641)
Miss Islington (bot) [Sat, 3 Aug 2024 13:25:26 +0000 (15:25 +0200)] 
[3.13] Doc: Improve wording of ``os.path.commonpath()`` (GH-122627) (#122641)

Doc: Improve wording of ``os.path.commonpath()`` (GH-122627)
(cherry picked from commit 7a5c4103b094aaf1b65af6de65795d172cfe8fe0)

Co-authored-by: Matth-M <93771840+Matth-M@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-122445: populate only modified fields in __static_attributes__ (#122446...
Irit Katriel [Fri, 2 Aug 2024 18:26:57 +0000 (19:26 +0100)] 
[3.13] gh-122445: populate only modified fields in __static_attributes__ (#122446) (#122621)

gh-122445: populate only modified fields in __static_attributes__ (#122446)

(cherry picked from commit 498376d7a7d6f704f22a2c963130cc15c17e7a6f)

15 months ago[3.13] gh-122334: Fix crash when importing ssl after re-initialization (GH-122481...
Miss Islington (bot) [Fri, 2 Aug 2024 14:07:16 +0000 (16:07 +0200)] 
[3.13] gh-122334: Fix crash when importing ssl after re-initialization (GH-122481) (#122614)

gh-122334: Fix crash when importing ssl after re-initialization (GH-122481)

* Fix crash when importing ssl after re-initialization
(cherry picked from commit 9fc1c992d6fcea0b7558c581846eef6bdd811f6c)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
15 months ago[3.13] gh-120974: Make asyncio `swap_current_task` safe in free-threaded build (GH...
Miss Islington (bot) [Fri, 2 Aug 2024 13:58:24 +0000 (15:58 +0200)] 
[3.13] gh-120974: Make asyncio `swap_current_task` safe in free-threaded build (GH-122317) (#122612)

gh-120974: Make asyncio `swap_current_task` safe in free-threaded build (GH-122317)

* gh-120974: Make asyncio `swap_current_task` safe in free-threaded build
(cherry picked from commit b5e6fb39a246bf7ee470d58632cdf588bb9d0298)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] gh-121723: Relax constraints on queue objects for `logging.handlers.QueueHandl...
Miss Islington (bot) [Fri, 2 Aug 2024 12:07:27 +0000 (14:07 +0200)] 
[3.13] gh-121723: Relax constraints on queue objects for `logging.handlers.QueueHandler`. (GH-122154) (GH-122603)

(cherry picked from commit fb864c76cd5e450e789a7b4095832e118cc49a39)

15 months ago[3.13] Add the Python 3.13 abidump, and enable the ABI check. (#122583)
T. Wouters [Fri, 2 Aug 2024 11:18:49 +0000 (13:18 +0200)] 
[3.13] Add the Python 3.13 abidump, and enable the ABI check. (#122583)

dd the Python 3.13 abidump, and enable the ABI check.

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 months ago[3.13] gh-122544: Change OS image in readthedocs.yml to ubuntu-24.04 (GH-122568)...
Miss Islington (bot) [Fri, 2 Aug 2024 06:45:03 +0000 (08:45 +0200)] 
[3.13] gh-122544: Change OS image in readthedocs.yml to ubuntu-24.04 (GH-122568) (#122593)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
15 months ago[3.13] gh-122384: Mark strings from Download page for translation (GH-122385) (#122553)
Miss Islington (bot) [Thu, 1 Aug 2024 09:49:49 +0000 (11:49 +0200)] 
[3.13] gh-122384: Mark strings from Download page for translation (GH-122385) (#122553)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 months agoPost 3.13.0rc1
Thomas Wouters [Thu, 1 Aug 2024 09:02:31 +0000 (11:02 +0200)] 
Post 3.13.0rc1

15 months agoPython 3.13.0rc1 v3.13.0rc1
Thomas Wouters [Wed, 31 Jul 2024 18:10:21 +0000 (20:10 +0200)] 
Python 3.13.0rc1

15 months ago[3.13] Update the expected bytecode magic number in test_importlib.test_util (#122513)
T. Wouters [Wed, 31 Jul 2024 18:03:22 +0000 (20:03 +0200)] 
[3.13] Update the expected bytecode magic number in test_importlib.test_util (#122513)

Update the expected bytecode magic number in test_importlib.test_util.

15 months ago[3.13] gh-120906: Support arbitrary hashable keys in FrameLocalsProxy (GH-122309...
Petr Viktorin [Wed, 31 Jul 2024 09:31:44 +0000 (11:31 +0200)] 
[3.13] gh-120906: Support arbitrary hashable keys in FrameLocalsProxy (GH-122309) (#122488)

[3.13] gh-120906: Support arbitrary hashable keys in FrameLocalsProxy  (GH-122309)

Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
(cherry picked from commit 5912487938ac4b517209082ab9e6d2d3d0fb4f4d)

15 months ago[3.13] Move change detection to separate workflow in CI (GH-122336) (#122510)
Miss Islington (bot) [Wed, 31 Jul 2024 09:01:20 +0000 (11:01 +0200)] 
[3.13] Move change detection to separate workflow in CI (GH-122336) (#122510)

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk@sydorenko.org.ua>