]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
15 months ago[3.13] gh-120831: Correct default minimum iOS version. (GH-122339) (#122341)
Miss Islington (bot) [Sat, 27 Jul 2024 02:18:34 +0000 (04:18 +0200)] 
[3.13] gh-120831: Correct default minimum iOS version. (GH-122339) (#122341)

gh-120831: Correct default minimum iOS version. (GH-122339)

Correct default minimum iOS version.
(cherry picked from commit 4a2607c1807982a107445b5a35240f587a61eb0d)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
15 months ago[3.13] Document ``mimetypes.MimeTypes.add_type()`` (GH-122301) (#122328)
Miss Islington (bot) [Fri, 26 Jul 2024 22:20:01 +0000 (00:20 +0200)] 
[3.13] Document ``mimetypes.MimeTypes.add_type()`` (GH-122301) (#122328)

Document ``mimetypes.MimeTypes.add_type()`` (GH-122301)
(cherry picked from commit d52726ccd456833ea9f09cabb4b8aef09755e472)

Co-authored-by: Subrahmanya Gaonkar <148525245+negativenagesh@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-122201: Lock mutex when setting handling_thread to NULL (GH-122204) (#122319)
Miss Islington (bot) [Fri, 26 Jul 2024 17:30:08 +0000 (19:30 +0200)] 
[3.13] gh-122201: Lock mutex when setting handling_thread to NULL (GH-122204) (#122319)

In the free-threaded build, we need to lock pending->mutex when clearing
the handling_thread in order not to race with a concurrent
make_pending_calls in the same interpreter.
(cherry picked from commit c557ae97d6bd9d04164a19b4fe136610e54dbdd8)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] gh-122311: Fix typo in the pickle error formatting code (GH-122312) (GH-122314)
Miss Islington (bot) [Fri, 26 Jul 2024 15:13:59 +0000 (17:13 +0200)] 
[3.13] gh-122311: Fix typo in the pickle error formatting code (GH-122312) (GH-122314)

(cherry picked from commit 7c2921844f9fa713f93152bf3a569812cee347a0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] GH-122155: Fix cases generator to correctly compute 'peek' offset for error...
Mark Shannon [Fri, 26 Jul 2024 09:51:42 +0000 (10:51 +0100)] 
[3.13] GH-122155: Fix cases generator to correctly compute 'peek' offset for error handling (GH-122158) (GH-122174)

15 months ago[3.13] Move macOS matrix to the calling workflow (GH-121809) (#122297)
Miss Islington (bot) [Thu, 25 Jul 2024 20:56:11 +0000 (22:56 +0200)] 
[3.13] Move macOS matrix to the calling workflow (GH-121809) (#122297)

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 months ago[3.13] GH-121832: Assert that the version number of static builtin types is not chang...
Miss Islington (bot) [Thu, 25 Jul 2024 17:34:01 +0000 (19:34 +0200)] 
[3.13] GH-121832: Assert that the version number of static builtin types is not changed by PyType_Modified (gh-122290)

Update datetime module and test_type_cache.py to not call PyType_Modified.

(cherry picked from commit e55b05f29ee62cd92b6b9990fd699b78f19432ba, AKA gh--122182)

Co-authored-by: Mark Shannon <mark@hotpy.org>
15 months ago[3.13] gh-121489: Export private _PyBytes_Join() again (GH-122267) (#122287)
Miss Islington (bot) [Thu, 25 Jul 2024 16:06:31 +0000 (18:06 +0200)] 
[3.13] gh-121489: Export private _PyBytes_Join() again (GH-122267) (#122287)

gh-121489: Export private _PyBytes_Join() again (GH-122267)
(cherry picked from commit aef95eb107fef9355c66461612aedd31265f8c21)

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
15 months ago[3.13] gh-116322: Fix typo in the GH-ifdef check (GH-122268) (#122284)
Miss Islington (bot) [Thu, 25 Jul 2024 14:58:34 +0000 (16:58 +0200)] 
[3.13] gh-116322: Fix typo in the GH-ifdef check (GH-122268) (#122284)

gh-116322: Fix typo in the GH-ifdef check (GH-122268)
(cherry picked from commit 9bb2e4623f504c44655436eae181d802f544fff9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-121913: Use str(exc) instead of exc.strerror in `asyncio.base_events` ...
Miss Islington (bot) [Thu, 25 Jul 2024 12:20:40 +0000 (14:20 +0200)] 
[3.13] gh-121913: Use str(exc) instead of exc.strerror in `asyncio.base_events` (GH-122269) (#122278)

gh-121913: Use str(exc) instead of exc.strerror in `asyncio.base_events` (GH-122269)
(cherry picked from commit 070f1e2e5b9b31ee3e7a1af2e30d7e3a66040b17)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
15 months ago[3.13] gh-122270: Fix typos in the Py_DEBUG macro name (GH-122271) (GH-122275)
Miss Islington (bot) [Thu, 25 Jul 2024 11:29:22 +0000 (13:29 +0200)] 
[3.13] gh-122270: Fix typos in the Py_DEBUG macro name (GH-122271) (GH-122275)

(cherry picked from commit 6c09b8de5c67406113e8d082e05c9587e35a852a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-82951: Fix serializing by name in pickle protocols < 4 (GH-122149) (GH...
Miss Islington (bot) [Thu, 25 Jul 2024 10:44:55 +0000 (12:44 +0200)] 
[3.13] gh-82951: Fix serializing by name in pickle protocols < 4 (GH-122149) (GH-122264)

Serializing objects with complex __qualname__ (such as unbound methods and
nested classes) by name no longer involves serializing parent objects by value
in pickle protocols < 4.
(cherry picked from commit dc07f65a53baf60d9857186294d3d7ba92d5606d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-122187: Avoid TSan reported race in `run_udp_echo_server` (GH-122189) ...
Miss Islington (bot) [Thu, 25 Jul 2024 08:42:38 +0000 (10:42 +0200)] 
[3.13] gh-122187: Avoid TSan reported race in `run_udp_echo_server` (GH-122189) (#122263)

gh-122187: Avoid TSan reported race in `run_udp_echo_server` (GH-122189)

TSan doesn't fully recognize the synchronization via I/O, so ensure that
socket name is retrieved earlier and use a different socket for sending
the "STOP" message.
(cherry picked from commit 2f74b709b637cad7a9c18a2d90b0747823f2ff51)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] gh-113785: csv: fields starting with escapechar are not quoted (GH-122110...
Miss Islington (bot) [Thu, 25 Jul 2024 07:29:36 +0000 (09:29 +0200)] 
[3.13] gh-113785: csv: fields starting with escapechar are not quoted (GH-122110) (GH-122258)

(cherry picked from commit a3327dbfd4db9e5ad1ca514963d503abbbbfede7)

Co-authored-by: Mikołaj Kuranowski <mkuranowski@gmail.com>
15 months ago[3.13] gh-122191: Fix test_warnings failure if run with -Werror (GH-122222) (GH-122256)
Miss Islington (bot) [Thu, 25 Jul 2024 07:28:33 +0000 (09:28 +0200)] 
[3.13] gh-122191: Fix test_warnings failure if run with -Werror (GH-122222) (GH-122256)

__spec__.loader is now required in the module globals (see gh-86298).
(cherry picked from commit 9b4fe9b718f27352ba0c1cf1184f5b90d77d7df4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.13] gh-122087: Restore ismethoddescriptor() and isroutine() for partial objects...
Serhiy Storchaka [Thu, 25 Jul 2024 07:11:47 +0000 (10:11 +0300)] 
[3.13] gh-122087: Restore ismethoddescriptor() and isroutine() for partial objects (GH-122218)

Now they return False again.

15 months ago[3.13] gh-117482: Simplify the Fix For Builtin Types Slot Wrappers (gh-121932)
Eric Snow [Wed, 24 Jul 2024 18:02:36 +0000 (12:02 -0600)] 
[3.13] gh-117482: Simplify the Fix For Builtin Types Slot Wrappers (gh-121932)

In gh-121602, I applied a fix to a builtin types initialization bug.
That fix made sense in the context of some broader future changes,
but introduced a little bit of extra complexity.  For earlier versions
those future changes are not relevant; we can avoid the extra complexity.
Thus we can revert that earlier change and replace it with this one,
which is more focused and conceptually simpler.  This is essentially
the implementation of an idea that @markshannon pointed out to me.

Note that this change would be much smaller if we didn't have to deal
with repr compatibility for builtin types that explicitly inherit tp slots
(see expect_manually_inherited()).  The alternative is to stop
*explicitly* inheriting tp slots in static PyTypeObject values,
which is churn that we can do separately.

15 months ago[3.13] Integrate `build_msi` into main CI workflow (GH-121778) (#122226)
Miss Islington (bot) [Wed, 24 Jul 2024 10:57:41 +0000 (12:57 +0200)] 
[3.13] Integrate `build_msi` into main CI workflow (GH-121778) (#122226)

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-122085: Use include files for `whatsnew/3.12.rst` deprecations, including...
Hugo van Kemenade [Wed, 24 Jul 2024 10:15:56 +0000 (13:15 +0300)] 
[3.13] gh-122085: Use include files for `whatsnew/3.12.rst` deprecations, including 3.16 (GH-122093) (#122225)

15 months ago[3.13] gh-122085: Use include files for `whatsnew/3.12.rst` deprecations (GH-122093...
Hugo van Kemenade [Wed, 24 Jul 2024 09:09:48 +0000 (12:09 +0300)] 
[3.13] gh-122085: Use include files for `whatsnew/3.12.rst` deprecations (GH-122093) (#122223)

15 months ago[3.13] GH-120754: Add more tests around seek + readall (GH-122103) (#122215)
Miss Islington (bot) [Wed, 24 Jul 2024 06:44:41 +0000 (08:44 +0200)] 
[3.13] GH-120754: Add more tests around seek + readall (GH-122103) (#122215)

GH-120754: Add more tests around seek + readall (GH-122103)

In the process of speeding up readall, A number of related tests
(ex. large file tests in test_zipfile) found problems with the
change I was making. This adds I/O tests to specifically test these
cases to help ensure they don't regress and hopefully make debugging
easier.

This is part of the improvements from
https://github.com/python/cpython/pull/121593GH-issuecomment-2222261986
(cherry picked from commit 9eb734111be90399fb6ae2f717d736abb8e518cb)

Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
15 months ago[3.13] gh-122029: Log call events in sys.setprofile when it's a method with c functio...
Miss Islington (bot) [Tue, 23 Jul 2024 22:49:36 +0000 (00:49 +0200)] 
[3.13] gh-122029: Log call events in sys.setprofile when it's a method with c function (GH-122072) (GH-122205)

gh-122029: Log call events in sys.setprofile when it's a method with c function (GH-122072)

Log call events in sys.setprofile when it is a method with a C function.
(cherry picked from commit e91ef13861e88c27aed51a24e58d1dcc855a01dc)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
15 months ago[3.13] gh-121832: Skip subinterpreter static type check on iOS to restore test suite...
Miss Islington (bot) [Tue, 23 Jul 2024 22:48:02 +0000 (00:48 +0200)] 
[3.13] gh-121832: Skip subinterpreter static type check on iOS to restore test suite. (GH-122150) (#122159)

gh-121832: Skip subinterpreter static type check on iOS to restore test suite. (GH-122150)
(cherry picked from commit 1bcc9eb8623c4e9bd8460f22b5ebae4e0cb434e4)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
15 months ago[3.13] gh-122199: Skip test_slot_wrappers When Checking For Refleaks (gh-122202)
Eric Snow [Tue, 23 Jul 2024 21:53:39 +0000 (15:53 -0600)] 
[3.13] gh-122199: Skip test_slot_wrappers When Checking For Refleaks (gh-122202)

(cherry picked from commit 41a91bd67f86c922f350894a797738038536e1c5, AKA gh-122200)

15 months ago[3.13] gh-117657: Skip tests that use threads after fork (GH-122194) (#122198)
Miss Islington (bot) [Tue, 23 Jul 2024 21:00:21 +0000 (23:00 +0200)] 
[3.13] gh-117657: Skip tests that use threads after fork (GH-122194) (#122198)

These tests fail when run under thread sanitizer due to the use of fork
and threads.
(cherry picked from commit 64e221d7ada8f6c20189035c7e81503f4c914f04)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] gh-117482: Expand Tests for Slot Wrappers of Inherited Slots of Static Builtin...
Miss Islington (bot) [Tue, 23 Jul 2024 20:22:24 +0000 (22:22 +0200)] 
[3.13] gh-117482: Expand Tests for Slot Wrappers of Inherited Slots of Static Builtin Types (gh-122195)

(cherry picked from commit 33d32faa580fb776cb660e9cc8aa7e45c6c68c08, AKA gh-122192)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
15 months ago[3.13] gh-120974: Make _asyncio._leave_task atomic in the free-threaded build (GH...
Miss Islington (bot) [Tue, 23 Jul 2024 17:30:58 +0000 (19:30 +0200)] 
[3.13] gh-120974: Make _asyncio._leave_task atomic in the free-threaded build (GH-122139) (#122186)

gh-120974: Make _asyncio._leave_task atomic in the free-threaded build (GH-122139)

* gh-120974: Make _asyncio._leave_task atomic in the free-threaded build

Update `_PyDict_DelItemIf` to allow for an argument to be passed to the
predicate.
(cherry picked from commit a15feded71dd47202db169613effdafc468a8cf3)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] gh-121973: Fix flaky test_pyrepl tests (GH-122140) (GH-122173)
Miss Islington (bot) [Tue, 23 Jul 2024 13:57:24 +0000 (15:57 +0200)] 
[3.13] gh-121973: Fix flaky test_pyrepl tests (GH-122140) (GH-122173)

This fixes the flakiness in:
* test_inspect_keeps_globals_from_inspected_file
* test_inspect_keeps_globals_from_inspected_module

The output already includes newlines. Adding newlines for every entry in
the output list introduces non-determinism because it added '\n' in
places where stdout is flushed or some buffer becomes full.

The regex also needed to be updated because pyrepl includes control
characters -- the visible output on each line doesn't immediately follow
a newline character.

(cherry picked from commit 2c1b1e7a07eba0138b9858c6f2bea3cae9af0808)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
15 months ago[3.13] Docs: Use cross-reference to `os.uname` in `sysconfig.get_platform` (GH-122083...
Miss Islington (bot) [Tue, 23 Jul 2024 13:29:46 +0000 (15:29 +0200)] 
[3.13] Docs: Use cross-reference to `os.uname` in `sysconfig.get_platform` (GH-122083) (#122171)

Docs: Use cross-reference to `os.uname` in `sysconfig.get_platform` (GH-122083)
(cherry picked from commit 498cb6dff10f97fa3d348a4c0ad9374d14af3312)

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
15 months ago[3.13] gh-85453: Fix 'timezone' vs. 'time zone' spelling issues in datetime.rst ...
Miss Islington (bot) [Tue, 23 Jul 2024 13:27:31 +0000 (15:27 +0200)] 
[3.13] gh-85453: Fix 'timezone' vs. 'time zone' spelling issues in datetime.rst (GH-118449) (#121837)

(cherry picked from commit 1755df7b3bf5aaaba55fd7ec02a91d99305e362e)

Co-authored-by: edson duarte <eduarte.uatach@gmail.com>
15 months ago[3.13] GH-121970: Remove ``escape4chm`` (GH-122065) (#122167)
Miss Islington (bot) [Tue, 23 Jul 2024 12:48:23 +0000 (14:48 +0200)] 
[3.13] GH-121970: Remove ``escape4chm`` (GH-122065) (#122167)

GH-121970: Remove ``escape4chm`` (GH-122065)
(cherry picked from commit 53e9e7de6359845f118431c05e2f14a96e03b757)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-122088: Copy the coroutine status of the underlying callable in `@warnings...
Miss Islington (bot) [Tue, 23 Jul 2024 10:24:07 +0000 (12:24 +0200)] 
[3.13] gh-122088: Copy the coroutine status of the underlying callable in `@warnings.deprecated` (GH-122086) (#122156)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
15 months ago[3.13] gh-120974: Make _asyncio._enter_task atomic in the free-threaded build (GH...
Miss Islington (bot) [Tue, 23 Jul 2024 09:17:52 +0000 (11:17 +0200)] 
[3.13] gh-120974: Make _asyncio._enter_task atomic in the free-threaded build (GH-122138) (#122152)

gh-120974: Make _asyncio._enter_task atomic in the free-threaded build (GH-122138)

Use `PyDict_SetDefaultRef` to set the current task in a single operation
under the dictionary's lock.
(cherry picked from commit 47847aa8ef66837f984fc4e30187d88f8d8ab201)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] Refactor test_capi.test_long (GH-122113) (GH-122137)
Miss Islington (bot) [Tue, 23 Jul 2024 07:01:13 +0000 (09:01 +0200)] 
[3.13] Refactor test_capi.test_long (GH-122113) (GH-122137)

Share common code for tests for PyLong_As*() functions.
(cherry picked from commit 69f2dc5c06e62b4a9eb4da8f0cd456cc09b998ed)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
15 months ago[3.13] Revert "gh-121946: Temporarily switch to llvm-17 in TSan CI (GH-121975)" ...
Miss Islington (bot) [Mon, 22 Jul 2024 17:57:36 +0000 (19:57 +0200)] 
[3.13] Revert "gh-121946: Temporarily switch to llvm-17 in TSan CI (GH-121975)" (GH-122032) (#122131)

This reverts commit 53774e911df09c68cab2b9902b6e623e0f8cc908.

The LLVM 18 Ubuntu package is working now.
(cherry picked from commit ad935a901610bf54adcb35624b0202a03f2799b5)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] gh-99242 Ignore error when running regression tests under certain conditions...
Miss Islington (bot) [Mon, 22 Jul 2024 12:53:46 +0000 (14:53 +0200)] 
[3.13] gh-99242 Ignore error when running regression tests under certain conditions. (GH-121663) (GH-121669)

(cherry picked from commit 0759cecd9d945dfbac2226febaba51f41195555c)

Co-authored-by: Bas Bloemsaat <bas@bloemsaat.com>
Co-authored-by: Kevin Diem <kg.diem@gmail.com>
15 months ago[3.13] gh-121957: Emit audit events for `python -i` and `python -m asyncio` (GH-12195...
Miss Islington (bot) [Mon, 22 Jul 2024 11:36:57 +0000 (13:36 +0200)] 
[3.13] gh-121957: Emit audit events for `python -i` and `python -m asyncio` (GH-121958) (GH-122115)

Relatedly, emit the `cpython.run_startup` event from the Python version of
`PYTHONSTARTUP` handling.
(cherry picked from commit dc93d1125f594ac7aece98558eaf33d09c348519)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
15 months ago[3.13] gh-118124: fix assert related C++ checks on Solaris/Illumos (GH-121974) (...
Jakub Kulík [Mon, 22 Jul 2024 07:50:20 +0000 (09:50 +0200)] 
[3.13] gh-118124: fix assert related C++ checks on Solaris/Illumos (GH-121974) (#122108)

Fix check for static_assert() for C++ on some platforms..
(cherry picked from commit e88bd96d0d6cf8218c4fca37e1d20399ae676a04)

15 months ago[3.13] Docs: spelling and grammar fixes (GH-122084) (#122106)
Miss Islington (bot) [Mon, 22 Jul 2024 01:30:34 +0000 (03:30 +0200)] 
[3.13] Docs: spelling and grammar fixes (GH-122084) (#122106)

Docs: spelling and grammar fixes (GH-122084)

Corrected some grammar and spelling issues in documentation.

(cherry picked from commit bc264eac3ad14dab748e33b3d714c2674872791f)

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
15 months ago[3.13] gh-120522: Apply App Store compliance patch during installation (GH-121947...
Miss Islington (bot) [Mon, 22 Jul 2024 00:13:34 +0000 (02:13 +0200)] 
[3.13] gh-120522: Apply App Store compliance patch during installation (GH-121947) (#122105)

gh-120522: Apply App Store compliance patch during installation (GH-121947)

Adds a --with-app-store-compliance configuration option that patches out code known to be an issue with App Store review processes. This option is applied automatically on iOS, and optionally on macOS.
(cherry picked from commit 728432c8043edc07bb8a24b180a70778fcd35878)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
15 months ago[3.13] Merge Ubuntu test matrices in CI (GH-121813) (#122098)
Miss Islington (bot) [Sun, 21 Jul 2024 19:35:29 +0000 (21:35 +0200)] 
[3.13] Merge Ubuntu test matrices in CI (GH-121813) (#122098)

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 months ago[3.13] gh-121266: Remove Py_ALWAYS_INLINE in dictobject.c (GH-121493) (#122095)
Miss Islington (bot) [Sun, 21 Jul 2024 17:11:12 +0000 (19:11 +0200)] 
[3.13] gh-121266: Remove Py_ALWAYS_INLINE in dictobject.c (GH-121493) (#122095)

gh-121266: Remove Py_ALWAYS_INLINE in dictobject.c (GH-121493)

compare_unicode_generic(), compare_unicode_unicode() and
compare_generic() are callbacks used by do_lookup(). When enabling
assertions, it's not possible to inline these functions.
(cherry picked from commit c5a6b9afd82cad3f6abd9dc71cd5fdd5781a53f5)

Co-authored-by: Victor Stinner <vstinner@python.org>
15 months ago[3.13] gh-121390: tracemalloc: Fix tracebacks memory leak (GH-121391) (#121392)
Miss Islington (bot) [Sun, 21 Jul 2024 13:12:13 +0000 (15:12 +0200)] 
[3.13] gh-121390: tracemalloc: Fix tracebacks memory leak (GH-121391) (#121392)

gh-121390: tracemalloc: Fix tracebacks memory leak (GH-121391)

The tracemalloc_tracebacks hash table has traceback keys and NULL
values, but its destructors do not reflect this -- key_destroy_func is
NULL while value_destroy_func is raw_free. Swap these to free the
traceback keys instead.
(cherry picked from commit db39bc42f90c151b298f97b780e62703adbf1221)

Co-authored-by: Josh Brobst <jbrobst@proton.me>
15 months ago[3.13] Delete stale note about mp.Lock.acquire/SIGINT (GH-120929) (GH-122078)
Miss Islington (bot) [Sun, 21 Jul 2024 06:34:36 +0000 (08:34 +0200)] 
[3.13] Delete stale note about mp.Lock.acquire/SIGINT (GH-120929) (GH-122078)

Delete stale note about mp.Lock.acquire/SIGINT (GH-120929)
(cherry picked from commit 0dcbc8385322ff51f7fc3e586027d880275df4fa)

Co-authored-by: Andrey Mishchenko <mishchea@gmail.com>
15 months ago[3.13] gh-121977: Add tips for handling unhashable data (GH-122075) (#122076)
Miss Islington (bot) [Sun, 21 Jul 2024 06:10:06 +0000 (08:10 +0200)] 
[3.13] gh-121977: Add tips for handling unhashable data (GH-122075) (#122076)

gh-121977: Add tips for handling unhashable data (GH-122075)
(cherry picked from commit ebc18abbf34ff248764bda1a02db7f1c783b71e3)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
15 months ago[3.13] Docs: Fix duplicate object description warnings (GH-122068) (#122069)
Miss Islington (bot) [Sat, 20 Jul 2024 20:04:02 +0000 (22:04 +0200)] 
[3.13] Docs: Fix duplicate object description warnings (GH-122068) (#122069)

Docs: Fix duplicate object description warnings (GH-122068)
(cherry picked from commit 8db5f480072421bb065d346c3bbc5e88fc368587)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-121266: Change dict check_lookup() return type to int (GH-121581) (#121949)
Miss Islington (bot) [Sat, 20 Jul 2024 18:57:27 +0000 (20:57 +0200)] 
[3.13] gh-121266: Change dict check_lookup() return type to int (GH-121581) (#121949)

gh-121266: Change dict check_lookup() return type to int (GH-121581)
(cherry picked from commit 51da3dfbf3782ad678624e720ec3fc8dfff27d16)

Co-authored-by: Victor Stinner <vstinner@python.org>
15 months ago[3.13] gh-121988: Fix test hang when pyrepl is not available (GH-121990) (#122064)
Miss Islington (bot) [Sat, 20 Jul 2024 14:32:41 +0000 (16:32 +0200)] 
[3.13] gh-121988: Fix test hang when pyrepl is not available (GH-121990) (#122064)

gh-121988: Fix test hang when pyrepl is not available (GH-121990)

Also explicitly fail the test if we timeout while waiting for output so
that this failure mode is caught earlier.
(cherry picked from commit a09e215abf3c80a3c99c86b4482b512b42aad072)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] GH-121970: Modernise the patchlevel extension (GH-121995) (#122060)
Miss Islington (bot) [Sat, 20 Jul 2024 14:02:23 +0000 (16:02 +0200)] 
[3.13] GH-121970: Modernise the patchlevel extension (GH-121995) (#122060)

GH-121970: Modernise the patchlevel extension (GH-121995)
(cherry picked from commit b7ad711fcb37dd001e6bf8466c9503eef6d20331)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] Docs: Fix a typo in What's New in Python 3.13 (GH-122051) (#122052)
Miss Islington (bot) [Sat, 20 Jul 2024 04:03:33 +0000 (06:03 +0200)] 
[3.13] Docs: Fix a typo in What's New in Python 3.13 (GH-122051) (#122052)

Docs: Fix a typo in What's New in Python 3.13 (GH-122051)
(cherry picked from commit 3de092b82f5aa02fa293cd654c2ab26556ecf703)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
15 months ago[3.13] gh-121621: Disable asyncio freelist in free-threaded build (GH-122046) (#122048)
Sam Gross [Fri, 19 Jul 2024 19:55:15 +0000 (15:55 -0400)] 
[3.13] gh-121621: Disable asyncio freelist in free-threaded build (GH-122046) (#122048)

The futureobj freelist isn't thread-safe. We intend to re-enable the
freelist in a thread-safe way for 3.14 (but not 3.13).
(cherry picked from commit 97248204a1cc10bd3a66ce857535d133f6bc86a1)

15 months ago[3.13] gh-120973: Fix thread-safety issues with `threading.local` (GH-121655) (#122042)
Miss Islington (bot) [Fri, 19 Jul 2024 17:49:34 +0000 (19:49 +0200)] 
[3.13] gh-120973: Fix thread-safety issues with `threading.local` (GH-121655) (#122042)

This is a small refactoring to the current design that allows us to
avoid manually iterating over threads.

This should also fix gh-118490.
(cherry picked from commit e059aa6b01030310125477c3ed1da0491020fe10)

Co-authored-by: mpage <mpage@meta.com>
15 months ago[3.13] Docs: move deprecations into include files (GH-121241) (#122038)
Hugo van Kemenade [Fri, 19 Jul 2024 17:46:49 +0000 (20:46 +0300)] 
[3.13] Docs: move deprecations into include files (GH-121241) (#122038)

15 months ago[3.13] gh-122026: Fix identification of mismatched parentheses inside f-strings ...
Miss Islington (bot) [Fri, 19 Jul 2024 17:32:34 +0000 (19:32 +0200)] 
[3.13] gh-122026: Fix identification of mismatched parentheses inside f-strings (GH-122028) (#122041)

15 months ago[3.13] gh-120930: Remove extra blank occuring in wrapped encoded words in email heade...
Miss Islington (bot) [Fri, 19 Jul 2024 17:21:53 +0000 (19:21 +0200)] 
[3.13] gh-120930: Remove extra blank occuring in wrapped encoded words in email headers (GH-121747) (GH-121963)

gh-120930: Remove extra blank occuring in wrapped encoded words in email headers (GH-121747)
(cherry picked from commit cecaceea31f32f01b5617989e3dc8b2077f53f89)

Co-authored-by: Matthieu Caneill <matthieucan@users.noreply.github.com>
15 months ago[3.13] gh-122014: Account for abi_thread in test_sysconfig.test_user_similar (gh...
Miss Islington (bot) [Fri, 19 Jul 2024 17:13:41 +0000 (19:13 +0200)] 
[3.13] gh-122014: Account for abi_thread in test_sysconfig.test_user_similar (gh-122017) (#122039)

(cherry picked from commit 186b4d8ea2fdc91bf18e8be695244ead1722af18)

Co-authored-by: Karolina Surma <33810531+befeleme@users.noreply.github.com>
15 months ago[3.13] gh-59022: Added tests for `pkgutil.extend_path` (GH-121673) (GH-121951)
Miss Islington (bot) [Fri, 19 Jul 2024 14:35:51 +0000 (16:35 +0200)] 
[3.13] gh-59022: Added tests for `pkgutil.extend_path` (GH-121673) (GH-121951)

This adds tests for the documented behaviour of `pkgutil.extend_path`
regarding different argument types as well as for `*.pkg` files.
(cherry picked from commit 8f2532168b4630e413a42ccb5e458708808702ea)

Co-authored-by: Andreas Stocker <andreas@stocker.co.it>
15 months ago[3.13] gh-121160: Note that readline libraries using different history formats. ...
Miss Islington (bot) [Fri, 19 Jul 2024 14:09:41 +0000 (16:09 +0200)] 
[3.13] gh-121160: Note that readline libraries using different history formats. (GH-121327) (GH-122030)

This is not something we can do too much about, without help from the
underlying libraries.
(cherry picked from commit 709db44255eb5d73fc22a1341dd0253e71ddfda9)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
15 months ago[3.13] GH-121970: Rewrite the C-API annotations extension (#121985) (#122027)
Adam Turner [Fri, 19 Jul 2024 13:03:52 +0000 (14:03 +0100)] 
[3.13] GH-121970: Rewrite the C-API annotations extension (#121985) (#122027)

GH-121970: Rewrite the C-API annotations extension (#121985)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
(cherry picked from commit 22c9d9c1fcc3bb6186524330b169eda6df450f1b)

15 months ago[3.13] GH-121970: Use Ruff to check and format the docs tools (GH-122018) (#122023)
Miss Islington (bot) [Fri, 19 Jul 2024 12:30:54 +0000 (14:30 +0200)] 
[3.13] GH-121970: Use Ruff to check and format the docs tools (GH-122018) (#122023)

GH-121970: Use Ruff to check and format the docs tools (GH-122018)
(cherry picked from commit 40855f3ab80ced9950c725b710f507c0e903b70a)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@gmail.com>
15 months ago[3.13] GH-121970: Combine custom Pygments lexers into a package (GH-121976) (#122021)
Miss Islington (bot) [Fri, 19 Jul 2024 12:11:33 +0000 (14:11 +0200)] 
[3.13] GH-121970: Combine custom Pygments lexers into a package (GH-121976) (#122021)

GH-121970: Combine custom Pygments lexers into a package (GH-121976)
(cherry picked from commit 7431c3799efbd06ed03ee70b64420f45e83b3667)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 months ago[3.13] gh-121657: Additional `yield from` error test using lambda (GH-121722) (GH...
Miss Islington (bot) [Fri, 19 Jul 2024 11:50:34 +0000 (13:50 +0200)] 
[3.13] gh-121657: Additional `yield from` error test using lambda (GH-121722) (GH-121961)

(cherry picked from commit 1056f2bc208bdfe562c79d2a5098723c50ae9c23)

Co-authored-by: Gregor <36135323+gege-hoho@users.noreply.github.com>
15 months ago[3.13] GH-121970: Make ``DeprecatedRemoved`` a subclass of ``VersionChange`` (GH...
Miss Islington (bot) [Fri, 19 Jul 2024 10:56:37 +0000 (12:56 +0200)] 
[3.13] GH-121970: Make ``DeprecatedRemoved`` a subclass of ``VersionChange`` (GH-121971) (#122019)

GH-121970: Make ``DeprecatedRemoved`` a subclass of ``VersionChange`` (GH-121971)
(cherry picked from commit 898e90c3bef77174f22193b114483b9cd196921a)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] GH-121970: Improve the glossary preview in HTML search (GH-121991) (#122015)
Miss Islington (bot) [Fri, 19 Jul 2024 09:34:11 +0000 (11:34 +0200)] 
[3.13] GH-121970: Improve the glossary preview in HTML search (GH-121991) (#122015)

GH-121970: Improve the glossary preview in HTML search (GH-121991)
(cherry picked from commit adf0b94d1cdd74340c8bc031f7464d0a33200f08)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-121905: Consistently use "floating-point" instead of "floating point" ...
Serhiy Storchaka [Fri, 19 Jul 2024 09:13:08 +0000 (12:13 +0300)] 
[3.13] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122012)

(cherry picked from commit 1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356)

15 months ago[3.13] Docs: Upgrade Sphinx to 7.4 (GH-121987) (#122010)
Miss Islington (bot) [Fri, 19 Jul 2024 08:15:18 +0000 (10:15 +0200)] 
[3.13] Docs: Upgrade Sphinx to 7.4 (GH-121987) (#122010)

Docs: Upgrade Sphinx to 7.4 (GH-121987)
(cherry picked from commit 420d94312824825a18fa1fd9a36773626a54d97a)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] gh-65453: Docs - clarify AttributeError behaviour on PropertyMock (GH-121666...
Miss Islington (bot) [Fri, 19 Jul 2024 08:03:43 +0000 (10:03 +0200)] 
[3.13] gh-65453: Docs - clarify AttributeError behaviour on PropertyMock (GH-121666) (GH-121968)

Fixed at EuroPython 24 sprints.
(cherry picked from commit 94e6644584d9cb08a4edcd1027e288386184816b)

Co-authored-by: Vlastimil Zíma <ziima@users.noreply.github.com>
15 months ago[3.13] GH-117928: Bump the minimum Sphinx version to 6.2.1 (GH-121986) (#121994)
Miss Islington (bot) [Fri, 19 Jul 2024 07:52:42 +0000 (09:52 +0200)] 
[3.13] GH-117928: Bump the minimum Sphinx version to 6.2.1 (GH-121986) (#121994)

GH-117928: Bump the minimum Sphinx version to 6.2.1 (GH-121986)
(cherry picked from commit 7dd52b63cef3ff60868dea510ef7a9adcc6611cc)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] GH-121970: Use ``SphinxDirective`` instead of ``Directive`` (GH-121972) (...
Miss Islington (bot) [Fri, 19 Jul 2024 07:51:43 +0000 (09:51 +0200)] 
[3.13] GH-121970: Use ``SphinxDirective`` instead of ``Directive`` (GH-121972) (#122008)

GH-121970: Use ``SphinxDirective`` instead of ``Directive`` (GH-121972)
(cherry picked from commit ac39151a09fc9857e64d7b8f7eff926ec0ba6c0b)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.13] Docs: Fix typo in description of ``INTRINSIC_ASYNC_GEN_WRAP`` (GH-122004)...
Miss Islington (bot) [Fri, 19 Jul 2024 07:46:58 +0000 (09:46 +0200)] 
[3.13] Docs: Fix typo in description of ``INTRINSIC_ASYNC_GEN_WRAP`` (GH-122004) (#122006)

Docs: Fix typo in description of ``INTRINSIC_ASYNC_GEN_WRAP`` (GH-122004)
(cherry picked from commit 98e5bdef0ef59695371ec8a8486bb55ccf2b0638)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
15 months ago[3.13] gh-120289: Add external timer in traverse of _lsprof.Profiler (GH-121998)...
Miss Islington (bot) [Fri, 19 Jul 2024 04:10:11 +0000 (06:10 +0200)] 
[3.13] gh-120289: Add external timer in traverse of _lsprof.Profiler (GH-121998) (#122000)

gh-120289: Add external timer in traverse of _lsprof.Profiler (GH-121998)
(cherry picked from commit eaf094c09b5b1c33435c60ef49b1cec78c32573c)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
15 months ago[3.13] gh-120289: Disallow disable() and clear() in external timer to prevent use...
Miss Islington (bot) [Thu, 18 Jul 2024 20:26:47 +0000 (22:26 +0200)] 
[3.13] gh-120289: Disallow disable() and clear() in external timer to prevent use-after-free (GH-120297) (#121984)

gh-120289: Disallow disable() and clear() in external timer to prevent use-after-free (GH-120297)
(cherry picked from commit 1ab17782832bb1b6baa915627aead3e3516a0894)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
15 months ago[3.13] gh-121946: Temporarily switch to llvm-17 in TSan CI (GH-121975) (#121981)
Miss Islington (bot) [Thu, 18 Jul 2024 17:55:22 +0000 (19:55 +0200)] 
[3.13] gh-121946: Temporarily switch to llvm-17 in TSan CI (GH-121975) (#121981)

The Ubuntu package for llvm-18 is broken
(cherry picked from commit 12c1afa9d153fbdf78c970054c08c755f504c5e9)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] gh-118934: Make PyEval_GetLocals return borrowed reference (GH-119769) (#121869)
Miss Islington (bot) [Thu, 18 Jul 2024 15:38:28 +0000 (17:38 +0200)] 
[3.13] gh-118934: Make PyEval_GetLocals return borrowed reference (GH-119769) (#121869)

gh-118934: Make PyEval_GetLocals return borrowed reference (GH-119769)
(cherry picked from commit e65cb4c6f01a687f451ad9db1600525e1c5832c4)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
15 months agoPost 3.13.0b4
Thomas Wouters [Thu, 18 Jul 2024 13:53:44 +0000 (15:53 +0200)] 
Post 3.13.0b4

15 months agoPython 3.13.0b4 v3.13.0b4
Thomas Wouters [Thu, 18 Jul 2024 09:35:42 +0000 (11:35 +0200)] 
Python 3.13.0b4

15 months ago[3.13] gh-121621: Move asyncio_running_loop to private struct (GH-121939) (#121943)
Miss Islington (bot) [Thu, 18 Jul 2024 08:52:39 +0000 (10:52 +0200)] 
[3.13] gh-121621: Move asyncio_running_loop to private struct (GH-121939) (#121943)

gh-121621: Move asyncio_running_loop to private struct (GH-121939)

This avoids changing the ABI and keeps the field in the private struct.
(cherry picked from commit 81fd625b5c30cc6f417c93bad404923676ad8ca3)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] Add note about PYTHON_JIT environment variable to JIT README (GH-121942)
Miss Islington (bot) [Wed, 17 Jul 2024 22:18:39 +0000 (00:18 +0200)] 
[3.13] Add note about PYTHON_JIT environment variable to JIT README (GH-121942)

(cherry picked from commit f113c1a2a9d4fb2860de1bd8c05677f00fd49bd9)
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
15 months ago[3.13] gh-121528: Fix _PyObject_Init() assertion for stable ABI (GH-121725) (#121936)
Miss Islington (bot) [Wed, 17 Jul 2024 20:14:22 +0000 (22:14 +0200)] 
[3.13] gh-121528: Fix _PyObject_Init() assertion for stable ABI (GH-121725) (#121936)

gh-121528: Fix _PyObject_Init() assertion for stable ABI (GH-121725)

Add _Py_IsImmortalLoose() function for assertions.
(cherry picked from commit b826e459ca6b640f896c2a9551bb2c78d10f0e2b)

Co-authored-by: Victor Stinner <vstinner@python.org>
15 months ago[3.13] gh-121925: Fix uninitialized variables in `main.c` (GH-121926) (#121931)
Miss Islington (bot) [Wed, 17 Jul 2024 17:00:42 +0000 (19:00 +0200)] 
[3.13] gh-121925: Fix uninitialized variables in `main.c` (GH-121926) (#121931)

gh-121925: Fix uninitialized variables in `main.c` (GH-121926)
(cherry picked from commit f4bc84d261c828ed81f137f2a48fa2f0de7a0211)

Co-authored-by: sobolevn <mail@sobolevn.me>
15 months ago[3.13] gh-120678: Guard against stdin.fileno() being unavailable (GH-121924) (#121929)
Miss Islington (bot) [Wed, 17 Jul 2024 16:33:28 +0000 (18:33 +0200)] 
[3.13] gh-120678: Guard against stdin.fileno() being unavailable (GH-121924) (#121929)

gh-120678: Guard against stdin.fileno() being unavailable (GH-121924)
(cherry picked from commit 19cbf8fd636192059550d0c908c3e29797feed1f)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
15 months ago[3.13] Move misplaced blurb entries (#121919)
T. Wouters [Wed, 17 Jul 2024 15:33:30 +0000 (17:33 +0200)] 
[3.13] Move misplaced blurb entries (#121919)

Move misplaced blurb entries from "C_API" to "C API", and from "Core_and_Builtins" to "Core and Builtins".

15 months ago[3.13] gh-120678: pyrepl: Include globals from modules passed with `-i` (GH-120904...
Miss Islington (bot) [Wed, 17 Jul 2024 14:52:46 +0000 (16:52 +0200)] 
[3.13] gh-120678: pyrepl: Include globals from modules passed with `-i` (GH-120904) (#121916)

(cherry picked from commit ac07451116d52dd6a5545d27b6a2e3737ed27cf0)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
15 months ago[3.13] gh-78889: Stop IDLE Shell freezes from sys.stdout.shell.xyz (GH-121876) (...
Miss Islington (bot) [Wed, 17 Jul 2024 14:10:13 +0000 (16:10 +0200)] 
[3.13] gh-78889: Stop IDLE Shell freezes from sys.stdout.shell.xyz (GH-121876) (#121911)

gh-78889: Stop IDLE Shell freezes from sys.stdout.shell.xyz (GH-121876)

Problem occurred when attribute xyz could not be pickled.
Since this is not trivial to selectively fix, block all
attributes (other than 'width').  IDLE does not access them
and they are private implementation details.
(cherry picked from commit 58753f33e47fe48906883dc010771f68c13b7e52)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
15 months ago[3.13] gh-119698: fix a special case in `symtable.Class.get_methods` (GH-121802)...
Miss Islington (bot) [Wed, 17 Jul 2024 13:54:40 +0000 (15:54 +0200)] 
[3.13] gh-119698: fix a special case in `symtable.Class.get_methods` (GH-121802) (#121909)

(cherry picked from commit 6682d916780c1cb305e679a057ee6992b114118e)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
15 months ago[3.13] gh-113993: Don't immortalize in PyUnicode_InternInPlace; keep immortalizing...
Petr Viktorin [Wed, 17 Jul 2024 12:51:42 +0000 (14:51 +0200)] 
[3.13] gh-113993: Don't immortalize in PyUnicode_InternInPlace; keep immortalizing in other API (GH-121364) (GH-121854)

* Switch PyUnicode_InternInPlace to _PyUnicode_InternMortal, clarify docs

* Document immortality in some functions that take `const char *`

This is PyUnicode_InternFromString;
PyDict_SetItemString, PyObject_SetAttrString;
PyObject_DelAttrString; PyUnicode_InternFromString;
and the PyModule_Add convenience functions.

Always point out a non-immortalizing alternative.

* Don't immortalize user-provided attr names in _ctypes
(cherry picked from commit b4aedb23ae7954fb58084dda16cd41786819a8cf)

15 months ago[3.13] gh-121863: Immortalize names in code objects to avoid crash (GH-121903) (GH...
Miss Islington (bot) [Wed, 17 Jul 2024 09:55:22 +0000 (11:55 +0200)] 
[3.13] gh-121863: Immortalize names in code objects to avoid crash (GH-121903) (GH-121904)

(cherry picked from commit cffad5c6ef9371b26e32556296cea2bfe8358b1a)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
15 months ago[3.13] gh-121153: Fix some errors with use of _PyLong_CompactValue() (GH-121154)...
Serhiy Storchaka [Wed, 17 Jul 2024 08:04:45 +0000 (11:04 +0300)] 
[3.13] gh-121153: Fix some errors with use of _PyLong_CompactValue() (GH-121154) (GH-121900)

* The result has type Py_ssize_t, not intptr_t.
* Type cast between unsigned and signed integer types should be explicit.
* Downcasting should be explicit.
* Fix integer overflow check in sum().
(cherry picked from commit 1801545)

15 months ago[3.13] Remove duplicate "it" in whatsnew 3.13 (GH-121580) (gh-121899)
Miss Islington (bot) [Wed, 17 Jul 2024 07:52:22 +0000 (09:52 +0200)] 
[3.13] Remove duplicate "it" in whatsnew 3.13 (GH-121580) (gh-121899)

15 months ago[3.13] gh-121834: Improve `complex` C-API docs (GH-121835) (#121895)
Miss Islington (bot) [Wed, 17 Jul 2024 07:25:07 +0000 (09:25 +0200)] 
[3.13] gh-121834: Improve `complex` C-API docs (GH-121835) (#121895)

gh-121834: Improve `complex` C-API docs (GH-121835)
(cherry picked from commit 72dccd60735b597e99c007a7b69210763a746877)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
15 months ago[3.13] gh-121842: Improve coverage of `PyBytes_FromStringAndSize` (GH-121843) (#121893)
Miss Islington (bot) [Wed, 17 Jul 2024 07:24:44 +0000 (09:24 +0200)] 
[3.13] gh-121842: Improve coverage of `PyBytes_FromStringAndSize` (GH-121843) (#121893)

gh-121842: Improve coverage of `PyBytes_FromStringAndSize` (GH-121843)
(cherry picked from commit f6c7d8d79c4e17167af98f2e0cb4b1e55d7b5d3c)

Co-authored-by: sobolevn <mail@sobolevn.me>
15 months ago[3.13] gh-121453: Update the `Doc/templates/download.html` download files size estima...
Miss Islington (bot) [Wed, 17 Jul 2024 06:37:33 +0000 (08:37 +0200)] 
[3.13] gh-121453: Update the `Doc/templates/download.html` download files size estimates and support download `.texi` format. (GH-121454) (#121890)

Co-authored-by: Wulian233 <1055917385@qq.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 months ago[3.13] gh-121871: Allow overriding docs build date with SOURCE_DATE_EPOCH (GH-121872...
Miss Islington (bot) [Wed, 17 Jul 2024 06:12:12 +0000 (08:12 +0200)] 
[3.13] gh-121871: Allow overriding docs build date with SOURCE_DATE_EPOCH (GH-121872) (#121888)

Co-authored-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
15 months ago[3.13] GH-121583: Remove dependency from pystats.h to internal header file (GH-121880)
Miss Islington (bot) [Tue, 16 Jul 2024 23:03:07 +0000 (01:03 +0200)] 
[3.13] GH-121583: Remove dependency from pystats.h to internal header file (GH-121880)

(cherry picked from commit f036a463dbc43d25712183dc6afa4e38c1aaf93d)
Co-authored-by: Michael Droettboom <mdboom@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
15 months ago[3.13] GH-120371: Add WASI SDK 22 support (GH-121870) (GH-121873)
Miss Islington (bot) [Tue, 16 Jul 2024 21:49:55 +0000 (23:49 +0200)] 
[3.13] GH-120371: Add WASI SDK 22 support (GH-121870) (GH-121873)

GH-120371: Add WASI SDK 22 support (GH-121870)

Required disabling stub functions now provided by wasi-libc.
(cherry picked from commit f589f263bcb54332e47bfc76cbb06f775e82b778)

Co-authored-by: Brett Cannon <brett@python.org>
15 months ago[3.13] gh-83648: Use versionadded in 'deprecated' description (GH-121878)
Miss Islington (bot) [Tue, 16 Jul 2024 21:43:40 +0000 (23:43 +0200)] 
[3.13] gh-83648: Use versionadded in 'deprecated' description (GH-121878)

(cherry picked from commit 4e35dd607b0f32657341e6c4f583d14964ee1699)

Authored-by: Zachary Ware <zach@python.org>
15 months ago[3.13] gh-121860: Fix crash when materializing managed dict (GH-121866) (#121867)
Miss Islington (bot) [Tue, 16 Jul 2024 19:26:01 +0000 (21:26 +0200)] 
[3.13] gh-121860: Fix crash when materializing managed dict (GH-121866) (#121867)

The object's inline values may be marked invalid if the materialized
dict was already initialized and then deleted.
(cherry picked from commit 162b41f57757c1df40eb377985e2e877fb0f0ea3)

Co-authored-by: Sam Gross <colesbury@gmail.com>
15 months ago[3.13] gh-121130: Fix f-string format specifiers with debug expressions (GH-121150...
Pablo Galindo Salgado [Tue, 16 Jul 2024 19:25:04 +0000 (20:25 +0100)] 
[3.13] gh-121130: Fix f-string format specifiers with debug expressions (GH-121150) (#121868)

(cherry picked from commit c46d64e0ef8e92a6b4ab4805d813d7e4d6663380)

15 months ago[3.13] gh-121621: Move asyncio running loop to thread state (GH-121695) (GH-121864)
Miss Islington (bot) [Tue, 16 Jul 2024 17:57:37 +0000 (19:57 +0200)] 
[3.13] gh-121621: Move asyncio running loop to thread state (GH-121695) (GH-121864)

gh-121621: Move asyncio running loop to thread state (GH-121695)
(cherry picked from commit 69c68de43aef03dd52fabd21f99cb3b0f9329201)

Co-authored-by: Ken Jin <kenjin@python.org>
15 months ago[3.13] gh-121814: Only check f_trace_opcodes if Python frame exists (GH-121818) ...
Miss Islington (bot) [Tue, 16 Jul 2024 17:13:28 +0000 (19:13 +0200)] 
[3.13] gh-121814: Only check f_trace_opcodes if Python frame exists (GH-121818) (#121861)

gh-121814: Only check f_trace_opcodes if Python frame exists (GH-121818)
(cherry picked from commit 2b1b68939b15b913080a3403e3ba18e2a1f520ef)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
Co-authored-by: Matt Wozniski <godlygeek@gmail.com>