[Python-checkins] gh-119180: Use equality when comparing against `annotationlib.Format` (#131755)

2025-03-27 Thread JelleZijlstra
https://github.com/python/cpython/commit/af2afd7c224389856e118d3f544c9621a016599f commit: af2afd7c224389856e118d3f544c9621a016599f branch: main author: Victorien <[email protected]> committer: JelleZijlstra date: 2025-03-27T21:56:09-07:00 summary: gh-119180: Use equality wh

[Python-checkins] [3.12] gh-88887: Cleanup `multiprocessing.resource_tracker.ResourceTracker` upon deletion (GH-130429) (#131530)

2025-03-27 Thread vstinner
https://github.com/python/cpython/commit/3d1f8cae48566fba109abd071e26cbcceaf5fce3 commit: 3d1f8cae48566fba109abd071e26cbcceaf5fce3 branch: 3.12 author: luccabb <[email protected]> committer: vstinner date: 2025-03-21T11:15:35+01:00 summary: [3.12] gh-7: Cleanup `multip

[Python-checkins] GH-130296: Remove `_PyOpcode_max_stack_effect` as it is no longer used (GH-131493)

2025-03-27 Thread markshannon
https://github.com/python/cpython/commit/83d54fa8760f54935086bb40a2e721f927e705b9 commit: 83d54fa8760f54935086bb40a2e721f927e705b9 branch: main author: Mark Shannon committer: markshannon date: 2025-03-20T11:42:54Z summary: GH-130296: Remove `_PyOpcode_max_stack_effect` as it is no longer used

[Python-checkins] gh-130587: Add hand-written docs for non-OP tokens (GH-130588)

2025-03-27 Thread encukou
https://github.com/python/cpython/commit/4bced29a74c4dbcf310a47e8202292aaa39b617b commit: 4bced29a74c4dbcf310a47e8202292aaa39b617b branch: main author: Petr Viktorin committer: encukou date: 2025-03-19T16:42:11+01:00 summary: gh-130587: Add hand-written docs for non-OP tokens (GH-130588) Co-au

[Python-checkins] gh-128770: raise warnings as errors in test suite - except for test_socket which still logs warnings, and internal test warnings that are now logged (#128973)

2025-03-27 Thread hugovk
https://github.com/python/cpython/commit/8a00c9a4d2ce9d373b13f8f0a2265a65f4523293 commit: 8a00c9a4d2ce9d373b13f8f0a2265a65f4523293 branch: main author: Thomas Grainger committer: hugovk <[email protected]> date: 2025-03-27T21:06:52+02:00 summary: gh-128770: raise warnings as

[Python-checkins] GH-130415: Remove redundant sym_matches_type calls in the JIT optimizer (GH-131778)

2025-03-27 Thread brandtbucher
https://github.com/python/cpython/commit/972a295fe34280aa3d16c573d6200025a1ce4ff0 commit: 972a295fe34280aa3d16c573d6200025a1ce4ff0 branch: main author: Brandt Bucher committer: brandtbucher date: 2025-03-27T09:12:30-07:00 summary: GH-130415: Remove redundant sym_matches_type calls in the JIT opt

[Python-checkins] gh-128438: Use `EnvironmentVarGuard` for `datetimetester.py` to manage environment varibales (#130002)

2025-03-27 Thread Eclips4
https://github.com/python/cpython/commit/a096a41b922ac90bfd7bf23852cf0a32a4f54faf commit: a096a41b922ac90bfd7bf23852cf0a32a4f54faf branch: main author: Wulian233 <[email protected]> committer: Eclips4 date: 2025-03-27T18:07:09+02:00 summary: gh-128438: Use `EnvironmentVarGuard` for `datetimeteste

[Python-checkins] gh-131178: Add tests for `tokenize` command-line interface (#131274)

2025-03-27 Thread hugovk
https://github.com/python/cpython/commit/9b83670f0f183a69440972765cae5942a0bd9fd7 commit: 9b83670f0f183a69440972765cae5942a0bd9fd7 branch: main author: Semyon Moroz committer: hugovk <[email protected]> date: 2025-03-27T18:04:16+02:00 summary: gh-131178: Add tests for `token

[Python-checkins] gh-118761: Always lazy import `re` in `locale` (#129860)

2025-03-27 Thread hugovk
https://github.com/python/cpython/commit/cf5e438c0297954c4411c1c3ae4ba67a48b134ea commit: cf5e438c0297954c4411c1c3ae4ba67a48b134ea branch: main author: Semyon Moroz committer: hugovk <[email protected]> date: 2025-03-27T15:47:08+02:00 summary: gh-118761: Always lazy import `

[Python-checkins] [3.12] Fix typo in importlib.metadata.rst (gh-131596) (#131631)

2025-03-27 Thread hugovk
https://github.com/python/cpython/commit/b2dbc4f3a76d1a30da61294414d3e65ea36a9ce9 commit: b2dbc4f3a76d1a30da61294414d3e65ea36a9ce9 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-03-2

[Python-checkins] [3.13] Fix typo in importlib.metadata.rst (gh-131596) (#131630)

2025-03-27 Thread hugovk
https://github.com/python/cpython/commit/9118cf77aefab1915e749a971484f7131ee8d8ac commit: 9118cf77aefab1915e749a971484f7131ee8d8ac branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-03-2

[Python-checkins] gh-126835: Move constant tuple folding from ast_opt to CFG (#130769)

2025-03-27 Thread iritkatriel
https://github.com/python/cpython/commit/75103d975c33ab46f6eb64169eabfe68d806d7c5 commit: 75103d975c33ab46f6eb64169eabfe68d806d7c5 branch: main author: Yan Yanchii committer: iritkatriel <[email protected]> date: 2025-03-19T20:59:55Z summary: gh-126835: Move constant tu

[Python-checkins] [3.13] gh-131712: Build _suggestions extension on Windows (GH-131759) (#131790)

2025-03-27 Thread vstinner
https://github.com/python/cpython/commit/5c0be8ced6fcdb4372eb946ce816c4f689f2917b commit: 5c0be8ced6fcdb4372eb946ce816c4f689f2917b branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-03-27T09:19:46Z summary: [3.13] gh-131712:

[Python-checkins] gh-111178: Skip undefined behavior checks in _PyPegen_lookahead() (#131714)

2025-03-27 Thread vstinner
https://github.com/python/cpython/commit/37968845284501a536a96b9fdafab83d43dd9b9d commit: 37968845284501a536a96b9fdafab83d43dd9b9d branch: main author: Victor Stinner committer: vstinner date: 2025-03-27T10:03:58+01:00 summary: gh-78: Skip undefined behavior checks in _PyPegen_lookahead() (#

[Python-checkins] gh-131712: Build _suggestions extension on Windows (#131759)

2025-03-27 Thread vstinner
https://github.com/python/cpython/commit/9ef9d687ff7cfc4bbf422ba61db04207b7f343d2 commit: 9ef9d687ff7cfc4bbf422ba61db04207b7f343d2 branch: main author: Victor Stinner committer: vstinner date: 2025-03-27T09:53:39+01:00 summary: gh-131712: Build _suggestions extension on Windows (#131759) Add a

[Python-checkins] GH-131729: Consider in-memory state when merging storage and stack (GH-131773)

2025-03-27 Thread markshannon
https://github.com/python/cpython/commit/d836d287a7bd1392f6d011888a7469854b0f4325 commit: d836d287a7bd1392f6d011888a7469854b0f4325 branch: main author: Mark Shannon committer: markshannon date: 2025-03-27T08:32:45Z summary: GH-131729: Consider in-memory state when merging storage and stack (GH-1

[Python-checkins] Revise `pycore_stackref.h` comments. (#130601)

2025-03-27 Thread kumaraditya303
https://github.com/python/cpython/commit/316938bddf1d321234debecc4561d8f5cd6403a0 commit: 316938bddf1d321234debecc4561d8f5cd6403a0 branch: main author: Neil Schemenauer committer: kumaraditya303 date: 2025-03-27T14:00:25+05:30 summary: Revise `pycore_stackref.h` comments. (#130601) files: M Inc