]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Miss Islington (bot) [Fri, 22 Aug 2025 08:11:38 +0000 (10:11 +0200)]
[3.14] gh-123299: Fix typos & grammar and copyedit What's New in 3.14 (GH-138040) (#138041)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Miss Islington (bot) [Thu, 21 Aug 2025 18:36:35 +0000 (20:36 +0200)]
[3.14] gh-137847: Add examples for UUIDv6-8 (GH-137848) (#137901)
Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Miss Islington (bot) [Thu, 21 Aug 2025 14:00:05 +0000 (16:00 +0200)]
[3.14] gh-137728 gh-137762: Fix bugs in the JIT with many local variables (GH-137764) (#137999)
Co-authored-by: Ken Jin <kenjin@python.org>
Miss Islington (bot) [Wed, 20 Aug 2025 17:19:45 +0000 (19:19 +0200)]
[3.14] gh-137964: Remove the "experimental" designation from the Windows installer (GH-137965) (#137971)
Co-authored-by: Itamar Oren <itamarost@gmail.com>
Miss Islington (bot) [Wed, 20 Aug 2025 13:49:43 +0000 (15:49 +0200)]
[3.14] gh-137900: Improve dataclasses frozen parameter documentation (GH-137937) (#137990)
gh-137900: Improve dataclasses frozen parameter documentation (GH-137937)
(cherry picked from commit
7685b8ada84822a7ee9ce51e8ee0e2e35fd60b4e )
Co-authored-by: Tangyuan <47830915@qq.com>
Miss Islington (bot) [Tue, 19 Aug 2025 11:27:36 +0000 (13:27 +0200)]
[3.14] gh-127859: Fixed documentation for call_later and call_at for early wakeup in asyncio (GH-137859) (#137908)
Co-authored-by: Bar Harel <bzvi7919@gmail.com>
Miss Islington (bot) [Mon, 18 Aug 2025 21:21:55 +0000 (23:21 +0200)]
[3.14] gh-134869: Fix Ctrl+C corrupts REPL autocomplete (GH-134929) (#137926)
gh-134869: Fix Ctrl+C corrupts REPL autocomplete (GH-134929)
(cherry picked from commit
8750e5ecfcfbc337efb511046d34f28b2d26bd68 )
Co-authored-by: ggqlq <124190229+ggqlq@users.noreply.github.com>
Miss Islington (bot) [Mon, 18 Aug 2025 11:07:47 +0000 (13:07 +0200)]
[3.14] Emend an error in ``string.templatelib`` example output (GH-137890) (#137892)
Emend an error in ``string.templatelib`` example output (GH-137890)
(cherry picked from commit
8e3244d39b8cd3d7cef5a315247d45e801b35869 )
Co-authored-by: Christoph Walcher <christoph-wa@gmx.de>
Miss Islington (bot) [Sat, 16 Aug 2025 17:24:17 +0000 (19:24 +0200)]
[3.14] gh-137846: Add missing 'be' to profile doc. (GH-137856) (#137857)
gh-137846: Add missing 'be' to profile doc. (GH-137856)
Insert 'be' into 'will interpreted'.
(cherry picked from commit
3663b2ad54c9e15775a605facf69da8f5ee8d335 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Miss Islington (bot) [Sat, 16 Aug 2025 08:04:59 +0000 (10:04 +0200)]
[3.14] gh-137777: Disband the 'Program Frameworks' chapter (GH-137796) (#137830)
gh-137777: Disband the 'Program Frameworks' chapter (GH-137796)
(cherry picked from commit
eee6589c17d0ffae32105a0ff2173798b9bd995c )
Co-authored-by: rimchoi <hyerimc858@gmail.com>
Miss Islington (bot) [Sat, 16 Aug 2025 06:21:29 +0000 (08:21 +0200)]
[3.14] gh-132661: PEP 750 documentation: second pass (GH-137020) (#137392)
gh-132661: PEP 750 documentation: second pass (GH-137020)
(cherry picked from commit
4dae9b1ff16feae03bddb57ec3be5c42de14b1d2 )
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Miss Islington (bot) [Fri, 15 Aug 2025 17:22:17 +0000 (19:22 +0200)]
[3.14] gh-137078: Fix keyword typo recognition when executed over files (GH-137079) (#137826)
Miss Islington (bot) [Fri, 15 Aug 2025 15:09:26 +0000 (17:09 +0200)]
[3.14] GH-123299: Copyedit 3.14 What's New: Removed (GH-137794) (#137825)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Miss Islington (bot) [Fri, 15 Aug 2025 13:59:57 +0000 (15:59 +0200)]
[3.14] gh-137760: Update REPL constants documentation (gh-137798) (#137822)
Co-authored-by: Chaemin-Lim <antraxmin@naver.com>
Miss Islington (bot) [Fri, 15 Aug 2025 11:58:12 +0000 (13:58 +0200)]
[3.14] GH-123299: Copyedit 3.14 What's New: Optimizations (GH-137789) (#137813)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Miss Islington (bot) [Fri, 15 Aug 2025 10:15:30 +0000 (12:15 +0200)]
[3.14] gh-109975: Indicate the minimum version for PyREPL in the tutorial (GH-136046) (#137766)
Co-authored-by: Konstantin Morenko <konstantin-morenko@users.noreply.github.com>
Miss Islington (bot) [Fri, 15 Aug 2025 10:14:39 +0000 (12:14 +0200)]
[3.14] gh-137026: Add an explainer guide for asyncio (GH-137215) (#137581)
Co-authored-by: Alexander Nordin <alexander.f.nordin@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Miss Islington (bot) [Fri, 15 Aug 2025 10:13:27 +0000 (12:13 +0200)]
[3.14] gh-137183: Document that `array.array` typecode `w` is new in 3.13 (GH-137184) (#137208)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Miss Islington (bot) [Fri, 15 Aug 2025 10:10:59 +0000 (12:10 +0200)]
[3.14] gh-136437: Convert more ``os.path`` functions to positional-only in the docs (GH-136970) (#137000)
Co-authored-by: sobolevn <mail@sobolevn.me>
Miss Islington (bot) [Fri, 15 Aug 2025 09:14:43 +0000 (11:14 +0200)]
[3.14] gh-123299: Update What's new in Python 3.14: typos and misplaced item. (GH-136665) (#137769)
Co-authored-by: Hunter Hogan <hunterhogan@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Hugo van Kemenade [Thu, 14 Aug 2025 16:10:50 +0000 (19:10 +0300)]
Post 3.14.0rc2
Hugo van Kemenade [Thu, 14 Aug 2025 12:19:05 +0000 (15:19 +0300)]
Python 3.14.0rc2
Miss Islington (bot) [Thu, 14 Aug 2025 11:12:49 +0000 (13:12 +0200)]
[3.14] gh-137749: Python 3.14 installer is for macOS 10.15 and later (GH-137753) (#137755)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Miss Islington (bot) [Thu, 14 Aug 2025 08:51:33 +0000 (10:51 +0200)]
[3.14] GH-137573: mark _PyOptimizer_Optimize as no inline (GH-137731) (#137751)
Co-authored-by: Sachin Shah <39803835+inventshah@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Zachary Ware [Thu, 14 Aug 2025 05:58:18 +0000 (00:58 -0500)]
[3.14] gh-132339: Add support for OpenSSL 3.5 (GH-137720) (#137747)
* Add OpenSSL 3.5.2 definitions to Modules/_ssl_data_35.h (moved from Modules/_ssl_data_34.h)
* Demote OpenSSL 3.1 to "old", remove it from CI
* Update all OpenSSL versions to latest patchlevel in CI config and multissltests defaults
* Add OpenSSL 3.5.2 to CI configuration and multissltests default list
* Fix a typo in the argument parser description of multissltests.py
(cherry picked from commit
7a703c8f1942c8bd07943458962f6e59d2892757 )
Miss Islington (bot) [Wed, 13 Aug 2025 14:13:14 +0000 (16:13 +0200)]
[3.14] gh-137226: Fix behavior of ForwardRef.evaluate with type_params (GH-137227) (#137709)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
sobolevn [Wed, 13 Aug 2025 11:10:58 +0000 (14:10 +0300)]
[3.14] gh-133403: Run `mypy` on `Tools/build/mypy.ini` changes (GH-137692) (#137698)
Miss Islington (bot) [Wed, 13 Aug 2025 10:42:26 +0000 (12:42 +0200)]
[3.14] gh-133403: Check `generate_stdlib_module_names` and `check_extension_modules` with mypy (GH-137546) (#137679)
Co-authored-by: sobolevn <mail@sobolevn.me>
Miss Islington (bot) [Wed, 13 Aug 2025 10:39:50 +0000 (12:39 +0200)]
[3.14] gh-137450: macOS installer shell path management improvements (GH-137451) (#137453)
Co-authored-by: Ned Deily <nad@python.org>
Ned Deily [Wed, 13 Aug 2025 10:37:01 +0000 (06:37 -0400)]
[3.14] GH-134291: Support older macOS deployment targets for JIT builds (GH-137211) (#137701)
Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com>
Hugo van Kemenade [Wed, 13 Aug 2025 09:39:14 +0000 (12:39 +0300)]
[3.14] gh-137242: Add Android CI job (GH-137186) (#137683)
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
Miss Islington (bot) [Tue, 12 Aug 2025 14:29:57 +0000 (16:29 +0200)]
[3.14] gh-137400: Fix a crash when disabling profiling across all threads (gh-137471) (#137648)
Co-authored-by: Sam Gross <colesbury@gmail.com>
Miss Islington (bot) [Tue, 12 Aug 2025 14:17:26 +0000 (16:17 +0200)]
[3.14] gh-135228: When @dataclass(slots=True) replaces a dataclass, make the original class collectible (take 2) (GH-137047) (#137666)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Miss Islington (bot) [Tue, 12 Aug 2025 12:47:28 +0000 (14:47 +0200)]
[3.14] GH-137426: Remove code deprecation of `importlib.abc.ResourceLoader` (GH-137567) (#137654)
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Petr Viktorin [Tue, 12 Aug 2025 12:18:20 +0000 (14:18 +0200)]
[3.14] gh-137288: Update version in magic number log (GH-137665) (#137667)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Irit Katriel [Tue, 12 Aug 2025 09:56:37 +0000 (10:56 +0100)]
[3.14] gh-137288: Fix bug where boolean expressions are not associated with the correct exception handler (GH-137310). (#137427)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Miss Islington (bot) [Mon, 11 Aug 2025 14:07:19 +0000 (16:07 +0200)]
[3.14] gh-137200: support frame lineno setter with `BRANCH_LEFT` and `BRANCH_RIGHT` events (GH-137229) (#137280)
Co-authored-by: Xuanteng Huang <44627253+xuantengh@users.noreply.github.com>
Miss Islington (bot) [Mon, 11 Aug 2025 08:21:45 +0000 (10:21 +0200)]
[3.14] Update pre-commit hooks (GH-137591) (#137621)
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Miss Islington (bot) [Sun, 10 Aug 2025 13:55:29 +0000 (15:55 +0200)]
[3.14] gh-131338: Disable computed stack limit checks on non-glibc linux (GH-134336) (#137175)
Co-authored-by: R. David Murray <rdmurray@bitdance.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
Miss Islington (bot) [Sun, 10 Aug 2025 13:52:30 +0000 (15:52 +0200)]
[3.14] gh-119711: describe `create_datagram_endpoint`'s behavior in asyncio when `local_addr` is `None` (GH-136913) (#137164)
Co-authored-by: AN Long <aisk@users.noreply.github.com>
Miss Islington (bot) [Sat, 9 Aug 2025 03:31:29 +0000 (05:31 +0200)]
[3.14] gh-137499: Fixed dead link to NIST website (GH-137500) (#137502)
gh-137499: Fixed dead link to NIST website (GH-137500)
(cherry picked from commit
3c1471d971ea2759d9de76e22230cd71cf4b7a07 )
Co-authored-by: tobiasjcat <70606111+tobiasjcat@users.noreply.github.com>
Miss Islington (bot) [Fri, 8 Aug 2025 16:05:29 +0000 (18:05 +0200)]
[3.14] gh-136155: Docs: check for EPUB fatal errors in CI (GH-134074) (#137539)
Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Miss Islington (bot) [Fri, 8 Aug 2025 15:13:22 +0000 (17:13 +0200)]
[3.14] gh-137282: Fix `TypeError` in tab completion and `dir()` of `concurrent.futures` (GH-137214) (#137284)
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
Miss Islington (bot) [Fri, 8 Aug 2025 15:04:10 +0000 (17:04 +0200)]
[3.14] gh-137308: Replace a single docstring with `pass` in `-OO` mode (GH-137318) (#137322)
Co-authored-by: sobolevn <mail@sobolevn.me>
Miss Islington (bot) [Fri, 8 Aug 2025 14:36:21 +0000 (16:36 +0200)]
[3.14] gh-137412: fix `default_builtin_hashes` values in `test_hashlib.py` (GH-137413) (#137534)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Miss Islington (bot) [Fri, 8 Aug 2025 14:31:32 +0000 (16:31 +0200)]
[3.14] [Doc] Remove unnecessary quotes from typing module (GH-137207) (#137541)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Hugo van Kemenade [Thu, 7 Aug 2025 16:06:09 +0000 (19:06 +0300)]
[3.14] gh-123299: Backport typo fixes in What's New in Python 3.14 (#137525)
Miss Islington (bot) [Thu, 7 Aug 2025 15:38:15 +0000 (17:38 +0200)]
[3.14] gh-132983: Use ``Py_UNREACHABLE`` in ``_zstd_load_impl()`` (GH-137320) (#137360)
Co-authored-by: Rogdham <3994389+Rogdham@users.noreply.github.com>
Miss Islington (bot) [Wed, 6 Aug 2025 15:39:52 +0000 (17:39 +0200)]
[3.14] Doc: remove unused images (GH-137323) (#137324)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Miss Islington (bot) [Wed, 6 Aug 2025 12:45:54 +0000 (14:45 +0200)]
[3.14] gh-137134: Update SQLite to 3.50.4 for binary releases (GH-137135) (#137436)
Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Ned Deily <nad@python.org>
Miss Islington (bot) [Wed, 6 Aug 2025 11:58:52 +0000 (13:58 +0200)]
[3.14] Docs: add dunder and walrus to the glossary (GH-137430) (#137434)
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Miss Islington (bot) [Tue, 5 Aug 2025 20:38:48 +0000 (22:38 +0200)]
[3.14] GH-136155: Use ``sphinxext-opengraph`` v0.12.0 (GH-137393) (#137431)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Miss Islington (bot) [Tue, 5 Aug 2025 17:34:47 +0000 (19:34 +0200)]
[3.14] gh-137194: Fix requires_debug_ranges when _testcpi doesn't exist (GH-137195) (#137274)
Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
Miss Islington (bot) [Mon, 4 Aug 2025 13:01:39 +0000 (15:01 +0200)]
[3.14] gh-130522: Fix unraisable TypeError in threading at interpreter shutdown (GH-131537) (#137105)
Co-authored-by: Tyler Kennedy <tk@tkte.ch>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Miss Islington (bot) [Mon, 4 Aug 2025 10:34:16 +0000 (12:34 +0200)]
[3.14] Remove Alex Waygood as a codeowner for pre-commit config (GH-137372) (#137373)
Remove Alex Waygood as a codeowner for pre-commit config (GH-137372)
(cherry picked from commit
a46ed665ff382a4c5cdd214a6a8ac0bcc60a03dd )
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Miss Islington (bot) [Mon, 4 Aug 2025 05:29:30 +0000 (07:29 +0200)]
[3.14] gh-137257: Upgrade bundled pip to 25.2 (GH-137258) (#137361)
gh-137257: Upgrade bundled pip to 25.2 (GH-137258)
(cherry picked from commit
506542b5966073203f0da71a487de24e596b7979 )
Co-authored-by: Richard Si <sichard26@gmail.com>
Miss Islington (bot) [Sun, 3 Aug 2025 19:37:49 +0000 (21:37 +0200)]
[3.14] gh-132983: Fix docstrings in ``ZstdDict`` (GH-137321) (#137343)
Co-authored-by: Rogdham <3994389+Rogdham@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Miss Islington (bot) [Sun, 3 Aug 2025 18:39:19 +0000 (20:39 +0200)]
[3.14] GH-136155: Use ``sphinxext-opengraph`` v0.11.0 (GH-137348) (#137349)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Serhiy Storchaka [Sun, 3 Aug 2025 18:26:16 +0000 (21:26 +0300)]
[3.14] gh-137341: Remove more word duplications (GH-137342) (#137346)
Miss Islington (bot) [Sun, 3 Aug 2025 16:36:58 +0000 (18:36 +0200)]
[3.14] gh-137314: Fix incorrect treatment of format specs in raw fstrings (GH-137328) (#137344)
gh-137314: Fix incorrect treatment of format specs in raw fstrings (GH-137328)
(cherry picked from commit
0153d82a5ab0c6ac16c046bdd4438ea11b58d59d )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Miss Islington (bot) [Thu, 31 Jul 2025 04:07:44 +0000 (06:07 +0200)]
[3.14] gh-119180: Refer to `annotationlib.get_annotations()` in `typing.get_type_hints()` documentation (GH-137247) (#137263)
gh-119180: Refer to `annotationlib.get_annotations()` in `typing.get_type_hints()` documentation (GH-137247)
(cherry picked from commit
5e2f0b976a762dd0efe1cca4c7b5aaa2ed809578 )
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
Miss Islington (bot) [Wed, 30 Jul 2025 19:43:53 +0000 (21:43 +0200)]
[3.14] gh-136992: Add "None" as valid `SameSite` value as per RFC 6265bis (GH-137040) (#137140)
Co-authored-by: Iqra Khan <iqraakhan2519@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Miss Islington (bot) [Wed, 30 Jul 2025 19:01:10 +0000 (21:01 +0200)]
[3.14] GH-116738: document thread-safety of bisect (GH-136555) (#137221)
Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Miss Islington (bot) [Tue, 29 Jul 2025 20:10:39 +0000 (22:10 +0200)]
[3.14] gh-136976: Emscripten: Add _decimal and libmpdec (GH-136997) (#137066)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Co-authored-by: Zachary Ware <zach@python.org>
Miss Islington (bot) [Tue, 29 Jul 2025 20:09:47 +0000 (22:09 +0200)]
[3.14] gh-124621: Emscripten: Add smoke test for using pyrepl in Chrome (GH-137004) (#137067)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Co-authored-by: Zachary Ware <zach@python.org>
Miss Islington (bot) [Tue, 29 Jul 2025 06:53:34 +0000 (08:53 +0200)]
[3.14] Add a What's New entry for Emscripten (GH-137035) (#137192)
Add a What's New entry for Emscripten (GH-137035)
(cherry picked from commit
d7e12a362a2a4a4b7d52a343ab5940be2cbcc909 )
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
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: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Miss Islington (bot) [Mon, 28 Jul 2025 19:48:58 +0000 (21:48 +0200)]
[3.14] gh-132898: Add a note in `multiprocessing.Process` docs about creating a process in a REPL (GH-137118) (#137154)
Co-authored-by: Duprat <yduprat@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Miss Islington (bot) [Mon, 28 Jul 2025 19:43:15 +0000 (21:43 +0200)]
[3.14] GH-137059: `url2pathname()`: fix support for drive letter in netloc (GH-137060) (#137144)
Co-authored-by: Barney Gale <barney.gale@gmail.com>
Miss Islington (bot) [Mon, 28 Jul 2025 19:40:56 +0000 (21:40 +0200)]
[3.14] gh-130577: tarfile now validates archives to ensure member offsets are non-negative (GH-137027) (#137169)
Co-authored-by: Alexander Urieles <aeurielesn@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Miss Islington (bot) [Mon, 28 Jul 2025 19:39:44 +0000 (21:39 +0200)]
[3.14] gh-136870: fix data races in instrumentation of bytecode (GH-136994) (#137082)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Co-authored-by: Zachary Ware <zach@python.org>
Miss Islington (bot) [Sun, 27 Jul 2025 06:54:41 +0000 (08:54 +0200)]
[3.14] Link to plaintext for "show source" links (GH-137131) (#137132)
Link to plaintext for "show source" links (GH-137131)
(cherry picked from commit
9cbf46d9920c269fe736ed689236d00223545f73 )
Co-authored-by: ryan-duve <ryan-duve@users.noreply.github.com>
Miss Islington (bot) [Sat, 26 Jul 2025 17:28:40 +0000 (19:28 +0200)]
[3.14] gh-131038: Use text=True in subprocesses in test_perf_profiler (GH-137117) (#137124)
Miss Islington (bot) [Fri, 25 Jul 2025 16:08:28 +0000 (18:08 +0200)]
[3.14] gh-137090: Remove redundant statement in ``Doc/library/concurrent.interpreters.rst`` (GH-137091) (#137108)
gh-137090: Remove redundant statement in ``Doc/library/concurrent.interpreters.rst`` (GH-137091)
(cherry picked from commit
1e69cd1634e4f0f8c375be85d11925bd12deef23 )
Co-authored-by: soolabettu <17737361+soolabettu@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Miss Islington (bot) [Fri, 25 Jul 2025 09:30:11 +0000 (11:30 +0200)]
[3.14] gh-132983: Add missing references to Zstandard in shutil docstrings (GH-136617) (#137052)
Co-authored-by: Rogdham <3994389+Rogdham@users.noreply.github.com>
Co-authored-by: Zachary Ware <zach@python.org>
Miss Islington (bot) [Thu, 24 Jul 2025 21:36:11 +0000 (23:36 +0200)]
[3.14] Exclude _testclinic_depr.c.h from c-analyzer (GH-137086) (#137089)
Exclude _testclinic_depr.c.h from c-analyzer (GH-137086)
_testclinic.c mocks out PY_VERSION_HEX to 3.8 before including
_testclinic_depr.c.h to avoid the errors the preprocessor would
otherwise throw due to the deprecation feature it is testing.
(cherry picked from commit
d5e75c07682864e9d265e11f5e4730147e7d4842 )
Co-authored-by: Zachary Ware <zach@python.org>
Miss Islington (bot) [Wed, 23 Jul 2025 20:48:11 +0000 (22:48 +0200)]
[3.14] GH-136975: Emend a spelling error (algorthm -> algorithm) (GH-136999) (#137003)
GH-136975: Emend a spelling error (algorthm -> algorithm) (GH-136999)
(cherry picked from commit
b6d324224474c54061a6aaeace50bc5666dc1779 )
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Miss Islington (bot) [Wed, 23 Jul 2025 17:45:55 +0000 (19:45 +0200)]
[3.14] gh-137043: mention `PyList_GET_ITEM` as unsafe borrowed API in free-threading docs (GH-137042) (#137045)
Co-authored-by: Guido Imperiale <crusaderky@gmail.com>
Miss Islington (bot) [Wed, 23 Jul 2025 16:23:25 +0000 (18:23 +0200)]
[3.14] gh-135676: Lexical analysis: Reword String literals and related sections (GH-135942) (#137048)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Blaise Pabon <blaise@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Hugo van Kemenade [Tue, 22 Jul 2025 18:54:14 +0000 (21:54 +0300)]
Post 3.14.0rc1
Hugo van Kemenade [Tue, 22 Jul 2025 16:42:27 +0000 (19:42 +0300)]
Python 3.14.0rc1
Jelle Zijlstra [Tue, 22 Jul 2025 16:23:53 +0000 (09:23 -0700)]
[3.14] Revert "[3.14] gh-135228: When @dataclass(slots=True) replaces… (#137013)
Miss Islington (bot) [Tue, 22 Jul 2025 16:21:19 +0000 (18:21 +0200)]
[3.14] Fix tables in 'Using on Windows' for the text writer (GH-137012) (#137015)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Serhiy Storchaka [Tue, 22 Jul 2025 16:16:31 +0000 (19:16 +0300)]
[3.14] Revert "gh-112068: C API: Add support of nullable arguments in PyArg_Parse (GH-121303)" (GH-136991) (#137006)
Miss Islington (bot) [Tue, 22 Jul 2025 16:15:27 +0000 (18:15 +0200)]
[3.14] Fix code example in `annotationlib` documentation (GH-136972) (#137002)
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
Łukasz Langa [Tue, 22 Jul 2025 13:04:11 +0000 (15:04 +0200)]
[3.14] gh-124621: Emscripten: Support pyrepl in browser (GH-136931) (GH-136988)
Basic support for pyrepl in Emscripten. Limitations:
* requires JSPI
* no signal handling implemented
As followup work, it would be nice to implement a webworker variant
for when JSPI is not available and proper signal handling.
Because it requires JSPI, it doesn't work in Safari. Firefox requires
setting an experimental flag. All the Chromiums have full support since
May. Until we make it work without JSPI, let's keep the original web_example
around.
(cherry picked from commit
c933a6bb329bb97bc7e448388dad1b74f7ca4baa )
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Éric <merwok@netwok.org>
Miss Islington (bot) [Tue, 22 Jul 2025 12:18:23 +0000 (14:18 +0200)]
[3.14] gh-133742: Fix test_sysconfig and test_build_details for relocated directories (GH-136987) (#136990)
gh-133742: Fix test_sysconfig and test_build_details for relocated directories (GH-136987)
(cherry picked from commit
aafbdb5df5439adc1106ced068cf87683ae68b9e )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Miss Islington (bot) [Tue, 22 Jul 2025 11:52:34 +0000 (13:52 +0200)]
[3.14] gh-118350: Fix support of elements "textarea" and "title" in HTMLParser (GH-135310) (GH-136984)
(cherry picked from commit
4d02f31cdd45d81b95540d9076222b709d4f2335 )
Co-authored-by: Timon Viola <44016238+timonviola@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Miss Islington (bot) [Tue, 22 Jul 2025 11:25:35 +0000 (13:25 +0200)]
[3.14] gh-136251: Improvements to WASM demo REPL (GH-136252) (GH-136977)
(cherry picked from commit
d1d526afe7ce62c787b150652a2ba136cb949d74 )
Co-authored-by: adam j hartz <adam@smatz.net>
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Miss Islington (bot) [Tue, 22 Jul 2025 10:32:00 +0000 (12:32 +0200)]
[3.14] gh-132661: Document t-strings and `templatelib` (GH-135229) (#136974)
Co-authored-by: Dave Peck <davepeck@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Loïc Simon <loic.pano@gmail.com>
Co-authored-by: pauleveritt <pauleveritt@me.com>
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Miss Islington (bot) [Tue, 22 Jul 2025 09:51:02 +0000 (11:51 +0200)]
[3.14] gh-124621: Emscripten: Add support for async input devices (GH-136822) (GH-136935)
This is useful for implementing proper `input()`. It requires the
JavaScript engine to support the wasm JSPI spec which is now stage 4.
It is supported on Chrome since version 137 and on Firefox and node
behind a flag.
We override the `__wasi_fd_read()` syscall with our own variant that
checks for a readAsync operation. If it has it, we use our own async
variant of `fd_read()`, otherwise we use the original `fd_read()`.
We also add a variant of `FS.createDevice()` called
`FS.createAsyncInputDevice()`.
Finally, if JSPI is available, we wrap the `main()` symbol with
`WebAssembly.promising()` so that we can stack switch from `fd_read()`.
If JSPI is not available, attempting to read from an AsyncInputDevice
will raise an `OSError`.
(cherry picked from commit
7ae4749d064bd49b0dd96172fee20c1f1678d9e9 )
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Hugo van Kemenade [Tue, 22 Jul 2025 09:48:08 +0000 (12:48 +0300)]
[3.14] gh-134009: Expose `PyMutex_IsLocked` in the public C API (gh-134365) (#136971)
Co-authored-by: Sam Gross <colesbury@gmail.com>
Miss Islington (bot) [Tue, 22 Jul 2025 09:44:59 +0000 (11:44 +0200)]
[3.14] gh-133296: Publicly expose critical section API that accepts PyMutex (gh-135899) (#136969)
Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Miss Islington (bot) [Tue, 22 Jul 2025 08:32:09 +0000 (10:32 +0200)]
[3.14] gh-136859: Improve `StrEnum` docs (GH-136864) (#136936)
Co-authored-by: Nacho Caballero <nachocab@gmail.com>
Co-authored-by: Nacho Caballero <nacho.caballero@astrazeneca.com>
Co-authored-by: Antonio Spadaro <ilovelinux@users.noreply.github.com>
Miss Islington (bot) [Tue, 22 Jul 2025 08:29:40 +0000 (10:29 +0200)]
[3.14] gh-135468: Improve ``BaseHandler.http_error_default()`` parameter descriptions (GH-136797) (#136825)
Co-authored-by: Valerio Gianella <49408327+valeriogianella@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Hugo van Kemenade [Tue, 22 Jul 2025 08:29:17 +0000 (11:29 +0300)]
[3.14] Fix 3 typos in "Next" News items (GH-136892) (#136967)
Co-authored-by: Cornelius Roemer <cornelius.roemer@gmail.com>
Miss Islington (bot) [Tue, 22 Jul 2025 08:15:50 +0000 (10:15 +0200)]
[3.14] gh-131531: Android test fixes (GH-136845) (#136962)
Modifies the test runner script to no longer export the the HOST environment
variable, and to allow for tests that produce no Python output (output from the
Android console is still expected and required). These changes stem from
knowledge gained during developing a PR for Android support in cibuildwheel.
(cherry picked from commit
149bddcc216a398d71ec9497e9bf3ec03d6f2914 )
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Miss Islington (bot) [Tue, 22 Jul 2025 05:08:15 +0000 (07:08 +0200)]
[3.14] gh-135228: When @dataclass(slots=True) replaces a dataclass, make the original class collectible (GH-136893) (#136960)
gh-135228: When @dataclass(slots=True) replaces a dataclass, make the original class collectible (GH-136893)
An interesting hack, but more localized in scope than GH-135230.
This may be a breaking change if people intentionally keep the original class around
when using `@dataclass(slots=True)`, and then use `__dict__` or `__weakref__` on the
original class.
(cherry picked from commit
46cbdf967ada11b0286060488b61635fd6a2bb23 )
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Miss Islington (bot) [Tue, 22 Jul 2025 03:35:41 +0000 (05:35 +0200)]
[3.14] gh-136170: Revert adding `ZipFile.data_offset` (GH-136950) (#136955)
gh-136170: Revert adding `ZipFile.data_offset` (GH-136950)
* Revert "gh-84481: Make ZipFile.data_offset more robust (GH-132178)"
This reverts commit
6cd1d6c6b142697fb72f422b7b448c27ebc30534 .
* Revert "gh-84481: Add ZipFile.data_offset attribute (GH-132165)"
This reverts commit
0788948dcb980c7648b29ca363390b696d7f188f .
---------
(cherry picked from commit
6bf1c0ab3497b1b193812654bcdfd0c11b4192d8 )
Co-authored-by: Emma Smith <emma@emmatyping.dev>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Miss Islington (bot) [Tue, 22 Jul 2025 00:22:57 +0000 (02:22 +0200)]
[3.14] gh-133600: Move config.site-wasm32-emscripten into the emscripten folder (GH-136934) (#136956)
Reorganises the large Emscripten-specific file into the Emscripten folder.
(cherry picked from commit
bbe589f93ccaf32eb95fd9d1f8f3dc9a536e8db1 )
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Miss Islington (bot) [Mon, 21 Jul 2025 23:23:05 +0000 (01:23 +0200)]
[3.14] gh-136421: Load `_datetime` static types during interpreter initialization (GH-136583) (GH-136943)
gh-136421: Load `_datetime` static types during interpreter initialization (GH-136583)
`_datetime` is a special module, because it's the only non-builtin C extension that contains static types. As such, it would initialize static types in the module's execution function, which can run concurrently. Since static type initialization is not thread-safe, this caused crashes. This fixes it by moving the initialization of `_datetime`'s static types to interpreter startup (where all other static types are initialized), which is already properly protected through other locks.
(cherry picked from commit
a10960699a2b3e4e62896331c4f9cfd162ebf440 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>