]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
2 months agogh-140001: Remove obsolete TCL_WIN_SOCKET macro (from Tcl 7.x) from _tkinter.c (GH...
mdehoon [Mon, 13 Oct 2025 10:29:42 +0000 (19:29 +0900)] 
gh-140001: Remove obsolete TCL_WIN_SOCKET macro (from Tcl 7.x) from _tkinter.c (GH-139998)

Co-authored-by: Michiel Jan Laurens de Hoon <mdehoon@Michiels-MacBook-Air.local>
2 months agogh-140009: Improve performance of `list_extend_dictitems` by using `PyTuple_FromArray...
Pieter Eendebak [Mon, 13 Oct 2025 10:28:25 +0000 (12:28 +0200)] 
gh-140009: Improve performance of `list_extend_dictitems` by using `PyTuple_FromArray` (#140010)

2 months agogh-131189: Remove `curses` mention from `PYTHON_BASIC_REPL` docs (#140022)
Bartosz Sławecki [Mon, 13 Oct 2025 08:40:39 +0000 (10:40 +0200)] 
gh-131189: Remove `curses` mention from `PYTHON_BASIC_REPL` docs (#140022)

The `curses` dependency for the default REPL has been removed
in 09dfb50f1b7c23bc48d86bd579671761bb8ca48b.

2 months agogh-136438: Make sure test.test_pydoc.test_pydoc pass with all optimization levels...
Arseniy Krupchik [Sun, 12 Oct 2025 22:17:41 +0000 (02:17 +0400)] 
gh-136438: Make sure test.test_pydoc.test_pydoc pass with all optimization levels (#136479)

test_pydoc.test_pydoc now passes with -OO

2 months agogh-112075: Remove _PyObject_SetManagedDict() function (#139737)
Victor Stinner [Sun, 12 Oct 2025 17:32:10 +0000 (19:32 +0200)] 
gh-112075: Remove _PyObject_SetManagedDict() function (#139737)

Move it to the internal C API and no longer export it.

2 months agoGH-139979: Add @force_not_colorized_test_class to TestOptionalHelpVersionActions...
Savannah Ostrowski [Sun, 12 Oct 2025 16:51:13 +0000 (09:51 -0700)] 
GH-139979: Add @force_not_colorized_test_class to TestOptionalHelpVersionActions (#139980)

2 months agogh-139155: Remove "dictionaries are sorted by key" note in `pprint` docs (GH-139159)
Bartosz Sławecki [Sun, 12 Oct 2025 16:48:22 +0000 (18:48 +0200)] 
gh-139155: Remove "dictionaries are sorted by key" note in `pprint` docs (GH-139159)

2 months agogh-139988: fix a leak when failing to create a Union type (#139990)
Bénédikt Tran [Sun, 12 Oct 2025 10:51:44 +0000 (12:51 +0200)] 
gh-139988: fix a leak when failing to create a Union type (#139990)

2 months agogh-116738: test `dbm.gnu` module on FT Python build (#138467)
Alper [Sun, 12 Oct 2025 07:42:10 +0000 (00:42 -0700)] 
gh-116738: test `dbm.gnu` module on FT Python build (#138467)

2 months agogh-138044: Fix `importlib.resources.files` deprecation docs (#139632)
sobolevn [Sat, 11 Oct 2025 22:52:01 +0000 (01:52 +0300)] 
gh-138044: Fix `importlib.resources.files` deprecation docs (#139632)

2 months agogh-139482: Add `posix._clearenv()` function (#139965)
Victor Stinner [Sat, 11 Oct 2025 20:58:43 +0000 (22:58 +0200)] 
gh-139482: Add `posix._clearenv()` function (#139965)

2 months agogh-111489: Remove _PyTuple_FromArray() alias (#139973)
Victor Stinner [Sat, 11 Oct 2025 20:58:14 +0000 (22:58 +0200)] 
gh-111489: Remove _PyTuple_FromArray() alias (#139973)

Replace _PyTuple_FromArray() with PyTuple_FromArray().
Remove pycore_tuple.h includes.

2 months agogh-101100: Fix Sphinx warnings in `Doc/library/signal.rst` (GH-139930)
Weilin Du [Sat, 11 Oct 2025 18:26:48 +0000 (02:26 +0800)] 
gh-101100: Fix Sphinx warnings in `Doc/library/signal.rst` (GH-139930)

2 months agogh-139929: fix incorrect OpenSSL version-based guard in `_ssl.c` (GH-139945)
Bénédikt Tran [Sat, 11 Oct 2025 17:34:08 +0000 (19:34 +0200)] 
gh-139929: fix incorrect OpenSSL version-based guard in `_ssl.c` (GH-139945)

fix OpenSSL version-based guards

2 months agogh-139905: Provide suggestion in error message if `Generic.__init_subclass__` was...
Stan Ulbrych [Sat, 11 Oct 2025 15:14:29 +0000 (16:14 +0100)] 
gh-139905: Provide suggestion in error message if `Generic.__init_subclass__` was not called (#139943)

2 months agogh-139935: do not skip test on real errors in `os.getlogin` (#139953)
Bénédikt Tran [Sat, 11 Oct 2025 14:31:34 +0000 (16:31 +0200)] 
gh-139935: do not skip test on real errors in `os.getlogin` (#139953)

2 months agogh-139935: fix `test_os.test_getlogin` on some platforms (#139936)
yihong [Sat, 11 Oct 2025 12:32:57 +0000 (20:32 +0800)] 
gh-139935: fix `test_os.test_getlogin` on some platforms (#139936)

This amends 4e7e2dd043c1da85b0c157d3ed24866b77e83a4f to catch errors
that `os.getlogin` can raise as specified by POSIX and Linux/glibc [1].

[1]: https://man7.org/linux/man-pages/man3/getlogin.3.html#ERRORS

---------

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2 months agogh-96491: Deduplicate version in IDLE shell title (#139841)
Stan Ulbrych [Sat, 11 Oct 2025 01:37:48 +0000 (02:37 +0100)] 
gh-96491: Deduplicate version in IDLE shell title (#139841)

Saving to a file added both the filename and repeated the version.
---------

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2 months agogh-139924: Add PyFunction_PYFUNC_EVENT_MODIFY_QUALNAME event for function watchers...
Dino Viehland [Fri, 10 Oct 2025 22:25:38 +0000 (15:25 -0700)] 
gh-139924: Add PyFunction_PYFUNC_EVENT_MODIFY_QUALNAME event for function watchers (#139925)

Add PyFunction_PYFUNC_EVENT_MODIFY_QUALNAME event for function watchers

2 months agogh-139001: Fix thread-safety issue in `pathlib.Path` (gh-139066)
Sam Gross [Fri, 10 Oct 2025 21:20:18 +0000 (17:20 -0400)] 
gh-139001: Fix thread-safety issue in `pathlib.Path` (gh-139066)

Don't cache the joined path in `_raw_path` because the caching isn't thread safe.

2 months agogh-138843: Removing "Unpacking" section from Download page (GH-139918)
Stan Ulbrych [Fri, 10 Oct 2025 19:22:34 +0000 (20:22 +0100)] 
gh-138843: Removing "Unpacking" section from Download page (GH-139918)

2 months agopathlib ABCs: restore `relative_to()` and `is_relative_to()` (#138853)
Barney Gale [Fri, 10 Oct 2025 18:08:55 +0000 (19:08 +0100)] 
pathlib ABCs: restore `relative_to()` and `is_relative_to()` (#138853)

Restore `JoinablePath.[is_]relative_to()`, which were deleted in
ef63cca494571f50906baae1d176469a3dcf8838. These methods are too useful to
forgo. Restore old tests, and add new tests covering path classes with
non-overridden `__eq__()` and `__hash__()`.

Slightly simplify `PurePath.relative_to()` while we're in the area.

No change to public APIs, because the pathlib ABCs are still private.

2 months agogh-139894: fix incorrect sharing of current task while forking in `asyncio` (#139897)
Kumar Aditya [Fri, 10 Oct 2025 16:28:23 +0000 (21:58 +0530)] 
gh-139894: fix incorrect sharing of current task while forking in `asyncio`  (#139897)

Fix incorrect sharing of current task with the forked child process by clearing thread state's current task and current loop in `PyOS_AfterFork_Child`.

2 months agogh-101100: Document `zlib` public constants to fix reference warnings (#139835)
Stan Ulbrych [Fri, 10 Oct 2025 15:32:44 +0000 (16:32 +0100)] 
gh-101100: Document `zlib` public constants to fix reference warnings (#139835)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2 months agogh-139843: Document signals (SIGSTOP, SIGVTALRM, SIGPROF) to fix sphinx references...
Weilin Du [Fri, 10 Oct 2025 15:28:38 +0000 (23:28 +0800)] 
gh-139843: Document signals (SIGSTOP, SIGVTALRM, SIGPROF) to fix sphinx references (GH-139896)

2 months agogh-139065: Fix trailing space before long word in textwrap (GH-139070)
Serhiy Storchaka [Fri, 10 Oct 2025 13:29:18 +0000 (16:29 +0300)] 
gh-139065: Fix trailing space before long word in textwrap (GH-139070)

Fix trailing space before a wrapped long word if the line length with
a space is exactly "width".

2 months agogh-63161: Fix PEP 263 support (GH-139481)
Serhiy Storchaka [Fri, 10 Oct 2025 12:51:19 +0000 (15:51 +0300)] 
gh-63161: Fix PEP 263 support (GH-139481)

* Support non-UTF-8 shebang and comments if non-UTF-8 encoding is specified.
* Detect decoding error in comments for UTF-8 encoding.
* Include the decoding error position for default encoding in SyntaxError.

2 months agogh-129813: Fix PyBytesWriter tests (#139892)
Victor Stinner [Fri, 10 Oct 2025 11:01:06 +0000 (13:01 +0200)] 
gh-129813: Fix PyBytesWriter tests (#139892)

2 months agogh-139353: Add Objects/unicode_format.c file (#139491)
Victor Stinner [Fri, 10 Oct 2025 10:52:59 +0000 (12:52 +0200)] 
gh-139353: Add Objects/unicode_format.c file (#139491)

* Move PyUnicode_Format() implementation from unicodeobject.c
  to unicode_format.c.
* Replace unicode_modifiable() with _PyUnicode_IsModifiable()
* Add empty lines to have two empty lines between functions.

2 months agogh-139184: Set O_CLOEXEC for master_fd when calling os.forkpty() (#139408)
Nadeshiko Manju [Fri, 10 Oct 2025 08:56:10 +0000 (16:56 +0800)] 
gh-139184: Set O_CLOEXEC for master_fd when calling os.forkpty() (#139408)

Signed-off-by: Manjusaka <me@manjusaka.me>
Co-authored-by: Shamil <ashm.tech@proton.me>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2 months agogh-139783: Fix inspect.getsourcelines() for the case when a decorator is followed...
Serhiy Storchaka [Fri, 10 Oct 2025 07:51:24 +0000 (10:51 +0300)] 
gh-139783: Fix inspect.getsourcelines() for the case when a decorator is followed by a comment or an empty line (GH-139836)

2 months agogh-111489: Add PyTuple_FromArray() function (#139691)
Victor Stinner [Fri, 10 Oct 2025 06:54:12 +0000 (08:54 +0200)] 
gh-111489: Add PyTuple_FromArray() function (#139691)

2 months agogh-139823: Extend list of optional dependencies in `configure.rst` (#139826)
Stan Ulbrych [Fri, 10 Oct 2025 06:48:09 +0000 (07:48 +0100)] 
gh-139823: Extend list of optional dependencies in `configure.rst` (#139826)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
Co-authored-by: Victor Stinner <vstinner@python.org>
2 months agogh-139843: Document `signal.SIGQUIT` to fix Sphinx references (#139844)
Weilin Du [Fri, 10 Oct 2025 06:24:41 +0000 (14:24 +0800)] 
gh-139843: Document `signal.SIGQUIT` to fix Sphinx references (#139844)

2 months agoGH-78870: copy test from GH-20439 (#139884)
Filipe Laíns [Fri, 10 Oct 2025 05:52:13 +0000 (06:52 +0100)] 
GH-78870: copy test from GH-20439 (#139884)

Signed-off-by: Filipe Laíns <lains@riseup.net>
2 months agoReplace obsolete platforms with more recent examples (#132455)
partev [Fri, 10 Oct 2025 05:38:13 +0000 (01:38 -0400)] 
Replace obsolete platforms with more recent examples (#132455)

Co-authored-by: Filipe Laíns 🇵🇸 <lains@riseup.net>
2 months agogh-138614: `site._get_path` to respect non-default implementation name (#138610)
Shahar Naveh [Fri, 10 Oct 2025 05:08:51 +0000 (08:08 +0300)] 
gh-138614: `site._get_path` to respect non-default implementation name (#138610)

* `site._get_path` to respect non-default implementation name

* Add news entry

* Remove NEWS entry

2 months agogh-137025: Update Emscripten Build Docs (#137312)
adam j hartz [Thu, 9 Oct 2025 22:36:40 +0000 (18:36 -0400)] 
gh-137025: Update Emscripten Build Docs (#137312)

Update Emscripten build docs to point at the devguide as the primary reference
for managing an Emscripten build.

2 months agogh-139842: Clarify `__module__` description in typing.rst (#139863)
Timothée Mazzucotelli [Thu, 9 Oct 2025 17:53:42 +0000 (19:53 +0200)] 
gh-139842: Clarify `__module__` description in typing.rst (#139863)

2 months agogh-139672: Remove references to `passlib` (#139673)
Kirill Podoprigora [Thu, 9 Oct 2025 17:13:38 +0000 (20:13 +0300)] 
gh-139672: Remove references to `passlib` (#139673)

2 months agoGH-139809: Fix argparse subcommand prog not respecting color environment variables...
Savannah Ostrowski [Thu, 9 Oct 2025 16:53:14 +0000 (09:53 -0700)] 
GH-139809: Fix argparse subcommand prog not respecting color environment variables (#139818)

2 months agogh-139845: do not print twice in default asyncio REPL (#139846)
yihong [Thu, 9 Oct 2025 15:24:52 +0000 (23:24 +0800)] 
gh-139845: do not print twice in default asyncio REPL (#139846)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2 months agogh-139391: properly handle `signal.signal()` in `UnixConsole` when called from a...
yihong [Thu, 9 Oct 2025 14:58:01 +0000 (22:58 +0800)] 
gh-139391: properly handle `signal.signal()` in `UnixConsole` when called from a non-main thread (#139392)

2 months agogh-133400: Fixed Ctrl+D (^D) behavior in :mod:`_pyrepl` module (GH-133883)
DeepWzh [Thu, 9 Oct 2025 14:16:48 +0000 (22:16 +0800)] 
gh-133400: Fixed Ctrl+D (^D) behavior in :mod:`_pyrepl` module (GH-133883)

Co-authored-by: adam j hartz <adam@smatz.net>
2 months agogh-101100: Fix reference warnings in `c-api/init.rst` documenting `PyGILState_STATE...
Stan Ulbrych [Thu, 9 Oct 2025 09:34:35 +0000 (10:34 +0100)] 
gh-101100: Fix reference warnings in `c-api/init.rst` documenting `PyGILState_STATE` (#139572)

2 months agogh-139742: Add support for Python 3.14 t-string prefixes in IDLE colorizer and tests...
Anuradha Agrawal [Thu, 9 Oct 2025 09:24:53 +0000 (14:54 +0530)] 
gh-139742: Add support for Python 3.14 t-string prefixes in IDLE colorizer and tests (#139756)

Add 't' prefix to colorizer.py stringprefix regex to support Python 3.14 template strings.
Add t prefixes to test_colorizer.py source test text and adjust line numbers on test methods.
---------

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 months agogh-88046: remove impossible conditional import for `_ssl.RAND_egd` (#139648)
Bénédikt Tran [Thu, 9 Oct 2025 09:14:36 +0000 (11:14 +0200)] 
gh-88046: remove impossible conditional import for `_ssl.RAND_egd` (#139648)

`_ssl.RAND_egd` was removed in b8d0fa035d74ae6ae00794c9af636b427c5dc650.

2 months agogh-139743: Avoid import-time print in test_sqlite3 (GH-139746)
Peter [Thu, 9 Oct 2025 08:00:37 +0000 (16:00 +0800)] 
gh-139743: Avoid import-time print in test_sqlite3 (GH-139746)

2 months agogh-116738: make `mmap` module thread-safe (#139237)
Alper [Thu, 9 Oct 2025 06:30:47 +0000 (23:30 -0700)] 
gh-116738: make `mmap` module thread-safe (#139237)

2 months agogh-139805: Bump `test_repl_eio` timeout for slow builtbots (#139807)
Stan Ulbrych [Wed, 8 Oct 2025 22:34:40 +0000 (23:34 +0100)] 
gh-139805: Bump `test_repl_eio` timeout for slow builtbots (#139807)

2 months agogh-139590: Stricter `ruff` rules for `Tools/wasm` (#139752)
sobolevn [Wed, 8 Oct 2025 22:13:27 +0000 (01:13 +0300)] 
gh-139590: Stricter `ruff` rules for `Tools/wasm` (#139752)

2 months agogh-70030: Remove _PyCode_ConstantKey() function (#139735)
Victor Stinner [Wed, 8 Oct 2025 20:33:45 +0000 (22:33 +0200)] 
gh-70030: Remove _PyCode_ConstantKey() function (#139735)

Move the function to the internal C API and no longer export it.

2 months agoRemove Cirrus macOS runners from CI (#139799)
Jacob Coffee [Wed, 8 Oct 2025 19:14:05 +0000 (15:14 -0400)] 
Remove Cirrus macOS runners from CI (#139799)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 months agogh-101100: Resolve some `os` sphinx reference warnings (#139636)
Cody Maloney [Wed, 8 Oct 2025 18:23:27 +0000 (11:23 -0700)] 
gh-101100: Resolve some `os` sphinx reference warnings (#139636)

2 months agogh-138843: Clean up downloads page (#138844)
Stan Ulbrych [Wed, 8 Oct 2025 16:14:09 +0000 (17:14 +0100)] 
gh-138843: Clean up downloads page (#138844)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 months agogh-139736: Fix argparse indentation overshoot (#139738)
ed [Wed, 8 Oct 2025 15:36:53 +0000 (15:36 +0000)] 
gh-139736: Fix argparse indentation overshoot (#139738)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
2 months agogh-101100: Fix all Sphinx warnings in `Doc/library/subprocess.rst` (#139576)
Stan Ulbrych [Wed, 8 Oct 2025 15:26:22 +0000 (16:26 +0100)] 
gh-101100: Fix all Sphinx warnings in `Doc/library/subprocess.rst` (#139576)

2 months agogh-139748: fix leaks in AC error paths when using unicode FS-based converters (#139765)
Bénédikt Tran [Wed, 8 Oct 2025 15:22:44 +0000 (17:22 +0200)] 
gh-139748: fix leaks in AC error paths when using unicode FS-based converters (#139765)

2 months agogh-139769: Update `PCBuild/find_python.bat` to allow discovery of Python 3.14 (GH...
Wulian233 [Wed, 8 Oct 2025 15:00:54 +0000 (23:00 +0800)] 
gh-139769: Update `PCBuild/find_python.bat` to allow discovery of Python 3.14 (GH-139770)

Enable 3.14 py.exe can be use on PCBuild

2 months agogh-135676: Add a summary of source characters (GH-138194)
Petr Viktorin [Wed, 8 Oct 2025 14:34:19 +0000 (16:34 +0200)] 
gh-135676: Add a summary of source characters (GH-138194)

Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Blaise Pabon <blaise@gmail.com>
Co-authored-by: Micha Albert <info@micha.zone>
Co-authored-by: KeithTheEE <kmurrayis@gmail.com>
2 months agogh-139774: use relaxed atomics for datetime hashes (#139775)
Kumar Aditya [Wed, 8 Oct 2025 14:19:54 +0000 (19:49 +0530)] 
gh-139774: use relaxed atomics for datetime hashes (#139775)

2 months agogh-139452: Clarify redirect_stdout, stderr behavior (gh-139490)
Cody Maloney [Wed, 8 Oct 2025 13:28:29 +0000 (06:28 -0700)] 
gh-139452: Clarify redirect_stdout, stderr behavior (gh-139490)

2 months agogh-139353: Rename formatter_unicode.c to unicode_formatter.c (#139723)
Victor Stinner [Wed, 8 Oct 2025 12:56:00 +0000 (14:56 +0200)] 
gh-139353: Rename formatter_unicode.c to unicode_formatter.c (#139723)

* Move Python/formatter_unicode.c to Objects/unicode_formatter.c.
* Move Objects/stringlib/localeutil.h content into
  unicode_formatter.c. Remove localeutil.h.
* Move _PyUnicode_InsertThousandsGrouping() to unicode_formatter.c
  and mark the function as static.
* Rename unicode_fill() to _PyUnicode_Fill() and export it in
  pycore_unicodeobject.h.
* Move MAX_UNICODE to pycore_unicodeobject.h as _Py_MAX_UNICODE.

2 months agogh-137589: Zipfile tests: close file objects (GH-138080)
Rogdham [Wed, 8 Oct 2025 12:29:37 +0000 (14:29 +0200)] 
gh-137589: Zipfile tests: close file objects (GH-138080)

Zipfile tests: close file objects

2 months agogh-138342: Move _PyObject_VisitType() to the internal C API (#139734)
Victor Stinner [Wed, 8 Oct 2025 10:10:58 +0000 (12:10 +0200)] 
gh-138342: Move _PyObject_VisitType() to the internal C API (#139734)

2 months agoGH-139590: Run `ruff format` on pre-commit for Tools/wasm (#139591)
Savannah Ostrowski [Wed, 8 Oct 2025 02:25:06 +0000 (19:25 -0700)] 
GH-139590: Run `ruff format` on pre-commit for Tools/wasm (#139591)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 months agoRemove long-obsolete PCbuild/field3.py script (GH-139739)
Zachary Ware [Wed, 8 Oct 2025 00:29:43 +0000 (19:29 -0500)] 
Remove long-obsolete PCbuild/field3.py script (GH-139739)

As far as I can tell, it has not actually been used since 2003.

2 months agogh-79315: Add Include/cpython/structseq.h header (#139730)
Victor Stinner [Tue, 7 Oct 2025 23:19:50 +0000 (01:19 +0200)] 
gh-79315: Add Include/cpython/structseq.h header (#139730)

2 months agogh-79315: Remove Include/pylock.h and Include/monitoring.h (#139731)
Victor Stinner [Tue, 7 Oct 2025 22:49:24 +0000 (00:49 +0200)] 
gh-79315: Remove Include/pylock.h and Include/monitoring.h (#139731)

Keep Include/cpython/pylock.h and Include/cpython/monitoring.h.

2 months agogh-79315: Add Include/cpython/sliceobject.h header (#139729)
Victor Stinner [Tue, 7 Oct 2025 22:48:18 +0000 (00:48 +0200)] 
gh-79315: Add Include/cpython/sliceobject.h header (#139729)

2 months agogh-79315: Add Include/cpython/marshal.h header (#139725)
Victor Stinner [Tue, 7 Oct 2025 21:49:08 +0000 (23:49 +0200)] 
gh-79315: Add Include/cpython/marshal.h header (#139725)

2 months agoDoc: Improve clarity for subinterpreters in What's New in 3.14 (#139221)
Cornelius Roemer [Tue, 7 Oct 2025 18:53:27 +0000 (20:53 +0200)] 
Doc: Improve clarity for subinterpreters in What's New in 3.14 (#139221)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 months agogh-139698: Fix typo in What's New 3.14 (#139699)
Stan Ulbrych [Tue, 7 Oct 2025 17:39:45 +0000 (18:39 +0100)] 
gh-139698: Fix typo in What's New 3.14 (#139699)

2 months agogh-139700: Check consistency of the zip64 end of central directory record (GH-139702)
Serhiy Storchaka [Tue, 7 Oct 2025 17:15:26 +0000 (20:15 +0300)] 
gh-139700: Check consistency of the zip64 end of central directory record (GH-139702)

Support records with "zip64 extensible data" if there are no bytes
prepended to the ZIP file.

2 months agogh-139516: Fix lambda colon start format spec in f-string in tokenizer (#139657)
Tomasz Pytel [Tue, 7 Oct 2025 16:28:15 +0000 (12:28 -0400)] 
gh-139516: Fix lambda colon start format spec in f-string in tokenizer (#139657)

2 months agogh-138497: Support LLVM_VERSION configuration via env (#138498)
danigm [Tue, 7 Oct 2025 14:54:31 +0000 (16:54 +0200)] 
gh-138497: Support LLVM_VERSION configuration via env (#138498)

Co-authored-by: Savannah Ostrowski <savannah@python.org>
2 months agoGH-139291: Fix C stack limits by factoring out finding hardware stack limits (GH...
Mark Shannon [Tue, 7 Oct 2025 13:04:37 +0000 (14:04 +0100)] 
GH-139291: Fix C stack limits by factoring out finding hardware stack limits (GH-139294)

2 months agogh-139436: Remove ``dist-pdf`` from the docs archives rebuild target (#139437)
Adam Turner [Tue, 7 Oct 2025 12:29:18 +0000 (13:29 +0100)] 
gh-139436: Remove ``dist-pdf`` from the docs archives rebuild target (#139437)

2 months agoGH-123299: Announce final release in What's New in Python 3.14 (#139631)
Adam Turner [Tue, 7 Oct 2025 08:49:59 +0000 (09:49 +0100)] 
GH-123299: Announce final release in What's New in Python 3.14 (#139631)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 months agogh-124111: Update macOS installer to use Tcl/Tk 8.6.17. (#139682)
Ned Deily [Tue, 7 Oct 2025 04:53:05 +0000 (05:53 +0100)] 
gh-124111: Update macOS installer to use Tcl/Tk 8.6.17. (#139682)

2 months agogh-139573: Update macOS installer to use OpenSSL 3.0.18 (#139575)
Zachary Ware [Tue, 7 Oct 2025 02:17:09 +0000 (21:17 -0500)] 
gh-139573: Update macOS installer to use OpenSSL 3.0.18 (#139575)

2 months agoAdd warnings filter suggestions to PEP 765 entry in What's New (#139658)
Alyssa Coghlan [Mon, 6 Oct 2025 19:41:08 +0000 (05:41 +1000)] 
Add warnings filter suggestions to PEP 765 entry in What's New (#139658)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 months agogh-138854: Skip test_script_shadowing_stdlib_cwd_failure on AIX (GH-138855)
Furkan Onder [Mon, 6 Oct 2025 17:42:26 +0000 (17:42 +0000)] 
gh-138854: Skip test_script_shadowing_stdlib_cwd_failure on AIX (GH-138855)

2 months agogh-133210: Fix `test_inspect` without docstrings (#139651)
sobolevn [Mon, 6 Oct 2025 16:48:50 +0000 (19:48 +0300)] 
gh-133210: Fix `test_inspect` without docstrings (#139651)

2 months agogh-139400: Move NEWS item from section "Core and Builtins" to section "Security"...
Sebastian Pipping [Mon, 6 Oct 2025 14:55:58 +0000 (16:55 +0200)] 
gh-139400: Move NEWS item from section "Core and Builtins" to section "Security" (GH-139606) (#139664)

2 months agogh-133210: Fix `test_pydoc` without docstrings (#139654)
Mikhail Efimov [Mon, 6 Oct 2025 14:51:10 +0000 (17:51 +0300)] 
gh-133210: Fix `test_pydoc` without docstrings (#139654)

2 months agogh-116488: Mention `dict.get` in the data structures tutorial (GH-139643)
Cycloctane [Mon, 6 Oct 2025 13:04:59 +0000 (21:04 +0800)] 
gh-116488: Mention `dict.get` in the data structures tutorial (GH-139643)

2 months agogh-133951: Fix purelib packages not found in test_peg_generator TestCParser (GH-139607)
Cycloctane [Mon, 6 Oct 2025 12:40:48 +0000 (20:40 +0800)] 
gh-133951: Fix purelib packages not found in test_peg_generator TestCParser (GH-139607)

also includes purelib in TestCParser import context

2 months agogh-139646: fix typo in `pickletools` error message (#139647)
yihong [Mon, 6 Oct 2025 10:52:45 +0000 (18:52 +0800)] 
gh-139646: fix typo in `pickletools` error message (#139647)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2 months agogh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625)
Furkan Onder [Mon, 6 Oct 2025 09:38:01 +0000 (09:38 +0000)] 
gh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625)

2 months agogh-137242: Allow Android testbed to take all Python command-line options (#138805)
Malcolm Smith [Mon, 6 Oct 2025 05:19:48 +0000 (06:19 +0100)] 
gh-137242: Allow Android testbed to take all Python command-line options (#138805)

Modifies the Android test runner to ensure that all valid Python command line
options are preserved when running the test suite.

2 months agogh-105812: Use the ``:deco:`` role in place of manual decorator markup (#139619)
Adam Turner [Sun, 5 Oct 2025 20:15:36 +0000 (21:15 +0100)] 
gh-105812: Use the ``:deco:`` role in place of manual decorator markup (#139619)

2 months agoGH-123299: Copyedit 3.14 What's New: Trivia (#139618)
Adam Turner [Sun, 5 Oct 2025 19:45:58 +0000 (20:45 +0100)] 
GH-123299: Copyedit 3.14 What's New: Trivia (#139618)

2 months agogh-127330: Comment correction in _ssl.c (#139603)
Skip Montanaro [Sun, 5 Oct 2025 18:15:46 +0000 (13:15 -0500)] 
gh-127330: Comment correction in _ssl.c (#139603)

2 months agoReplace ambiguous word "pound" by "hash" in `difflib` docs (#139601)
George Ogden [Sun, 5 Oct 2025 17:10:24 +0000 (19:10 +0200)] 
Replace ambiguous word "pound" by "hash" in `difflib` docs (#139601)

2 months agoGH-123299: Copyedit 3.14 What's New: New Features (#139543)
Adam Turner [Sun, 5 Oct 2025 17:05:29 +0000 (18:05 +0100)] 
GH-123299: Copyedit 3.14 What's New: New Features (#139543)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2 months agogh-70765: fix an HTTP/0.9 flaky test post GH-139514 (#139610)
Bénédikt Tran [Sun, 5 Oct 2025 16:51:16 +0000 (18:51 +0200)] 
gh-70765: fix an HTTP/0.9 flaky test post GH-139514 (#139610)

Fix a flaky test introduced in 13dc2fde8cec1e8aad04c7635b3da4ff3e3dcb00.

After a single HTTP/0.9 request, both client and server are expected to
close the connection on their side. In particular, if a client sends two
requests with the same connection, only the first one should be handled.

In the tests, it might happen that checking for the second request to be
ignored did not take into account that the server may have already closed
the connection. This flaky behavior was first observed on macOS CI workers
but could not be reproduced locally on a Linux machine.

2 months agogh-139400: Make sure that parent parsers outlive their subparsers in `pyexpat` (...
Sebastian Pipping [Sun, 5 Oct 2025 15:37:42 +0000 (17:37 +0200)] 
gh-139400: Make sure that parent parsers outlive their subparsers in `pyexpat` (#139403)

* Modules/pyexpat.c: Disallow collection of in-use parent parsers.

Within libexpat, a parser created via `XML_ExternalEntityParserCreate`
is relying on its parent parser throughout its entire lifetime.
Prior to this fix, is was possible for the parent parser to be
garbage-collected too early.

2 months agogh-70765: avoid waiting for HTTP headers when parsing HTTP/0.9 requests (#139514)
Bénédikt Tran [Sun, 5 Oct 2025 12:03:25 +0000 (14:03 +0200)] 
gh-70765: avoid waiting for HTTP headers when parsing HTTP/0.9 requests (#139514)

2 months agogh-118767: Remove ``bool(NotImplemented)`` from pending-removal document (#139526)
Jost Migenda [Sun, 5 Oct 2025 11:03:54 +0000 (12:03 +0100)] 
gh-118767: Remove ``bool(NotImplemented)`` from pending-removal document (#139526)