[Python-checkins] gh-146287: Fix signed/unsigned mismatch in _hashlib_hmac_digest_size (GH-148407)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/d761f539bdae6090817438ae65c0be8a10c9e4e3 commit: d761f539bdae6090817438ae65c0be8a10c9e4e3 branch: main author: Gregory P. Smith <[email protected]> committer: gpshead <[email protected]> date: 2026-04-12T00:02:56Z su

[Python-checkins] tests: use errno.EBADF instead of hardcoded number in _close_file() (GH-148345)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/cef334fd4c4c24a542ce81ad940b1426b5a7cdbd commit: cef334fd4c4c24a542ce81ad940b1426b5a7cdbd branch: main author: Artem Yarulin committer: gpshead <[email protected]> date: 2026-04-11T17:01:18-07:00 summary: tests: use errno.EBADF instead

[Python-checkins] gh-127012: `Traversable.read_text` now allows/solicits an `errors` parameter. (#148401)

2026-04-11 Thread jaraco
https://github.com/python/cpython/commit/daa2578dc04cce99545e72acc8431929519c04fc commit: daa2578dc04cce99545e72acc8431929519c04fc branch: main author: Jason R. Coombs committer: jaraco date: 2026-04-11T22:25:20Z summary: gh-127012: `Traversable.read_text` now allows/solicits an `errors` paramet

[Python-checkins] gh-145244: Fix use-after-free on borrowed dict key in json encoder (GH-145245)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/8a466fa3d90a9e1f04d23c05ee2cf3f3c406ba30 commit: 8a466fa3d90a9e1f04d23c05ee2cf3f3c406ba30 branch: main author: Ramin Farajpour Cami committer: gpshead <[email protected]> date: 2026-04-11T22:26:36Z summary: gh-145244: Fix use-after-fre

[Python-checkins] [3.14] gh-145105: Fix crash in csv.reader with re-entrant iterator (GH-145106) (#148404)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/4f8a77bf3fa8d0c10ddd50a8dda4ad89e8d2434e commit: 4f8a77bf3fa8d0c10ddd50a8dda4ad89e8d2434e branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: gpshead <[email protected]> date: 2026-04-1

[Python-checkins] [3.13] gh-145105: Fix crash in csv.reader with re-entrant iterator (GH-145106) (#148405)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/8e369d364518d668898f2142f8daf402e2cd3ddc commit: 8e369d364518d668898f2142f8daf402e2cd3ddc branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: gpshead <[email protected]> date: 2026-04-1

[Python-checkins] GH-148047: Check early whether tail-calling is possible for MSVC builds on Windows (#148036)

2026-04-11 Thread itamaro
https://github.com/python/cpython/commit/cbd81d59cfea4f7b881642e804646da3a328a712 commit: cbd81d59cfea4f7b881642e804646da3a328a712 branch: main author: Chris Eibl <[email protected]> committer: itamaro date: 2026-04-12T08:49:18+03:00 summary: GH-148047: Check early whe

[Python-checkins] [3.12] Default GHA permissions to `contents: read` (GH-148346) (#148388)

2026-04-11 Thread hugovk
https://github.com/python/cpython/commit/82b53a619eda570120d7f17351b25c813a61325d commit: 82b53a619eda570120d7f17351b25c813a61325d branch: 3.12 author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2026-04-12T09:38:15+0

[Python-checkins] gh-146313: Fix multiprocessing ResourceTracker deadlock after os.fork() (GH-146316)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/3a7df632c96eb6c5de12fac08d1da42df9e25334 commit: 3a7df632c96eb6c5de12fac08d1da42df9e25334 branch: main author: Gregory P. Smith <[email protected]> committer: gpshead <[email protected]> date: 2026-04-11T23:06:19-07:

[Python-checkins] [3.11] Default GHA permissions to `contents: read` (GH-148346) (#148389)

2026-04-11 Thread hugovk
https://github.com/python/cpython/commit/776d39f2be6310ebd5c9093286f9cee8e8ec6c14 commit: 776d39f2be6310ebd5c9093286f9cee8e8ec6c14 branch: 3.11 author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2026-04-12T09:38:51+0

[Python-checkins] [3.10] Default GHA permissions to `contents: read` (GH-148346) (#148391)

2026-04-11 Thread hugovk
https://github.com/python/cpython/commit/80f0bc1834a815c9cae2d9005be6030fb896e459 commit: 80f0bc1834a815c9cae2d9005be6030fb896e459 branch: 3.10 author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2026-04-12T09:39:03+0

[Python-checkins] gh-100305: Deemphasize that `ast.literal_eval` is safe in `eval` documentation (#100326)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/b3b0cef0c2aacdc616fa48674552ab1e34553835 commit: b3b0cef0c2aacdc616fa48674552ab1e34553835 branch: main author: Ram Vikram Singh committer: gpshead <[email protected]> date: 2026-04-12T03:07:42Z summary: gh-100305: Deemphasize that `ast

[Python-checkins] gh-146264: Use static HACL deps for static module builds (GH-146265)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/f445d2e8666c5585d613add075cabe2abc7f972b commit: f445d2e8666c5585d613add075cabe2abc7f972b branch: main author: Ihar Hrachyshka committer: gpshead <[email protected]> date: 2026-04-11T14:31:10-07:00 summary: gh-146264: Use static HACL d

[Python-checkins] gh-148211: decompose `[_POP_TWO/_INSERT_2]_LOAD_CONST_INLINE_BORROW` in JIT (GH-148357)

2026-04-11 Thread Fidget-Spinner
https://github.com/python/cpython/commit/72006a71b22dff7c2fdd57a6ab66a0327ccfc881 commit: 72006a71b22dff7c2fdd57a6ab66a0327ccfc881 branch: main author: Neko Asakura committer: Fidget-Spinner date: 2026-04-11T18:27:51+08:00 summary: gh-148211: decompose `[_POP_TWO/_INSERT_2]_LOAD_CONST_INLINE_BOR

[Python-checkins] gh-148171: Convert `CALL_BUILTIN_CLASS` to leave arguments on the stack (gh-148381)

2026-04-11 Thread corona10
https://github.com/python/cpython/commit/a71b043356bd214c07eaa801d463ab2c06cf666a commit: a71b043356bd214c07eaa801d463ab2c06cf666a branch: main author: Donghee Na committer: corona10 date: 2026-04-11T23:01:25+09:00 summary: gh-148171: Convert `CALL_BUILTIN_CLASS` to leave arguments on the stack

[Python-checkins] gh-148374: Fix a bug in `_Py_uop_sym_get_type` (GH-148375)

2026-04-11 Thread Fidget-Spinner
https://github.com/python/cpython/commit/83f33dccf2bb855a2428efde57fd49beb36906b4 commit: 83f33dccf2bb855a2428efde57fd49beb36906b4 branch: main author: Sacul <[email protected]> committer: Fidget-Spinner date: 2026-04-11T23:03:13+08:00 summary: gh-148374: Fix a bug in `

[Python-checkins] gh-131798: Add `_IS_NONE` to the JIT optimizer (GH-148369)

2026-04-11 Thread Fidget-Spinner
https://github.com/python/cpython/commit/a059e85866adb8ccd98d216b78428eb37fa70509 commit: a059e85866adb8ccd98d216b78428eb37fa70509 branch: main author: Wulian233 <[email protected]> committer: Fidget-Spinner date: 2026-04-11T23:02:46+08:00 summary: gh-131798: Add `_IS_NONE` to the JIT optimizer (

[Python-checkins] gh-148320: document that `import sys.monitoring` raises `ModuleNotFoundError` (#148365)

2026-04-11 Thread picnixz
https://github.com/python/cpython/commit/d7c9f1877cbd733d6c0fda395a9fcf78171f51b0 commit: d7c9f1877cbd733d6c0fda395a9fcf78171f51b0 branch: main author: Jonathan Dung committer: picnixz <[email protected]> date: 2026-04-11T17:22:48+02:00 summary: gh-148320: document that `i

[Python-checkins] [3.14] gh-148320: document that `import sys.monitoring` raises `ModuleNotFoundError` (GH-148365) (#148385)

2026-04-11 Thread picnixz
https://github.com/python/cpython/commit/620fb74384a1ddda9156c07d7e5e22453db48fda commit: 620fb74384a1ddda9156c07d7e5e22453db48fda branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: picnixz <[email protected]> date: 2026-0

[Python-checkins] Default GHA permissions to `contents: read` (#148346)

2026-04-11 Thread hugovk
https://github.com/python/cpython/commit/9c9df8ac8cbb8f539b3f342d01e40b7a0a57dcbf commit: 9c9df8ac8cbb8f539b3f342d01e40b7a0a57dcbf branch: main author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2026-04-11T18:37:12+0

[Python-checkins] gh-131798: do not watch immutable types in JIT (#148383)

2026-04-11 Thread kumaraditya303
https://github.com/python/cpython/commit/ba1e1c192b1ec661d67db66d10c6f059440d352d commit: ba1e1c192b1ec661d67db66d10c6f059440d352d branch: main author: Kumar Aditya committer: kumaraditya303 date: 2026-04-11T15:43:53Z summary: gh-131798: do not watch immutable types in JIT (#148383) files: M Py

[Python-checkins] [3.14] gh-142518: add thread safety docs for dict and set APIs (#148392)

2026-04-11 Thread kumaraditya303
https://github.com/python/cpython/commit/6112e2dd444883ecfbc5e91a7b03ae07607a935a commit: 6112e2dd444883ecfbc5e91a7b03ae07607a935a branch: 3.14 author: Kumar Aditya committer: kumaraditya303 date: 2026-04-11T21:52:38+05:30 summary: [3.14] gh-142518: add thread safety docs for dict and set APIs (

[Python-checkins] gh-148211: decompose `_POP_TWO/_POP_CALL(_ONE/_TWO)` in JIT (GH-148377)

2026-04-11 Thread Fidget-Spinner
https://github.com/python/cpython/commit/9831dea3bf2f283e8482274347bc456849787a23 commit: 9831dea3bf2f283e8482274347bc456849787a23 branch: main author: Neko Asakura committer: Fidget-Spinner date: 2026-04-11T20:46:56+08:00 summary: gh-148211: decompose `_POP_TWO/_POP_CALL(_ONE/_TWO)` in JIT (GH-

[Python-checkins] gh-148276: Optimize object creation and method calls in the JIT by resolving __init__ at trace optimization time (GH-148277)

2026-04-11 Thread Fidget-Spinner
https://github.com/python/cpython/commit/1c89817f51d74f6f26cbfde785b8c04236ae40c1 commit: 1c89817f51d74f6f26cbfde785b8c04236ae40c1 branch: main author: Pieter Eendebak committer: Fidget-Spinner date: 2026-04-11T22:22:42+08:00 summary: gh-148276: Optimize object creation and method calls in the J

[Python-checkins] Fix format string mismatch for `uint64_t` in `_remote_debugging/threads.c` (#148360)

2026-04-11 Thread StanFromIreland
https://github.com/python/cpython/commit/639f218f9c16af19e77e677c9329cada3d037ee0 commit: 639f218f9c16af19e77e677c9329cada3d037ee0 branch: main author: Stan Ulbrych committer: StanFromIreland date: 2026-04-11T09:10:02+01:00 summary: Fix format string mismatch for `uint64_t` in `_remote_debugging

[Python-checkins] [3.14] gh-146264: Use static HACL deps for static module builds (GH-146265) (#148403)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/d6be9fb07731efaaf70027b38cfc752caa0b91d2 commit: d6be9fb07731efaaf70027b38cfc752caa0b91d2 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: gpshead <[email protected]> date: 2026-04-1

[Python-checkins] gh-94523: IDLE: Detect file if modified and prompt the user to refresh (GH-145625)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/6e2272d0b199d1ab992fffac5fc8e356d7342aec commit: 6e2272d0b199d1ab992fffac5fc8e356d7342aec branch: main author: Shixian Li committer: gpshead <[email protected]> date: 2026-04-11T14:36:59-07:00 summary: gh-94523: IDLE: Detect file if mo

[Python-checkins] gh-146302: make Py_IsInitialized() thread-safe and reflect true init completion (GH-146303)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/64afa947f454b0295dd08de1029da8c1d882a99f commit: 64afa947f454b0295dd08de1029da8c1d882a99f branch: main author: Gregory P. Smith <[email protected]> committer: gpshead <[email protected]> date: 2026-04-11T21:54:23Z su

[Python-checkins] gh-145200: Fix EVP_MAC_CTX leak in hashlib HMAC on init failure (GH-145201)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/c29d75610b40d2052dc7a5394b416305adf61281 commit: c29d75610b40d2052dc7a5394b416305adf61281 branch: main author: Ramin Farajpour Cami committer: gpshead <[email protected]> date: 2026-04-11T15:10:43-07:00 summary: gh-145200: Fix EVP_MAC_

[Python-checkins] gh-145105: Fix crash in csv.reader with re-entrant iterator (GH-145106)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/20994b1809f9c162e4cae01a5af08bd492ede9f9 commit: 20994b1809f9c162e4cae01a5af08bd492ede9f9 branch: main author: Ramin Farajpour Cami committer: gpshead <[email protected]> date: 2026-04-11T15:18:02-07:00 summary: gh-145105: Fix crash in

[Python-checkins] gh-137855: Improve import time of dataclasses by lazy importing `re` and `copy` modules (#148379)

2026-04-11 Thread hugovk
https://github.com/python/cpython/commit/dd2735d177d3d1d1287354443d80cd981012445b commit: dd2735d177d3d1d1287354443d80cd981012445b branch: main author: Daniel Hollas committer: hugovk <[email protected]> date: 2026-04-11T21:05:24Z summary: gh-137855: Improve import time of d

[Python-checkins] [3.14] gh-146333: Fix quadratic regex backtracking in configparser option parsing (GH-146399) (#148287)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/af2f5189a12888afa4e93243653c331e9fffddb5 commit: af2f5189a12888afa4e93243653c331e9fffddb5 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: gpshead <[email protected]> date: 2026-04-1

[Python-checkins] [3.14] Default GHA permissions to `contents: read` (GH-148346) (#148386)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/838c6028287c9078b798489681c35c23adccf203 commit: 838c6028287c9078b798489681c35c23adccf203 branch: 3.14 author: Hugo van Kemenade <[email protected]> committer: gpshead <[email protected]> date: 2026-04-11T17:06:34-0

[Python-checkins] [3.13] Default GHA permissions to `contents: read` (GH-148346) (#148387)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/fdc7f7e742113e8ad4a267c44d852154d4b15c95 commit: fdc7f7e742113e8ad4a267c44d852154d4b15c95 branch: 3.13 author: Hugo van Kemenade <[email protected]> committer: gpshead <[email protected]> date: 2026-04-11T17:06:41-0

[Python-checkins] [3.13] gh-148337: Document `importlib.resources` security model (GH-148340) (#148355)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/2f30fcf6748ae3baace466a1052787ba2e54fe65 commit: 2f30fcf6748ae3baace466a1052787ba2e54fe65 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: gpshead <[email protected]> date: 2026-04-1

[Python-checkins] [3.14] gh-148337: Document `importlib.resources` security model (GH-148340) (#148356)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/47b916e213db940fccad0d10457afffd7d0e60c5 commit: 47b916e213db940fccad0d10457afffd7d0e60c5 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: gpshead <[email protected]> date: 2026-04-1

[Python-checkins] gh-142831: Fix use-after-free in json encoder during re-entrant mutation (gh-142851)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/235fa7244a0474c492ae98ee444529c7ba2a9047 commit: 235fa7244a0474c492ae98ee444529c7ba2a9047 branch: main author: Shamil committer: gpshead <[email protected]> date: 2026-04-12T00:14:50Z summary: gh-142831: Fix use-after-free in json enco

[Python-checkins] gh-89520: Load extension settings and keybindings from user config (GH-28713)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/208195dff4cd19dfd4aeb0eed8a133f2b1a66ec1 commit: 208195dff4cd19dfd4aeb0eed8a133f2b1a66ec1 branch: main author: CoolCat467 <[email protected]> committer: gpshead <[email protected]> date: 2026-04-12T04:44:33Z su

[Python-checkins] gh-148208: Fix recursion depth leak in `PyObject_Print` (GH-148209)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/e2fa10e04d3fed4c248881d69411fc208d05ad6b commit: e2fa10e04d3fed4c248881d69411fc208d05ad6b branch: main author: Wulian233 <[email protected]> committer: gpshead <[email protected]> date: 2026-04-11T17:26:18-07:00 summary: gh-148208: Fix

[Python-checkins] gh-97032: avoid test_squeezer crash on macOS buildbots (gh-115508) (GH-148141)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/b216d7b0be725bcf0d25f3d5dade0fb06f59c71a commit: b216d7b0be725bcf0d25f3d5dade0fb06f59c71a branch: main author: Neil Schemenauer committer: gpshead <[email protected]> date: 2026-04-11T17:43:04-07:00 summary: gh-97032: avoid test_squeez

[Python-checkins] gh-147965: Add shutdown() to multiprocessing.Queue excluded methods (GH-147970)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/22290ed011a8ac4060390e57f53053ab932fb3f3 commit: 22290ed011a8ac4060390e57f53053ab932fb3f3 branch: main author: WYSIATI committer: gpshead <[email protected]> date: 2026-04-11T17:46:06-07:00 summary: gh-147965: Add shutdown() to multipr

[Python-checkins] gh-116738: Align bz2 unused_data getter to lzma implementation (GH-144351)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/afbe1373ac9ac96149936211b2df71c2b6f97a4b commit: afbe1373ac9ac96149936211b2df71c2b6f97a4b branch: main author: Alper committer: gpshead <[email protected]> date: 2026-04-11T14:13:51-07:00 summary: gh-116738: Align bz2 unused_data gette

[Python-checkins] [3.14] gh-148208: Fix recursion depth leak in `PyObject_Print` (GH-148209) (#148412)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/a9d122fb0547ee0f97cd3034fbd8bb5ca1e5800b commit: a9d122fb0547ee0f97cd3034fbd8bb5ca1e5800b branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: gpshead <[email protected]> date: 2026-04-1

[Python-checkins] [3.14] gh-147965: Add shutdown() to multiprocessing.Queue excluded methods (GH-147970) (#148416)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/a4f9bbf5b8277897fa2c52e4ccc60b03656a1b96 commit: a4f9bbf5b8277897fa2c52e4ccc60b03656a1b96 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: gpshead <[email protected]> date: 2026-04-1

[Python-checkins] [3.13] gh-147965: Add shutdown() to multiprocessing.Queue excluded methods (GH-147970) (#148417)

2026-04-11 Thread gpshead
https://github.com/python/cpython/commit/4830d291e7480b197dbafdca36deaa0939984103 commit: 4830d291e7480b197dbafdca36deaa0939984103 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: gpshead <[email protected]> date: 2026-04-1