]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
8 weeks agofix cg builds, invalidate executors on function deallocation
Ken Jin [Mon, 27 Oct 2025 10:03:47 +0000 (10:03 +0000)] 
fix cg builds, invalidate executors on function deallocation

8 weeks agofix some formatting
Ken Jin [Mon, 27 Oct 2025 09:57:14 +0000 (09:57 +0000)] 
fix some formatting

8 weeks agoChange RECORD_PREVIOUS_INST to a label to save an opcode
Ken Jin [Mon, 27 Oct 2025 09:56:48 +0000 (09:56 +0000)] 
Change RECORD_PREVIOUS_INST to a label to save an opcode

8 weeks agoAddress Kumar's review
Ken Jin [Mon, 27 Oct 2025 09:46:37 +0000 (09:46 +0000)] 
Address Kumar's review

8 weeks agoAddress Chris' review
Ken Jin [Sun, 26 Oct 2025 20:55:44 +0000 (20:55 +0000)] 
Address Chris' review

8 weeks agoaddress review
Ken Jin [Sun, 26 Oct 2025 17:52:10 +0000 (17:52 +0000)] 
address review

8 weeks agofix up gitattributes
Ken Jin [Sun, 26 Oct 2025 14:45:10 +0000 (14:45 +0000)] 
fix up gitattributes

8 weeks agoFix a test
Ken Jin [Sun, 26 Oct 2025 01:00:17 +0000 (01:00 +0000)] 
Fix a test

8 weeks agofix no-opt JIT
Ken Jin [Sat, 25 Oct 2025 23:57:30 +0000 (00:57 +0100)] 
fix no-opt JIT

8 weeks agoChange the backoffs to fix nqueens
Ken Jin [Sat, 25 Oct 2025 23:56:37 +0000 (00:56 +0100)] 
Change the backoffs to fix nqueens

8 weeks agoup the trace length
Ken Jin [Sat, 25 Oct 2025 22:49:49 +0000 (23:49 +0100)] 
up the trace length

8 weeks agoFix a bug with ENTER_EXECUTOR linking
Ken Jin [Sat, 25 Oct 2025 18:04:29 +0000 (19:04 +0100)] 
Fix a bug with ENTER_EXECUTOR linking

8 weeks agofix
Ken Jin [Sat, 25 Oct 2025 17:47:10 +0000 (18:47 +0100)] 
fix

8 weeks agoSupport underflow and yield value in the optimizer
Ken Jin [Sat, 25 Oct 2025 17:45:33 +0000 (18:45 +0100)] 
Support underflow and yield value in the optimizer

2 months agofix windows builds
Ken Jin [Fri, 24 Oct 2025 19:22:16 +0000 (20:22 +0100)] 
fix windows builds

2 months agoFix the counters
Ken Jin [Fri, 24 Oct 2025 19:20:23 +0000 (20:20 +0100)] 
Fix the counters

2 months agoMove specializing ddetection to specialize inst
Ken Jin [Fri, 24 Oct 2025 19:04:10 +0000 (20:04 +0100)] 
Move specializing ddetection to specialize inst

2 months agomake mypy happy
Ken Jin [Fri, 24 Oct 2025 18:42:15 +0000 (19:42 +0100)] 
make mypy happy

2 months agoRemove TIER2_STORE_IP
Ken Jin [Fri, 24 Oct 2025 18:27:16 +0000 (19:27 +0100)] 
Remove TIER2_STORE_IP

2 months agoEmit RECORD_DYNAMIC_JUMP_TAKEN automatically
Ken Jin [Fri, 24 Oct 2025 18:07:37 +0000 (19:07 +0100)] 
Emit RECORD_DYNAMIC_JUMP_TAKEN automatically

2 months agoFix FT
Ken Jin [Fri, 24 Oct 2025 15:40:00 +0000 (16:40 +0100)] 
Fix FT

2 months agodisable tracing on FT
Ken Jin [Fri, 24 Oct 2025 13:36:38 +0000 (14:36 +0100)] 
disable tracing on FT

2 months agofix test
Ken Jin [Fri, 24 Oct 2025 10:36:32 +0000 (11:36 +0100)] 
fix test

2 months agospecialization and deopt fixes
Ken Jin [Fri, 24 Oct 2025 10:27:20 +0000 (11:27 +0100)] 
specialization and deopt  fixes

2 months agoMerge remote-tracking branch 'upstream/main' into tracing_jit
Ken Jin [Fri, 24 Oct 2025 09:39:59 +0000 (10:39 +0100)] 
Merge remote-tracking branch 'upstream/main' into tracing_jit

