[Python-checkins] gh-132261: Store annotations at hidden internal keys in the class dict (#132345)

2025-04-10 Thread JelleZijlstra
https://github.com/python/cpython/commit/07b8d3117fdbc4e5be55aab0be428c278ec84e12 commit: 07b8d3117fdbc4e5be55aab0be428c278ec84e12 branch: main author: Jelle Zijlstra committer: JelleZijlstra date: 2025-04-10T21:13:26-07:00 summary: gh-132261: Store annotations at hidden internal keys in the cla

[Python-checkins] [3.13] GH-127953: Make line number lookup O(1) regardless of the size of the code object (#129127)

2025-04-10 Thread Yhg1s
https://github.com/python/cpython/commit/3f3863281bb3cd40efc2f1c4bed901457b8cd170 commit: 3f3863281bb3cd40efc2f1c4bed901457b8cd170 branch: 3.13 author: Mark Shannon committer: Yhg1s date: 2025-04-07T20:15:02+02:00 summary: [3.13] GH-127953: Make line number lookup O(1) regardless of the size of

[Python-checkins] GH-131296: Suppress "unused label" warning for clang-cl closer to actual occurrence (GH-131900)

2025-04-10 Thread zooba
https://github.com/python/cpython/commit/e5f68fd29b3bd867207f23608a8dbc5759a056ed commit: e5f68fd29b3bd867207f23608a8dbc5759a056ed branch: main author: Chris Eibl <[email protected]> committer: zooba date: 2025-04-10T23:17:33+01:00 summary: GH-131296: Suppress "unused

[Python-checkins] gh-130843: add UUIDv7 timestamp recipes (#132154)

2025-04-10 Thread picnixz
https://github.com/python/cpython/commit/fd1b98dd1df14c8e4138d779166635c98926197b commit: fd1b98dd1df14c8e4138d779166635c98926197b branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-04-07T17:21:56+

[Python-checkins] gh-131912: Use different grouping options for the integral and fractional parts (#132170)

2025-04-10 Thread picnixz
https://github.com/python/cpython/commit/316974382af3c683909634bbf58ec17211c5bcd5 commit: 316974382af3c683909634bbf58ec17211c5bcd5 branch: main author: Prometheus3375 <[email protected]> committer: picnixz <[email protected]> date: 2025-04-07T1

[Python-checkins] gh-132213: use relaxed atomics for set hash (#132215)

2025-04-10 Thread kumaraditya303
https://github.com/python/cpython/commit/ed99e28d5b5613f7c13691fd854195719d7bff1f commit: ed99e28d5b5613f7c13691fd854195719d7bff1f branch: main author: Kumar Aditya committer: kumaraditya303 date: 2025-04-07T21:59:24+05:30 summary: gh-132213: use relaxed atomics for set hash (#132215) files: M

[Python-checkins] update comment about LLVM bug relevant for `--with-tail-call-interp` performance (#132297)

2025-04-10 Thread Fidget-Spinner
https://github.com/python/cpython/commit/67ded6a4faae29edff8e4f7886978e71ce116e33 commit: 67ded6a4faae29edff8e4f7886978e71ce116e33 branch: main author: h-vetinari committer: Fidget-Spinner date: 2025-04-09T22:50:38+08:00 summary: update comment about LLVM bug relevant for `--with-tail-call-inter

[Python-checkins] [3.13] GH-130673: Gracefully handle missing sections in JIT build (GH-131749)

2025-04-10 Thread brandtbucher
https://github.com/python/cpython/commit/bde72839d76d0b52f0f1753920cc88f723df340a commit: bde72839d76d0b52f0f1753920cc88f723df340a branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: brandtbucher date: 2025-04-07T19:16:23-07:00 summary: [3.13] G

[Python-checkins] [3.12] gh-116608: undeprecate functional importlib.resources API (#132206)

2025-04-10 Thread Yhg1s
https://github.com/python/cpython/commit/3fc57f86b12ad9ccd2cd6aa1303f185314246d60 commit: 3fc57f86b12ad9ccd2cd6aa1303f185314246d60 branch: 3.12 author: Thomas Grainger committer: Yhg1s date: 2025-04-08T10:36:29+02:00 summary: [3.12] gh-116608: undeprecate functional importlib.resources API (#132

[Python-checkins] gh-84481: Make ZipFile.data_offset more robust (#132178)

2025-04-10 Thread hugovk
https://github.com/python/cpython/commit/6cd1d6c6b142697fb72f422b7b448c27ebc30534 commit: 6cd1d6c6b142697fb72f422b7b448c27ebc30534 branch: main author: Emma Smith committer: hugovk <[email protected]> date: 2025-04-08T10:43:14+03:00 summary: gh-84481: Make ZipFile.data_offse

[Python-checkins] gh-130775: Allow negative locations in `ast` (#130795)

2025-04-10 Thread sobolevn
https://github.com/python/cpython/commit/bc5233b6a5cdd8f77a4737ce317f94110869c082 commit: bc5233b6a5cdd8f77a4737ce317f94110869c082 branch: main author: sobolevn committer: sobolevn date: 2025-04-07T19:35:17+03:00 summary: gh-130775: Allow negative locations in `ast` (#130795) Co-authored-by: Vi

[Python-checkins] [3.13] gh-115684: Clarify datetime `replace` documentation (GH-116519) (#131676)

2025-04-10 Thread Yhg1s
https://github.com/python/cpython/commit/7e9c5772a88f9d39632d173de5fdbb223ca7923b commit: 7e9c5772a88f9d39632d173de5fdbb223ca7923b branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: Yhg1s date: 2025-04-08T10:45:21+02:00 summary: [3.13] gh-11568

[Python-checkins] [3.13] gh-131912: Improve description of grouping options in the format specification docs (GH-132030) (#132123)

2025-04-10 Thread picnixz
https://github.com/python/cpython/commit/07483c2c80ef2c8db5392cbe3fede68abd3e8c7a commit: 07483c2c80ef2c8db5392cbe3fede68abd3e8c7a branch: 3.13 author: Prometheus3375 <[email protected]> committer: picnixz <[email protected]> date: 2025-04-07T0

[Python-checkins] GH-123599: `url2pathname()`: handle authority section in file URL (#126844)

2025-04-10 Thread barneygale
https://github.com/python/cpython/commit/66cdb2bd8ab93a4691bead7f5d1e54e5ca6895b4 commit: 66cdb2bd8ab93a4691bead7f5d1e54e5ca6895b4 branch: main author: Barney Gale committer: barneygale date: 2025-04-10T19:58:04Z summary: GH-123599: `url2pathname()`: handle authority section in file URL (#126844

[Python-checkins] [3.13] Docs HTML: Remove self-closing tags (GH-132220) (#132228)

2025-04-10 Thread AA-Turner
https://github.com/python/cpython/commit/bf5471f4de35dcf4fea76a340b3b8e4fc5d793ab commit: bf5471f4de35dcf4fea76a340b3b8e4fc5d793ab branch: 3.13 author: Hugo van Kemenade <[email protected]> committer: AA-Turner <[email protected]> date: 2025-04-07T22:0

[Python-checkins] gh-131336: fix thread safety for ctypes functions (#132232)

2025-04-10 Thread kumaraditya303
https://github.com/python/cpython/commit/d47584aae6fab1b767e2d2ea6611b9c0c3ff36e2 commit: d47584aae6fab1b767e2d2ea6611b9c0c3ff36e2 branch: main author: Kumar Aditya committer: kumaraditya303 date: 2025-04-09T18:18:40Z summary: gh-131336: fix thread safety for ctypes functions (#132232) files:

[Python-checkins] gh-131809: Upgrade vendored expat to 2.7.1 (#132192)

2025-04-10 Thread hugovk
https://github.com/python/cpython/commit/c0de6500249469e6fc5b458d6afb6bad1b6755cd commit: c0de6500249469e6fc5b458d6afb6bad1b6755cd branch: main author: Gregory P. Smith committer: hugovk <[email protected]> date: 2025-04-07T23:42:00+03:00 summary: gh-131809: Upgrade vendored

[Python-checkins] gh-118761: Cover the import time optimisations in What's New (#132035)

2025-04-10 Thread hugovk
https://github.com/python/cpython/commit/f0dcb29d3affbbe1ec25b922235f0556bd695067 commit: f0dcb29d3affbbe1ec25b922235f0556bd695067 branch: main author: Adam Turner <[email protected]> committer: hugovk <[email protected]> date: 2025-04-07T17:27:54Z sum

[Python-checkins] [3.12] Docs HTML: Remove self-closing tags (GH-132220) (#132229)

2025-04-10 Thread AA-Turner
https://github.com/python/cpython/commit/6c9ece3e039e8d0bf46c7b881950f084fcca731b commit: 6c9ece3e039e8d0bf46c7b881950f084fcca731b branch: 3.12 author: Hugo van Kemenade <[email protected]> committer: AA-Turner <[email protected]> date: 2025-04-07T22:0

[Python-checkins] Fix a typo in Python/pylifecycle.c (#132350)

2025-04-10 Thread kumaraditya303
https://github.com/python/cpython/commit/3d83c1ec610ef7c45ce39f9165bc9a06a8c9667c commit: 3d83c1ec610ef7c45ce39f9165bc9a06a8c9667c branch: main author: Chu committer: kumaraditya303 date: 2025-04-10T17:27:37+05:30 summary: Fix a typo in Python/pylifecycle.c (#132350) files: M Python/pylifecycle

[Python-checkins] gh-118761: Optimise import time for ``string`` (#132037)

2025-04-10 Thread AA-Turner
https://github.com/python/cpython/commit/ee3657209b1464d66c89640e4db0dccdeec5b45c commit: ee3657209b1464d66c89640e4db0dccdeec5b45c branch: main author: Adam Turner <[email protected]> committer: AA-Turner <[email protected]> date: 2025-04-08T10:05:4

[Python-checkins] gh-106670: Fix a typo in doc of pdb's exceptions command (#132277)

2025-04-10 Thread gaogaotiantian
https://github.com/python/cpython/commit/efd8aca62c214dde6115822a659403fb05340680 commit: efd8aca62c214dde6115822a659403fb05340680 branch: main author: Tian Gao committer: gaogaotiantian date: 2025-04-08T12:19:16-04:00 summary: gh-106670: Fix a typo in doc of pdb's exceptions command (#132277)

[Python-checkins] Add psfhosted Plausible instance to analytics (#132252)

2025-04-10 Thread hugovk
https://github.com/python/cpython/commit/40844164b1d1d0f072990ff94202c348771676d6 commit: 40844164b1d1d0f072990ff94202c348771676d6 branch: main author: Ee Durbin committer: hugovk <[email protected]> date: 2025-04-08T10:37:42+03:00 summary: Add psfhosted Plausible instance t

[Python-checkins] gh-132316: Require `socket` and `GITHUB_TOKEN` env to use `GitHubArtifactDatabase` (#132348)

2025-04-10 Thread sobolevn
https://github.com/python/cpython/commit/fcf2d07228ada64bc864380cd8e3e304d9768caa commit: fcf2d07228ada64bc864380cd8e3e304d9768caa branch: main author: sobolevn committer: sobolevn date: 2025-04-10T14:30:58+03:00 summary: gh-132316: Require `socket` and `GITHUB_TOKEN` env to use `GitHubArtifact

[Python-checkins] gh-106482: Clarify documentation of character set in RE (#106517)

2025-04-10 Thread hugovk
https://github.com/python/cpython/commit/1557da622c89985d14b781bef91e9aaa6e1f88c4 commit: 1557da622c89985d14b781bef91e9aaa6e1f88c4 branch: main author: Serhiy Storchaka committer: hugovk <[email protected]> date: 2025-04-10T16:41:41+03:00 summary: gh-106482: Clarify document

[Python-checkins] gh-132307: Remove unnecessary check in `asyncio/base_events.py` (#132324)

2025-04-10 Thread kumaraditya303
https://github.com/python/cpython/commit/a214db0c5406254d293f33622ce2cbd8233b52a5 commit: a214db0c5406254d293f33622ce2cbd8233b52a5 branch: main author: Stan Ulbrych <[email protected]> committer: kumaraditya303 date: 2025-04-10T15:41:32Z summary: gh-132307: Remove

[Python-checkins] [3.13] gh-132316: Require `socket` and `GITHUB_TOKEN` env to use `GitHubArtifactDatabase` (GH-132348) (#132367)

2025-04-10 Thread sobolevn
https://github.com/python/cpython/commit/2b61f6ac3960606a09d9ebeeeb82a9c74583d1b7 commit: 2b61f6ac3960606a09d9ebeeeb82a9c74583d1b7 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2025-04-10T15:15:58Z summary: [3.13] gh-132316:

[Python-checkins] [3.13] gh-106482: Clarify documentation of character set in RE (GH-106517) (#132365)

2025-04-10 Thread hugovk
https://github.com/python/cpython/commit/c1744902c7c8cf7d68949db19a6e3e49dee4296c commit: c1744902c7c8cf7d68949db19a6e3e49dee4296c branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-04-1

[Python-checkins] [3.13] CI: set correct working directory for Hypothesis cache (GH-119345) (#132364)

2025-04-10 Thread sobolevn
https://github.com/python/cpython/commit/ce921075e82cb265470b8ce9fef9ff9f75685b86 commit: ce921075e82cb265470b8ce9fef9ff9f75685b86 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2025-04-10T14:01:51Z summary: [3.13] CI: set co

[Python-checkins] gh-72631: Fix wrong documentation for GzipFile.peek (#29820)

2025-04-10 Thread hugovk
https://github.com/python/cpython/commit/65357032e80f8750dd102c82a8adc54de067fc38 commit: 65357032e80f8750dd102c82a8adc54de067fc38 branch: main author: 180909 committer: hugovk <[email protected]> date: 2025-04-10T14:21:32+03:00 summary: gh-72631: Fix wrong documentation for

[Python-checkins] [3.13] gh-130320: gettext: Test fallback translations (GH-130321) (GH-132359)

2025-04-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/6c8d527937218dc0029a67d1e901045aad5d6859 commit: 6c8d527937218dc0029a67d1e901045aad5d6859 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-04-10T12:20:36Z summary: [3.13] gh

[Python-checkins] Fix example code in curses tutorial (#126446)

2025-04-10 Thread hugovk
https://github.com/python/cpython/commit/5fbe23ee4ec636b78ca26ce0a8b7d83dff77a2ce commit: 5fbe23ee4ec636b78ca26ce0a8b7d83dff77a2ce branch: main author: Jiayu Yi committer: hugovk <[email protected]> date: 2025-04-10T15:06:38+03:00 summary: Fix example code in curses tutorial

[Python-checkins] [3.13] Fix example code in curses tutorial (GH-126446) (#132362)

2025-04-10 Thread hugovk
https://github.com/python/cpython/commit/fc85256f89e3c7e99c145e34bd6fc9d9b6f326d1 commit: fc85256f89e3c7e99c145e34bd6fc9d9b6f326d1 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-04-1

[Python-checkins] [3.13] Docs: Add a missing trailing full stop (GH-130561) (#132358)

2025-04-10 Thread hugovk
https://github.com/python/cpython/commit/8e017f2f4801a4884d05926b494f40be2f552e9e commit: 8e017f2f4801a4884d05926b494f40be2f552e9e branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-04-1

[Python-checkins] gh-130320: gettext: Test fallback translations (GH-130321)

2025-04-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/4d58c8cb247b585051bfbacd79f77aafd18986b7 commit: 4d58c8cb247b585051bfbacd79f77aafd18986b7 branch: main author: Tomas R. committer: serhiy-storchaka date: 2025-04-10T14:56:21+03:00 summary: gh-130320: gettext: Test fallback translations (GH-130321) files:

[Python-checkins] Docs: Add a missing trailing full stop (#130561)

2025-04-10 Thread hugovk
https://github.com/python/cpython/commit/4a88bbacb38934a7f6c6ba7a7976cbf877dbae21 commit: 4a88bbacb38934a7f6c6ba7a7976cbf877dbae21 branch: main author: Liam DeVoe committer: hugovk <[email protected]> date: 2025-04-10T14:51:20+03:00 summary: Docs: Add a missing trailing full

[Python-checkins] [3.13] gh-72631: Fix wrong documentation for GzipFile.peek (GH-29820) (#132353)

2025-04-10 Thread hugovk
https://github.com/python/cpython/commit/b328e4bc5765158da7494455036f891de5f1eddc commit: b328e4bc5765158da7494455036f891de5f1eddc branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-04-1

[Python-checkins] gh-130453: pygettext: Allow specifying multiple keywords with the same function name (GH-131380)

2025-04-10 Thread serhiy-storchaka
https://github.com/python/cpython/commit/b6760b7fa5727d3c1f56dcc84e25c6b0efdc80a4 commit: b6760b7fa5727d3c1f56dcc84e25c6b0efdc80a4 branch: main author: Tomas R. committer: serhiy-storchaka date: 2025-04-10T11:06:40Z summary: gh-130453: pygettext: Allow specifying multiple keywords with the same

[Python-checkins] gh-132336: Mark a few "slow path" functions used by the interpreter loop as noinline (#132337)

2025-04-10 Thread Yhg1s
https://github.com/python/cpython/commit/619edb802e10741eff8eeab7dd279406bcd4b39c commit: 619edb802e10741eff8eeab7dd279406bcd4b39c branch: main author: mpage committer: Yhg1s date: 2025-04-10T10:41:15+02:00 summary: gh-132336: Mark a few "slow path" functions used by the interpreter loop as noi