[Python-checkins] Additional itertool recipes for running statistics (gh-148879)

2026-04-22 Thread rhettinger
https://github.com/python/cpython/commit/b16886528ee43ad8618e81b833be022710c4a8d2 commit: b16886528ee43ad8618e81b833be022710c4a8d2 branch: main author: Raymond Hettinger committer: rhettinger date: 2026-04-22T11:52:41-05:00 summary: Additional itertool recipes for running statistics (gh-148879)

[Python-checkins] [3.13] gh-148820: Fix _PyRawMutex use-after-free on spurious semaphore wakeup (gh-148852) (#148885)

2026-04-22 Thread colesbury
https://github.com/python/cpython/commit/1b2301c009e4363d90aa3babcfde0b1a8489ae6b commit: 1b2301c009e4363d90aa3babcfde0b1a8489ae6b branch: 3.13 author: Sam Gross committer: colesbury date: 2026-04-22T18:56:24Z summary: [3.13] gh-148820: Fix _PyRawMutex use-after-free on spurious semaphore wakeup

[Python-checkins] gh-148858: Remove duplicated recipe.yaml files in Tools/pixi-packages (#148859)

2026-04-22 Thread hugovk
https://github.com/python/cpython/commit/59b41c8c3ba3251f15e6b58d9793d72499b298c0 commit: 59b41c8c3ba3251f15e6b58d9793d72499b298c0 branch: main author: Isuru Fernando committer: hugovk <[email protected]> date: 2026-04-22T20:50:30+03:00 summary: gh-148858: Remove duplicated

[Python-checkins] gh-148820: Fix _PyRawMutex use-after-free on spurious semaphore wakeup (gh-148852)

2026-04-22 Thread colesbury
https://github.com/python/cpython/commit/ad3c5b7958b890382f431a53349320cb7c84d405 commit: ad3c5b7958b890382f431a53349320cb7c84d405 branch: main author: Sam Gross committer: colesbury date: 2026-04-22T14:31:19-04:00 summary: gh-148820: Fix _PyRawMutex use-after-free on spurious semaphore wakeup

[Python-checkins] gh-146553: Fix infinite loop in typing.get_type_hints() on circular __wrapped__ (#148595)

2026-04-22 Thread JelleZijlstra
https://github.com/python/cpython/commit/be833e658aaf6703b0dd0c0dadb893d72cbe4c77 commit: be833e658aaf6703b0dd0c0dadb893d72cbe4c77 branch: main author: Shamil committer: JelleZijlstra date: 2026-04-22T19:31:58-07:00 summary: gh-146553: Fix infinite loop in typing.get_type_hints() on circular __w

[Python-checkins] gh-145056: Add support for frozendict in dataclass asdict and astuple (#145125)

2026-04-22 Thread JelleZijlstra
https://github.com/python/cpython/commit/8e43f3d1177f22c95f5fc66349a3b748a36470c9 commit: 8e43f3d1177f22c95f5fc66349a3b748a36470c9 branch: main author: Pieter Eendebak committer: JelleZijlstra date: 2026-04-22T19:39:08-07:00 summary: gh-145056: Add support for frozendict in dataclass asdict and

[Python-checkins] gh-145194: Fix typing in re tokenizer example (#145198)

2026-04-22 Thread JelleZijlstra
https://github.com/python/cpython/commit/bd7352d8071dc00531f2c527977602729f2d3ec6 commit: bd7352d8071dc00531f2c527977602729f2d3ec6 branch: main author: Vikash Kumar <[email protected]> committer: JelleZijlstra date: 2026-04-22T19:40:10-07:00 summary: gh-145194: Fi

[Python-checkins] [3.14] gh-145194: Fix typing in re tokenizer example (GH-145198) (#148897)

2026-04-22 Thread JelleZijlstra
https://github.com/python/cpython/commit/3c71d3654e285ec84391b34266d0175e294a222c commit: 3c71d3654e285ec84391b34266d0175e294a222c branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: JelleZijlstra date: 2026-04-23T02:45:46Z summary: [3.14] gh-14

[Python-checkins] gh-142965: Fix Concatenate documentation to reflect valid use cases (#143316)

2026-04-22 Thread JelleZijlstra
https://github.com/python/cpython/commit/75ff1afcb6a1bb2b3d54899e9b222a61798fa491 commit: 75ff1afcb6a1bb2b3d54899e9b222a61798fa491 branch: main author: John Seong <[email protected]> committer: JelleZijlstra date: 2026-04-22T19:46:04-07:00 summary: gh-142965: Fix Concatena

[Python-checkins] [3.13] gh-145194: Fix typing in re tokenizer example (GH-145198) (#148898)

2026-04-22 Thread JelleZijlstra
https://github.com/python/cpython/commit/a52c8cbbf542b5af9ee35a38f607201cb093d593 commit: a52c8cbbf542b5af9ee35a38f607201cb093d593 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: JelleZijlstra date: 2026-04-23T02:46:31Z summary: [3.13] gh-14

[Python-checkins] gh-119180: Document the `format` parameter in `typing.get_type_hints()` (#143758)

2026-04-22 Thread JelleZijlstra
https://github.com/python/cpython/commit/8bf99ae3a9f12d105a70d6fda93e4adeee8f commit: 8bf99ae3a9f12d105a70d6fda93e4adeee8f branch: main author: Victorien <[email protected]> committer: JelleZijlstra date: 2026-04-23T02:50:15Z summary: gh-119180: Document the `format

[Python-checkins] [3.13] gh-146553: Fix infinite loop in typing.get_type_hints() on circular __wrapped__ (GH-148595) (#148896)

2026-04-22 Thread JelleZijlstra
https://github.com/python/cpython/commit/f540bc9d4a2a59bc976d429506818ff5e9ae117e commit: f540bc9d4a2a59bc976d429506818ff5e9ae117e branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: JelleZijlstra date: 2026-04-23T02:55:40Z summary: [3.13] gh-14

[Python-checkins] [3.13] gh-142965: Fix Concatenate documentation to reflect valid use cases (GH-143316) (#148900)

2026-04-22 Thread JelleZijlstra
https://github.com/python/cpython/commit/7dd784e701132d1871bf02e47db44ab3ff2fbd6c commit: 7dd784e701132d1871bf02e47db44ab3ff2fbd6c branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: JelleZijlstra date: 2026-04-22T19:57:40-07:00 summary: [3.13]

[Python-checkins] [3.14] gh-146553: Fix infinite loop in typing.get_type_hints() on circular __wrapped__ (GH-148595) (#148895)

2026-04-22 Thread JelleZijlstra
https://github.com/python/cpython/commit/27cd23470a3c69f3e1e9554721a0c3ff7c5b3449 commit: 27cd23470a3c69f3e1e9554721a0c3ff7c5b3449 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: JelleZijlstra date: 2026-04-23T02:57:38Z summary: [3.14] gh-14

[Python-checkins] [3.14] gh-119180: Document the `format` parameter in `typing.get_type_hints()` (GH-143758) (#148901)

2026-04-22 Thread JelleZijlstra
https://github.com/python/cpython/commit/032b1be5bb88f0988a13b056f1a09253acc0d838 commit: 032b1be5bb88f0988a13b056f1a09253acc0d838 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: JelleZijlstra date: 2026-04-22T19:59:18-07:00 summary: [3.14]

[Python-checkins] [3.14] gh-142965: Fix Concatenate documentation to reflect valid use cases (GH-143316) (#148899)

2026-04-22 Thread JelleZijlstra
https://github.com/python/cpython/commit/0a63bb89717e55bc39e7a574bf29d9cf767c3032 commit: 0a63bb89717e55bc39e7a574bf29d9cf767c3032 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: JelleZijlstra date: 2026-04-22T19:57:54-07:00 summary: [3.14]

[Python-checkins] [3.14] gh-148801: Fix unbound C recursion in `Element.__deepcopy__()` (GH-148802) (#148842)

2026-04-22 Thread StanFromIreland
https://github.com/python/cpython/commit/5f1b710a2883bd5a4af25d055b60c512d568feea commit: 5f1b710a2883bd5a4af25d055b60c512d568feea branch: 3.14 author: Stan Ulbrych committer: StanFromIreland date: 2026-04-22T22:19:25+01:00 summary: [3.14] gh-148801: Fix unbound C recursion in `Element.__deepcop

[Python-checkins] gh-148883: Docs: clarify grammar in Counter dictionary methods note (gh-148882)

2026-04-22 Thread rhettinger
https://github.com/python/cpython/commit/79321fdce3227cf09bb8a2894d856753f1ba098e commit: 79321fdce3227cf09bb8a2894d856753f1ba098e branch: main author: Sanjay Janardhan <[email protected]> committer: rhettinger date: 2026-04-22T17:56:14-05:00 summary: gh-148883: Docs: clarify grammar in

[Python-checkins] gh-148892: Drop mention of deprecated cibuildwheel option (#148893)

2026-04-22 Thread kumaraditya303
https://github.com/python/cpython/commit/3b9397988d1f83740e7d73d17d56767976a583b4 commit: 3b9397988d1f83740e7d73d17d56767976a583b4 branch: main author: Nathan Goldbaum committer: kumaraditya303 date: 2026-04-23T09:30:35+05:30 summary: gh-148892: Drop mention of deprecated cibuildwheel option (#1

[Python-checkins] [3.14] Add a new Sphinx `soft-deprecated` directive (GH-148630) (#148714)

2026-04-22 Thread hugovk
https://github.com/python/cpython/commit/5b33424120430f60dda6fd293f199ecd94811fba commit: 5b33424120430f60dda6fd293f199ecd94811fba branch: 3.14 author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2026-04-23T00:41:40+0

[Python-checkins] [3.14] gh-148892: Drop mention of deprecated cibuildwheel option (GH-148893) (#148903)

2026-04-22 Thread kumaraditya303
https://github.com/python/cpython/commit/dd9a77ff2e24f4c7e5b5af04dd679b856a76ff32 commit: dd9a77ff2e24f4c7e5b5af04dd679b856a76ff32 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 date: 2026-04-23T04:06:39Z summary: [3.14] gh-1

[Python-checkins] Speed up counting in statistics.fmean() (gh-148875)

2026-04-22 Thread rhettinger
https://github.com/python/cpython/commit/fbc7676df6256071682f4179818b74ba29f162cd commit: fbc7676df6256071682f4179818b74ba29f162cd branch: main author: Raymond Hettinger committer: rhettinger date: 2026-04-22T22:06:56-05:00 summary: Speed up counting in statistics.fmean() (gh-148875) files: M L

[Python-checkins] gh-90309: Base64-encode cookie values embedded in JS

2026-04-22 Thread sethmlarson
https://github.com/python/cpython/commit/76b3923d688c0efc580658476c5f525ec8735104 commit: 76b3923d688c0efc580658476c5f525ec8735104 branch: main author: Seth Larson committer: sethmlarson date: 2026-04-22T19:22:31Z summary: gh-90309: Base64-encode cookie values embedded in JS files: A Misc/NEWS.

[Python-checkins] GH-146073: Add example script for dumping JIT traces (GH-148840)

2026-04-22 Thread markshannon
https://github.com/python/cpython/commit/f93834ff01128774532c101c574e47c6c0418540 commit: f93834ff01128774532c101c574e47c6c0418540 branch: main author: Mark Shannon committer: markshannon date: 2026-04-22T11:09:05+01:00 summary: GH-146073: Add example script for dumping JIT traces (GH-148840) f

[Python-checkins] gh-148207: add additional keywords to `typing.TypeVarTuple` (#148212)

2026-04-22 Thread JelleZijlstra
https://github.com/python/cpython/commit/04fd103713a3aa6052a9afbf4b3132d4e318d0ad commit: 04fd103713a3aa6052a9afbf4b3132d4e318d0ad branch: main author: KotlinIsland <[email protected]> committer: JelleZijlstra date: 2026-04-22T06:28:12-07:00 summary: gh-148207: add ad

[Python-checkins] gh-142186: Allow all PEP-669 events to be per-code object and disableable (GH-146182)

2026-04-22 Thread markshannon
https://github.com/python/cpython/commit/858e69eab0949852cc41733e8465250fc80d0b66 commit: 858e69eab0949852cc41733e8465250fc80d0b66 branch: main author: Gabriele N. Tornetta committer: markshannon date: 2026-04-22T09:08:23+01:00 summary: gh-142186: Allow all PEP-669 events to be per-code object a

[Python-checkins] [3.14] gh-148820: Fix _PyRawMutex use-after-free on spurious semaphore wakeup (gh-148852) (#148884)

2026-04-22 Thread colesbury
https://github.com/python/cpython/commit/e5d554168337fc53f4fd5ff0dbeb7c3460ce80db commit: e5d554168337fc53f4fd5ff0dbeb7c3460ce80db branch: 3.14 author: Sam Gross committer: colesbury date: 2026-04-22T18:59:58Z summary: [3.14] gh-148820: Fix _PyRawMutex use-after-free on spurious semaphore wakeup