2 months agogh-138857: Improve error message for `case` outside of `match` (#138858)
sobolevn [Fri, 24 Oct 2025 09:20:54 +0000 (12:20 +0300)] 
gh-138857: Improve error message for `case` outside of `match` (#138858)

* gh-138857: Improve error message for `case` outside of `match`

---------

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
2 months agofix pystats jit build
Ken Jin [Fri, 24 Oct 2025 08:06:08 +0000 (09:06 +0100)] 
fix pystats jit build

2 months agofix build on non-JIT
Ken Jin [Fri, 24 Oct 2025 08:01:07 +0000 (09:01 +0100)] 
fix build on non-JIT

2 months agogh-133390: sqlite3 CLI completion for tables, columns, indices, triggers, views,...
Tan Long [Fri, 24 Oct 2025 06:26:36 +0000 (14:26 +0800)] 
gh-133390: sqlite3 CLI completion for tables, columns, indices, triggers, views, functions, schemata (GH-136101)

2 months agoregen frozenmain
Ken Jin [Fri, 24 Oct 2025 00:04:12 +0000 (01:04 +0100)] 
regen frozenmain

2 months agofix JIT builds
Ken Jin [Thu, 23 Oct 2025 23:52:17 +0000 (00:52 +0100)] 
fix JIT builds

2 months agofix a tracing bug, ifdef out code
Ken Jin [Thu, 23 Oct 2025 23:49:18 +0000 (00:49 +0100)] 
fix a tracing bug, ifdef out code

2 months agoAddress review of macros
Ken Jin [Thu, 23 Oct 2025 23:26:49 +0000 (00:26 +0100)] 
Address review of macros

2 months agoFix ifdefs
Ken Jin [Thu, 23 Oct 2025 23:20:58 +0000 (00:20 +0100)] 
Fix ifdefs

2 months agoRewrite the tracing JIT to use a common opcode handler
Ken Jin [Thu, 23 Oct 2025 23:13:48 +0000 (00:13 +0100)] 
Rewrite the tracing JIT to use a common opcode handler

2 months agogh-83714: Set os.statx().stx_mode to None if missing from stx_mask (#140484)
Victor Stinner [Thu, 23 Oct 2025 20:35:17 +0000 (22:35 +0200)] 
gh-83714: Set os.statx().stx_mode to None if missing from stx_mask (#140484)

* Set stx_mode to None if STATX_TYPE|STATX_MODE is missing from
  stx_mask.
* Enhance os.statx() tests.
* statx_result structure: remove atime_sec, btime_sec, ctime_sec and
  mtime_sec members. Compute them on demand when stx_atime,
  stx_btime, stx_ctime and stx_mtime are read.
* Doc: fix statx members sorting.

2 months agoadd comment to CI
Ken Jin [Thu, 23 Oct 2025 18:04:16 +0000 (19:04 +0100)] 
add comment to CI

2 months agodebug changes
Ken Jin [Thu, 23 Oct 2025 18:03:20 +0000 (19:03 +0100)] 
debug changes

2 months agogh-140443: Use `fma` in `loghelper` to improve accuracy of log for very large integer...
Abhishek Tiwari [Thu, 23 Oct 2025 17:05:12 +0000 (22:35 +0530)] 
gh-140443: Use `fma` in `loghelper` to improve accuracy of log for very large integers (#140469)

* gh-140443:use fma in loghelper to improve accuracy of log for very large integers

Use fused multiply-add in log_helper() for huge ints.

Saving a rounding here is remarkably effective. Across some millions
of randomized test cases with ints up to a billion bits, on Windows
and using log10, the ULP error distribution was dramatically
flattened, and its range was nearly cut in half. In fact, the largest
error Tim saw was under 0.6 ULP.

---------

Co-authored-by: abhi210 <27881020+Abhi210@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2 months agogh-135125: Fix Py_STACKREF_DEBUG build (GH-139475)
Mikhail Efimov [Thu, 23 Oct 2025 16:00:23 +0000 (19:00 +0300)] 
gh-135125: Fix Py_STACKREF_DEBUG build (GH-139475)

* Use the same pattern of refcounting for stackrefs as in production build

2 months agoGH-135904: JIT compiler: Support 19 bit branch instructions on AArch64 for Mach-O...
Mark Shannon [Thu, 23 Oct 2025 15:45:57 +0000 (16:45 +0100)] 
GH-135904: JIT compiler: Support 19 bit branch instructions on AArch64 for Mach-O. (GH-140453)

* Insert labels into assembly for custom relocation during stencil creation.

2 months agogh-140471: Fix buffer overflow in AST node initialization with malformed `_fields...
Stan Ulbrych [Thu, 23 Oct 2025 15:35:21 +0000 (16:35 +0100)] 
gh-140471: Fix buffer overflow in AST node initialization with malformed `_fields` (#140506)

2 months agogh-140438: properly run the asyncio REPL tests (#140298)
Bartosz Sławecki [Thu, 23 Oct 2025 15:23:23 +0000 (17:23 +0200)] 
gh-140438: properly run the asyncio REPL tests (#140298)

2 months agogh-140431: Fix GC crash due to partially initialized coroutines (gh-140470)
Sam Gross [Thu, 23 Oct 2025 14:18:13 +0000 (10:18 -0400)] 
gh-140431: Fix GC crash due to partially initialized coroutines (gh-140470)

The `make_gen()` function creates and tracks generator/coro objects, but
doesn't fully initialize all the fields. At a minimum, we need to
initialize all the fields that may be accessed by gen_traverse because
the call to `compute_cr_origin()` can trigger a GC.

2 months agogh-138774: use `value` to `ast.unparse` code when `str` is `None` in `ast.Interpolati...
George Ogden [Thu, 23 Oct 2025 13:56:05 +0000 (14:56 +0100)] 
gh-138774: use `value` to `ast.unparse` code when `str` is `None` in `ast.Interpolation` (#139415)

2 months agogh-137627: Make `csv.Sniffer.sniff()` delimiter detection 1.6x faster (#137628)
Maurycy Pawłowski-Wieroński [Thu, 23 Oct 2025 12:28:29 +0000 (14:28 +0200)] 
gh-137627: Make `csv.Sniffer.sniff()` delimiter detection 1.6x faster (#137628)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2 months agogh-140474: Fix memory leak in `array.array` (GH-140478)
Stan Ulbrych [Thu, 23 Oct 2025 09:49:27 +0000 (10:49 +0100)] 
gh-140474: Fix memory leak in `array.array` (GH-140478)

2 months agofix test
Ken Jin [Thu, 23 Oct 2025 01:02:55 +0000 (02:02 +0100)] 
fix test

2 months agoClose loops properly, don't trace into nested loops
Ken Jin [Thu, 23 Oct 2025 00:53:47 +0000 (01:53 +0100)] 
Close loops properly, don't trace into nested loops

2 months agoGH-140472: Create a WASI devcontainer configuration (GH-140473)
Brett Cannon [Wed, 22 Oct 2025 23:11:48 +0000 (16:11 -0700)] 
GH-140472: Create a WASI devcontainer configuration (GH-140473)

2 months agoGH-140475: Support WASI SDK 25 (#140477)
Brett Cannon [Wed, 22 Oct 2025 21:34:37 +0000 (14:34 -0700)] 
GH-140475: Support WASI SDK 25 (#140477)

As well, bump the version of Wasmtime used in CI.

2 months agogh-140253: Improve the syntax error from an ill-positioned double-star subpattern...
Bartosz Sławecki [Wed, 22 Oct 2025 18:29:14 +0000 (20:29 +0200)] 
gh-140253: Improve the syntax error from an ill-positioned double-star subpattern (#140254)

2 months agogh-130317: Fix SNaN broken tests on HP PA RISC (#140452)
Stefano Rivera [Wed, 22 Oct 2025 16:36:12 +0000 (09:36 -0700)] 
gh-130317: Fix SNaN broken tests on HP PA RISC (#140452)

While looking at #140028, I found some unrelated test regressions in the
3.14 cycle. These seem to all come from #130317. From what I can tell,
that made Python more correct than it was before. According to [0], HP PA
RISC uses 1 for SNaN and thus a 0 for QNaN.

[0]: https://grouper.ieee.org/groups/1788/email/msg03272.html

2 months agogh-140448: Default `suggest_on_error` to `True` in `argparse.ArgumentParser` (#140450)
Jakob [Wed, 22 Oct 2025 16:15:26 +0000 (18:15 +0200)] 
gh-140448: Default `suggest_on_error` to `True` in `argparse.ArgumentParser` (#140450)

2 months agogh-116738: Add critical section to dbm/gdbm context manager (gh-140391)
Alper [Wed, 22 Oct 2025 15:16:28 +0000 (08:16 -0700)] 
gh-116738: Add critical section to dbm/gdbm context manager (gh-140391)

2 months agoGH-139193: Fix dump_stack when PYTHON_LLTRACE=4 (GH-139384)
Sergey Miryanov [Wed, 22 Oct 2025 13:14:25 +0000 (18:14 +0500)] 
GH-139193: Fix dump_stack when PYTHON_LLTRACE=4 (GH-139384)

2 months agogh-83714: Only use STATX_MNT_ID & STATX_SUBVOL if they're defined (GH-140446)
Petr Viktorin [Wed, 22 Oct 2025 10:42:51 +0000 (12:42 +0200)] 
gh-83714: Only use STATX_MNT_ID & STATX_SUBVOL if they're defined (GH-140446)

2 months agogh-83714: Use "stx_" prefix for all os.statx_result members (#140432)
Victor Stinner [Wed, 22 Oct 2025 09:48:37 +0000 (11:48 +0200)] 
gh-83714: Use "stx_" prefix for all os.statx_result members (#140432)

Rename stx_birthtime to stx_btime, and rename stx_birthtime_ns to
stx_btime_ns.

2 months agogh-116738: Make _suggestions module thread-safe (gh-140321)
Alper [Wed, 22 Oct 2025 00:14:48 +0000 (17:14 -0700)] 
gh-116738: Make _suggestions module thread-safe (gh-140321)

2 months agogh-55258: Skip tests of stdout status on mobile platforms (#140401)
Russell Keith-Magee [Tue, 21 Oct 2025 23:12:26 +0000 (07:12 +0800)] 
gh-55258: Skip tests of stdout status on mobile platforms (#140401)

Skip tests of stdout status on mobile platforms.

2 months agogh-132835: Add defensive NULL checks to MRO resolution (GH-134763)
Emma Smith [Tue, 21 Oct 2025 21:48:29 +0000 (14:48 -0700)] 
gh-132835: Add defensive NULL checks to MRO resolution (GH-134763)

Currently, there are a few places where tp_mro could theoretically
become NULL, but do not in practice. This commit adds defensive checks for
NULL values to ensure that any changes do not introduce a crash and that
state invariants are upheld.

The assertions added in this commit are all instances where a NULL value would get passed to something not expecting a NULL, so it is better to catch an assertion failure than crash later on.

There are a few cases where it is OK for the return of lookup_tp_mro to be NULL, such as when passed to is_subtype_with_mro, which handles this explicitly.

2 months agoClean up the cases generator
Ken Jin [Tue, 21 Oct 2025 21:36:15 +0000 (22:36 +0100)] 
Clean up the cases generator

2 months agoClean up macros
Ken Jin [Tue, 21 Oct 2025 21:11:44 +0000 (22:11 +0100)] 
Clean up macros

2 months agorestore optimizer code
Ken Jin [Tue, 21 Oct 2025 20:34:48 +0000 (21:34 +0100)] 
restore optimizer code

2 months agoFix naming of things
Ken Jin [Tue, 21 Oct 2025 20:30:07 +0000 (21:30 +0100)] 
Fix naming of things

2 months agoFirst half of reviews
Ken Jin [Tue, 21 Oct 2025 20:21:29 +0000 (21:21 +0100)] 
First half of reviews

2 months agogh-69528: Distinguish between file modes "wb+" and "rb+" (GH-137834)
Stan Ulbrych [Tue, 21 Oct 2025 17:33:30 +0000 (18:33 +0100)] 
gh-69528: Distinguish between file modes "wb+" and "rb+" (GH-137834)

Co-authored-by: Xiang Zhang <angwerzx@126.com>
2 months agogh-83714: Check for struct statx members in configure (#140402)
Jeffrey Bosboom [Tue, 21 Oct 2025 16:13:14 +0000 (09:13 -0700)] 
gh-83714: Check for struct statx members in configure (#140402)

Some systems have the definitions of the mask bits without having the
corresponding members in struct statx.  Add configure checks for members
added after Linux 4.11 (when statx itself was added).

2 months agoUse ``sphinxext-opengraph`` v0.13.0 (GH-140425)
Adam Turner [Tue, 21 Oct 2025 16:02:43 +0000 (17:02 +0100)] 
Use ``sphinxext-opengraph`` v0.13.0 (GH-140425)

2 months agogh-138764: annotationlib: Make `call_annotate_function` fallback to using `VALUE...
David Ellis [Tue, 21 Oct 2025 15:57:43 +0000 (16:57 +0100)] 
gh-138764: annotationlib: Make `call_annotate_function` fallback to using `VALUE` annotations if both the requested format and `VALUE_WITH_FAKE_GLOBALS` are not implemented (#138803)

2 months agogh-140239: Check for statx on Android (#140395)
Jeffrey Bosboom [Tue, 21 Oct 2025 15:54:00 +0000 (08:54 -0700)] 
gh-140239: Check for statx on Android (#140395)

Android has Linux's statx, but MACHDEP is "android" on Android, so
configure doesn't check for statx on Android.  Base the check for statx
on ac_sys_system instead, which is "Linux-android" on Android, "Linux"
on other Linux distributions, and "AIX" on AIX (which has an
incompatible function named statx).

2 months agoGH-139951: Fix major GC performance regression (GH-140262)
Mark Shannon [Tue, 21 Oct 2025 14:22:15 +0000 (15:22 +0100)] 
GH-139951: Fix major GC performance regression (GH-140262)

* Count number of actually tracked objects, instead of trackable objects. This ensures that untracking tuples has the desired effect of reducing GC overhead

* Do not track most untrackable tuples during creation. This prevents large numbers of small tuples causing execessive GCs.

2 months agoGH-139436: Remove references to downloadable PDF documentation (#140416)
Adam Turner [Tue, 21 Oct 2025 12:37:06 +0000 (13:37 +0100)] 
GH-139436: Remove references to downloadable PDF documentation (#140416)

2 months agogh-140406: Fix memory leak upon `__hash__` returning a non-integer (GH-140411)
Peter Bierma [Tue, 21 Oct 2025 12:10:01 +0000 (08:10 -0400)] 
gh-140406: Fix memory leak upon `__hash__` returning a non-integer (GH-140411)

2 months agogh-83714: Fix os.statx() tests on tmpfs: st_birthtime can be None (#140407)
Victor Stinner [Tue, 21 Oct 2025 10:24:49 +0000 (12:24 +0200)] 
gh-83714: Fix os.statx() tests on tmpfs: st_birthtime can be None (#140407)

2 months agogh-133951: Add venv changes to documentation and whatsnew (GH-139704)
Cycloctane [Tue, 21 Oct 2025 08:52:57 +0000 (16:52 +0800)] 
gh-133951: Add venv changes to documentation and whatsnew (GH-139704)

2 months agogh-140398: fix memory leaks in `readline` module when `PySys_Audit` fails (#140400)
Shamil [Tue, 21 Oct 2025 07:54:34 +0000 (10:54 +0300)] 
gh-140398: fix memory leaks in `readline` module when `PySys_Audit` fails (#140400)

2 months agogh-139707: Better `ModuleNotFoundError` message for missing stdlib modules (GH-140219)
Stan Ulbrych [Tue, 21 Oct 2025 07:12:04 +0000 (08:12 +0100)] 
gh-139707: Better `ModuleNotFoundError` message for missing stdlib modules (GH-140219)

2 months agogh-140358: Bring back elapsed time and unreachable count to gc debug output (#140359)
Pål Grønås Drange [Mon, 20 Oct 2025 23:54:44 +0000 (01:54 +0200)] 
gh-140358: Bring back elapsed time and unreachable count to gc debug output (#140359)

2 months agoRevert remedies against trace explosion
Ken Jin [Mon, 20 Oct 2025 23:53:41 +0000 (00:53 +0100)] 
Revert remedies against trace explosion

2 months agoFix a bug with where the executors get inserted during EXTENDED_ARG
Ken Jin [Mon, 20 Oct 2025 23:52:56 +0000 (00:52 +0100)] 
Fix a bug with where the executors get inserted during EXTENDED_ARG

2 months agogh-133601: Remove deprecated `typing.no_type_check_decorator` (#133602)
sobolevn [Mon, 20 Oct 2025 21:10:44 +0000 (00:10 +0300)] 
gh-133601: Remove deprecated `typing.no_type_check_decorator` (#133602)

2 months agolint
Ken Jin [Mon, 20 Oct 2025 20:48:00 +0000 (21:48 +0100)] 
lint

2 months agoremedies against trace explosion
Ken Jin [Mon, 20 Oct 2025 20:45:20 +0000 (21:45 +0100)] 
remedies against trace explosion

2 months ago[Docs] Add missing note about Required/NotRequired/ReadOnly in get_type_hints() ...
Sam Bull [Mon, 20 Oct 2025 20:09:33 +0000 (21:09 +0100)] 
[Docs] Add missing note about Required/NotRequired/ReadOnly in get_type_hints() (#139565)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2 months agogh-138891: fix star-unpack in get_annotations (#138951)
Christoph Walcher [Mon, 20 Oct 2025 19:55:08 +0000 (21:55 +0200)] 
gh-138891: fix star-unpack in get_annotations (#138951)

2 months agogh-133656: Remove unused import and private global in `Lib/zipimport.py` (GH-140325)
yihong [Mon, 20 Oct 2025 19:43:10 +0000 (03:43 +0800)] 
gh-133656: Remove unused import and private global in `Lib/zipimport.py` (GH-140325)

2 months agogh-63161: Fix tokenize.detect_encoding() (GH-139446)
Serhiy Storchaka [Mon, 20 Oct 2025 17:08:47 +0000 (20:08 +0300)] 
gh-63161: Fix tokenize.detect_encoding() (GH-139446)

* Support non-UTF-8 shebang and comments if non-UTF-8 encoding is specified.
* Detect decoding error for non-UTF-8 encoding.
* Detect null bytes in source code.

2 months agomake mypy happy
Ken Jin [Mon, 20 Oct 2025 16:18:43 +0000 (17:18 +0100)] 
make mypy happy

2 months agoSpecialize on deopt when tracing
Ken Jin [Mon, 20 Oct 2025 16:16:25 +0000 (17:16 +0100)] 
Specialize on deopt when tracing

2 months agogh-83714: Set os.statx() members to None if missing from stx_mask (#140216)
Victor Stinner [Mon, 20 Oct 2025 15:59:12 +0000 (17:59 +0200)] 
gh-83714: Set os.statx() members to None if missing from stx_mask (#140216)

2 months agoDocs: replace an esoteric Von Neumann mention (#137598)
Ned Batchelder [Mon, 20 Oct 2025 14:01:20 +0000 (10:01 -0400)] 
Docs: replace an esoteric Von Neumann mention (#137598)

* Docs: replace an esoteric Von Neumann mention

* oops, don't need to edit topics.py

2 months agogh-140263: Fix data race in test_lock_two_threads (gh-140264)
Sam Gross [Mon, 20 Oct 2025 13:58:05 +0000 (09:58 -0400)] 
gh-140263: Fix data race in test_lock_two_threads (gh-140264)

Clang-20 detects a data race between the unlock and the non-atomic
read of the lock state. Use a relaxed load for the assertion to avoid
the race.

2 months agogh-140166: Use `application/texinfo` as sole MIME type for `.texi` and `.texinfo...
Charlie Lin [Mon, 20 Oct 2025 13:14:23 +0000 (09:14 -0400)] 
gh-140166: Use `application/texinfo` as sole MIME type for `.texi` and `.texinfo` files (#140165)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
2 months agogh-76007: Deprecate `__version__` attribute in `imaplib` (#140299)
Hugo van Kemenade [Mon, 20 Oct 2025 12:20:44 +0000 (15:20 +0300)] 
gh-76007: Deprecate `__version__` attribute in `imaplib` (#140299)

Co-authored-by: Victor Stinner <vstinner@python.org>
2 months agogh-66646: Explain __base__ attribute in the docs (GH-102554)
Furkan Onder [Mon, 20 Oct 2025 12:15:30 +0000 (21:15 +0900)] 
gh-66646: Explain __base__ attribute in the docs (GH-102554)

Co-authored-by: Éric <merwok@netwok.org>
2 months agogh-139951: Test on GC collection disabled if threshold is zero (GH-140304)
Mikhail Efimov [Mon, 20 Oct 2025 10:45:07 +0000 (13:45 +0300)] 
gh-139951: Test on GC collection disabled if threshold is zero (GH-140304)

2 months agogh-140301: Fix memory leak in subinterpreter `PyConfig` cleanup (#140303)
Shamil [Mon, 20 Oct 2025 09:29:23 +0000 (12:29 +0300)] 
gh-140301: Fix memory leak in subinterpreter `PyConfig` cleanup (#140303)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2 months agofix typo in comments PyOS_CallInputHook -> PyOS_InputHook (#140237)
mdehoon [Mon, 20 Oct 2025 08:55:57 +0000 (17:55 +0900)] 
fix typo in comments PyOS_CallInputHook -> PyOS_InputHook (#140237)

2 months agoRemove typo in ``functools.lru_cache`` docs (#140278)
Brandon Hubacher [Mon, 20 Oct 2025 08:55:01 +0000 (03:55 -0500)] 
Remove typo in ``functools.lru_cache`` docs (#140278)