[Python-checkins] gh-131531: Android test fixes (#136845)

2025-07-21 Thread freakboy3742
https://github.com/python/cpython/commit/149bddcc216a398d71ec9497e9bf3ec03d6f2914 commit: 149bddcc216a398d71ec9497e9bf3ec03d6f2914 branch: main author: Malcolm Smith committer: freakboy3742 date: 2025-07-22T14:51:16+08:00 summary: gh-131531: Android test fixes (#136845) Modifies the test runner

[Python-checkins] [3.14] gh-135228: When @dataclass(slots=True) replaces a dataclass, make the original class collectible (GH-136893) (#136960)

2025-07-21 Thread JelleZijlstra
https://github.com/python/cpython/commit/6e1b31b87e7a42c7911b517b78fc418217e6480c commit: 6e1b31b87e7a42c7911b517b78fc418217e6480c branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: JelleZijlstra date: 2025-07-22T05:08:15Z summary: [3.14] gh-13

[Python-checkins] gh-135228: When @dataclass(slots=True) replaces a dataclass, make the original class collectible (#136893)

2025-07-21 Thread JelleZijlstra
https://github.com/python/cpython/commit/46cbdf967ada11b0286060488b61635fd6a2bb23 commit: 46cbdf967ada11b0286060488b61635fd6a2bb23 branch: main author: Jelle Zijlstra committer: JelleZijlstra date: 2025-07-21T21:43:34-07:00 summary: gh-135228: When @dataclass(slots=True) replaces a dataclass, ma

[Python-checkins] [3.14] gh-136170: Revert adding `ZipFile.data_offset` (GH-136950) (#136955)

2025-07-21 Thread gpshead
https://github.com/python/cpython/commit/caef946a25aac557f13cb66fbc70f06225546e67 commit: caef946a25aac557f13cb66fbc70f06225546e67 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: gpshead <[email protected]> date: 2025-07-2

[Python-checkins] [3.14] gh-133600: Move config.site-wasm32-emscripten into the emscripten folder (GH-136934) (#136956)

2025-07-21 Thread freakboy3742
https://github.com/python/cpython/commit/4af1b72b31117896fd09c89063d136b51da76dbb commit: 4af1b72b31117896fd09c89063d136b51da76dbb branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: freakboy3742 date: 2025-07-22T00:22:57Z summary: [3.14] gh-133

[Python-checkins] gh-133600: Move config.site-wasm32-emscripten into the emscripten folder (#136934)

2025-07-21 Thread freakboy3742
https://github.com/python/cpython/commit/bbe589f93ccaf32eb95fd9d1f8f3dc9a536e8db1 commit: bbe589f93ccaf32eb95fd9d1f8f3dc9a536e8db1 branch: main author: Hood Chatham committer: freakboy3742 date: 2025-07-22T07:58:31+08:00 summary: gh-133600: Move config.site-wasm32-emscripten into the emscripten

[Python-checkins] [3.14] gh-136421: Load `_datetime` static types during interpreter initialization (GH-136583) (GH-136943)

2025-07-21 Thread ZeroIntensity
https://github.com/python/cpython/commit/ecd97caaf5923764d22f6bd29339b8416c0c1917 commit: ecd97caaf5923764d22f6bd29339b8416c0c1917 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: ZeroIntensity date: 2025-07-21T19:23:05-04:00 summary: [3.14]

[Python-checkins] gh-136170: Revert adding `ZipFile.data_offset` (GH-136950)

2025-07-21 Thread gpshead
https://github.com/python/cpython/commit/6bf1c0ab3497b1b193812654bcdfd0c11b4192d8 commit: 6bf1c0ab3497b1b193812654bcdfd0c11b4192d8 branch: main author: Emma Smith committer: gpshead <[email protected]> date: 2025-07-21T23:16:30Z summary: gh-136170: Revert adding `ZipFile.data

[Python-checkins] gh-133296: Publicly expose critical section API that accepts PyMutex (gh-135899)

2025-07-21 Thread colesbury
https://github.com/python/cpython/commit/89c220b93c06059f623e2d232bd54f49be1be22d commit: 89c220b93c06059f623e2d232bd54f49be1be22d branch: main author: Nathan Goldbaum committer: colesbury date: 2025-07-21T17:25:43-04:00 summary: gh-133296: Publicly expose critical section API that accepts PyMut

[Python-checkins] [3.14] gh-136870: fix data race in `PyThreadState_Clear` on `sys_tracing_threads` (GH-136951) (#136953)

2025-07-21 Thread kumaraditya303
https://github.com/python/cpython/commit/718fc5b1393d9ce52fc0353fb361818e865e3e45 commit: 718fc5b1393d9ce52fc0353fb361818e865e3e45 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 date: 2025-07-21T21:01:14Z summary: [3.14] gh-1

[Python-checkins] gh-136870: fix data race in `PyThreadState_Clear` on `sys_tracing_threads` (#136951)

2025-07-21 Thread kumaraditya303
https://github.com/python/cpython/commit/f183996eb77fd2d5662c62667298c292c943ebf5 commit: f183996eb77fd2d5662c62667298c292c943ebf5 branch: main author: Kumar Aditya committer: kumaraditya303 date: 2025-07-21T20:35:25Z summary: gh-136870: fix data race in `PyThreadState_Clear` on `sys_tracing_thr

[Python-checkins] [3.14] gh-135661: Fix parsing attributes with whitespaces around the "=" separator in HTMLParser (GH-136908) (#136927)

2025-07-21 Thread ambv
https://github.com/python/cpython/commit/893707c53852150e65068fcf80ac5469bde0c0ee commit: 893707c53852150e65068fcf80ac5469bde0c0ee branch: 3.14 author: Serhiy Storchaka committer: ambv date: 2025-07-21T20:34:24+02:00 summary: [3.14] gh-135661: Fix parsing attributes with whitespaces around the "

[Python-checkins] [3.14] gh-136437: Document `os.path.dirname` as accepting only pos-only (GH-136946) (#136947)

2025-07-21 Thread sobolevn
https://github.com/python/cpython/commit/fa9a369044860d720387573eea5f709658146211 commit: fa9a369044860d720387573eea5f709658146211 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2025-07-21T18:29:22Z summary: [3.14] gh-136437:

[Python-checkins] [3.13] gh-136437: Document `os.path.dirname` as accepting only pos-only (GH-136946) (#136948)

2025-07-21 Thread sobolevn
https://github.com/python/cpython/commit/2d0fac49d5268a8804f3a7581ed650e3b79e0fb9 commit: 2d0fac49d5268a8804f3a7581ed650e3b79e0fb9 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2025-07-21T18:28:55Z summary: [3.13] gh-136437:

[Python-checkins] gh-136437: Document `os.path.dirname` as accepting only pos-only (#136946)

2025-07-21 Thread sobolevn
https://github.com/python/cpython/commit/322442945084ea9055f86a17fa5096b11ba5b344 commit: 322442945084ea9055f86a17fa5096b11ba5b344 branch: main author: sobolevn committer: sobolevn date: 2025-07-21T18:22:58Z summary: gh-136437: Document `os.path.dirname` as accepting only pos-only (#136946) fil

[Python-checkins] gh-136437: Document some `os.path` functions as requiring pos-only (#136812)

2025-07-21 Thread sobolevn
https://github.com/python/cpython/commit/b5428bb0e786f5b67c6077472c0068cadd0b5ea9 commit: b5428bb0e786f5b67c6077472c0068cadd0b5ea9 branch: main author: sobolevn committer: sobolevn date: 2025-07-21T21:01:43+03:00 summary: gh-136437: Document some `os.path` functions as requiring pos-only (#13681

[Python-checkins] [3.14] GH-136874: `url2pathname()`: discard query and fragment components (GH-136875) (#136942)

2025-07-21 Thread barneygale
https://github.com/python/cpython/commit/81edfb7140074bac3407c175664281e7aaad046a commit: 81edfb7140074bac3407c175664281e7aaad046a branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2025-07-21T19:08:07+01:00 summary: [3.14] GH-

[Python-checkins] [3.13] gh-136437: Document some `os.path` functions as requiring pos-only (GH-136812) (#136945)

2025-07-21 Thread sobolevn
https://github.com/python/cpython/commit/133c233d23df4416888546baeb606a6df49b2192 commit: 133c233d23df4416888546baeb606a6df49b2192 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2025-07-21T18:07:56Z summary: [3.13] gh-136437:

[Python-checkins] [3.14] gh-136437: Document some `os.path` functions as requiring pos-only (GH-136812) (#136944)

2025-07-21 Thread sobolevn
https://github.com/python/cpython/commit/aa17c393397fe582f22d3c449b2dff84ba881537 commit: aa17c393397fe582f22d3c449b2dff84ba881537 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2025-07-21T18:07:56Z summary: [3.14] gh-136437:

[Python-checkins] gh-136421: Load `_datetime` static types during interpreter initialization (GH-136583)

2025-07-21 Thread ZeroIntensity
https://github.com/python/cpython/commit/a10960699a2b3e4e62896331c4f9cfd162ebf440 commit: a10960699a2b3e4e62896331c4f9cfd162ebf440 branch: main author: Peter Bierma committer: ZeroIntensity date: 2025-07-21T13:47:26-04:00 summary: gh-136421: Load `_datetime` static types during interpreter initi

[Python-checkins] GH-136874: `url2pathname()`: discard query and fragment components (#136875)

2025-07-21 Thread barneygale
https://github.com/python/cpython/commit/80b2d60a51cfd824d025eb8b3ec500acce5c010c commit: 80b2d60a51cfd824d025eb8b3ec500acce5c010c branch: main author: Barney Gale committer: barneygale date: 2025-07-21T17:33:20Z summary: GH-136874: `url2pathname()`: discard query and fragment components (#13687

[Python-checkins] [3.13] Pedantic rewording of why relative importing doesn't work in main modules (GH-136846) (#136941)

2025-07-21 Thread gpshead
https://github.com/python/cpython/commit/de1c5e4f56bd347d0bb447b9d5a038bdff2d8729 commit: de1c5e4f56bd347d0bb447b9d5a038bdff2d8729 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: gpshead <[email protected]> date: 2025-07-2

[Python-checkins] [3.14] Pedantic rewording of why relative importing doesn't work in main modules (GH-136846) (#136940)

2025-07-21 Thread gpshead
https://github.com/python/cpython/commit/f86a59549b4b819d1eb825e5b87c9230d8b5822b commit: f86a59549b4b819d1eb825e5b87c9230d8b5822b branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: gpshead <[email protected]> date: 2025-07-2

[Python-checkins] Pedantic rewording of why relative importing doesn't work in main modules (GH-136846)

2025-07-21 Thread gpshead
https://github.com/python/cpython/commit/4b68289ca6954b8d135e2ee2344e67fae38239fd commit: 4b68289ca6954b8d135e2ee2344e67fae38239fd branch: main author: Josh Cannon committer: gpshead <[email protected]> date: 2025-07-21T09:30:17-07:00 summary: Pedantic rewording of why relati

[Python-checkins] gh-116738: Make syslog module thread-safe (#136760)

2025-07-21 Thread mpage
https://github.com/python/cpython/commit/65893c6f9c69562526d24fe8265119feeea54cbf commit: 65893c6f9c69562526d24fe8265119feeea54cbf branch: main author: Alper committer: mpage date: 2025-07-21T09:24:42-07:00 summary: gh-116738: Make syslog module thread-safe (#136760) Make the setlogmask() funct

[Python-checkins] [3.14] gh-135621: Simplify TermInfo (GH-136916) (#136925)

2025-07-21 Thread ambv
https://github.com/python/cpython/commit/11378e1c859d5601bb08a43ec1c8902bf2428c90 commit: 11378e1c859d5601bb08a43ec1c8902bf2428c90 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: ambv date: 2025-07-21T18:04:13+02:00 summary: [3.14] gh-135621

[Python-checkins] gh-136859: Improve `StrEnum` docs (GH-136864)

2025-07-21 Thread ethanfurman
https://github.com/python/cpython/commit/5f9e38f9b9f2b82e841f1b11a8300f2cacd76a36 commit: 5f9e38f9b9f2b82e841f1b11a8300f2cacd76a36 branch: main author: Nacho Caballero committer: ethanfurman date: 2025-07-21T08:18:40-07:00 summary: gh-136859: Improve `StrEnum` docs (GH-136864) Co-authored-by: N

[Python-checkins] [3.13] gh-135148: Correctly handle f/t strings with comments and debug expressions (#135198) (#136899)

2025-07-21 Thread lysnikolaou
https://github.com/python/cpython/commit/c1085a0a93ee505bf470ab2f47dd274f0a42b543 commit: c1085a0a93ee505bf470ab2f47dd274f0a42b543 branch: 3.13 author: Lysandros Nikolaou committer: lysnikolaou date: 2025-07-21T16:54:29+02:00 summary: [3.13] gh-135148: Correctly handle f/t strings with comments

[Python-checkins] [3.14] gh-121028: Soft-deprecate sys.api_version (GH-136463) (GH-136928)

2025-07-21 Thread encukou
https://github.com/python/cpython/commit/0d87bb66d3c2fc6331c3b1f9d649ebc9bb385c5a commit: 0d87bb66d3c2fc6331c3b1f9d649ebc9bb385c5a branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: encukou date: 2025-07-21T12:29:51Z summary: [3.14] gh-121028:

[Python-checkins] gh-136438: Make sure `test_generated_cases` pass with all optimization levels (#136594)

2025-07-21 Thread Eclips4
https://github.com/python/cpython/commit/58d305cf387816c559602a95ba850856dc9b8129 commit: 58d305cf387816c559602a95ba850856dc9b8129 branch: main author: Mikhail Efimov committer: Eclips4 date: 2025-07-21T15:25:25+03:00 summary: gh-136438: Make sure `test_generated_cases` pass with all optimizatio

[Python-checkins] gh-121028: Soft-deprecate sys.api_version (GH-136463)

2025-07-21 Thread encukou
https://github.com/python/cpython/commit/658599c15d13ee3a5cb56c3d9fccaa195465d4b5 commit: 658599c15d13ee3a5cb56c3d9fccaa195465d4b5 branch: main author: Petr Viktorin committer: encukou date: 2025-07-21T14:22:48+02:00 summary: gh-121028: Soft-deprecate sys.api_version (GH-136463) files: M Doc/li

[Python-checkins] gh-135621: Simplify TermInfo (GH-136916)

2025-07-21 Thread ambv
https://github.com/python/cpython/commit/28153fec58a255a001c39235376a326ccb367188 commit: 28153fec58a255a001c39235376a326ccb367188 branch: main author: Petr Viktorin committer: ambv date: 2025-07-21T13:06:42+02:00 summary: gh-135621: Simplify TermInfo (GH-136916) files: M Lib/_pyrepl/terminfo.p

[Python-checkins] [3.14] gh-135621: Remove dependency on curses from PyREPL (GH-136758) (GH-136915)

2025-07-21 Thread ambv
https://github.com/python/cpython/commit/031645a88427d8c8df70ae96519b4d2d0ae550f7 commit: 031645a88427d8c8df70ae96519b4d2d0ae550f7 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: ambv date: 2025-07-21T13:02:41+02:00 summary: [3.14] gh-135621

[Python-checkins] gh-135661: Fix parsing attributes with whitespaces around the "=" separator in HTMLParser (GH-136908)

2025-07-21 Thread ambv
https://github.com/python/cpython/commit/dee650189497735edbc08a54edabb5b06ef1bd09 commit: dee650189497735edbc08a54edabb5b06ef1bd09 branch: main author: Serhiy Storchaka committer: ambv date: 2025-07-21T12:07:15+02:00 summary: gh-135661: Fix parsing attributes with whitespaces around the "=" sepa

[Python-checkins] [3.14] gh-136852: Emscripten: Add PYTHON_NODE_VERSION environment variable (GH-136853) (GH-136907)

2025-07-21 Thread ambv
https://github.com/python/cpython/commit/4f6f3ee8d3710fef102071c53919a9af7a28613b commit: 4f6f3ee8d3710fef102071c53919a9af7a28613b branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: ambv date: 2025-07-21T11:58:57+02:00 summary: [3.14] gh-136852

[Python-checkins] gh-135621: Remove dependency on curses from PyREPL (GH-136758)

2025-07-21 Thread ambv
https://github.com/python/cpython/commit/09dfb50f1b7c23bc48d86bd579671761bb8ca48b commit: 09dfb50f1b7c23bc48d86bd579671761bb8ca48b branch: main author: Łukasz Langa committer: ambv date: 2025-07-21T11:57:34+02:00 summary: gh-135621: Remove dependency on curses from PyREPL (GH-136758) files: A L

[Python-checkins] gh-136251: Improvements to WASM demo REPL (GH-136252)

2025-07-21 Thread ambv
https://github.com/python/cpython/commit/d1d526afe7ce62c787b150652a2ba136cb949d74 commit: d1d526afe7ce62c787b150652a2ba136cb949d74 branch: main author: adam j hartz committer: ambv date: 2025-07-21T11:56:45+02:00 summary: gh-136251: Improvements to WASM demo REPL (GH-136252) Co-authored-by: Hoo

[Python-checkins] [3.14] gh-134411: assert `PyLong_FromLong(x) != NULL` when `x` is known to be small (GH-134415) (#136910)

2025-07-21 Thread sobolevn
https://github.com/python/cpython/commit/a69472e242e768545d734cf336bdbbff6f749f3f commit: a69472e242e768545d734cf336bdbbff6f749f3f branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2025-07-21T09:23:33Z summary: [3.14] gh-134411:

[Python-checkins] [3.13] gh-134411: assert `PyLong_FromLong(x) != NULL` when `x` is known to be small (GH-134415) (#136911)

2025-07-21 Thread sobolevn
https://github.com/python/cpython/commit/f2f30c494782509f39b98a26f08369032f498723 commit: f2f30c494782509f39b98a26f08369032f498723 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2025-07-21T09:21:30Z summary: [3.13] gh-134411:

[Python-checkins] gh-136852: Emscripten: Fix bug in #136853 (#136909)

2025-07-21 Thread ambv
https://github.com/python/cpython/commit/9c7b2af73dee2b99793637c3b70f724641b84349 commit: 9c7b2af73dee2b99793637c3b70f724641b84349 branch: main author: Hood Chatham committer: ambv date: 2025-07-21T11:17:36+02:00 summary: gh-136852: Emscripten: Fix bug in #136853 (#136909) We need to get rid of

[Python-checkins] [3.14] gh-136882: Update stale link in the basic logging tutorial. (GH-136885) (#136905)

2025-07-21 Thread hugovk
https://github.com/python/cpython/commit/163f532530efd2c910fa4ee3897ed06b47eeb3b5 commit: 163f532530efd2c910fa4ee3897ed06b47eeb3b5 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-07-2

[Python-checkins] [3.13] gh-136882: Update stale link in the basic logging tutorial. (GH-136885) (#136906)

2025-07-21 Thread hugovk
https://github.com/python/cpython/commit/3ee46ccb6a11015cd864f4032d5f30774fb859e1 commit: 3ee46ccb6a11015cd864f4032d5f30774fb859e1 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-07-2

[Python-checkins] gh-134411: assert `PyLong_FromLong(x) != NULL` when `x` is known to be small (#134415)

2025-07-21 Thread sobolevn
https://github.com/python/cpython/commit/cf19b6435d02dd7be11b84a44f4a8a9f1a935b15 commit: cf19b6435d02dd7be11b84a44f4a8a9f1a935b15 branch: main author: Sergey Muraviov committer: sobolevn date: 2025-07-21T11:59:06+03:00 summary: gh-134411: assert `PyLong_FromLong(x) != NULL` when `x` is known to

[Python-checkins] gh-136882: Update stale link in the basic logging tutorial. (#136885)

2025-07-21 Thread hugovk
https://github.com/python/cpython/commit/1e672935b44e084439527507a865b94a4c1315c3 commit: 1e672935b44e084439527507a865b94a4c1315c3 branch: main author: Vinay Sajip committer: hugovk <[email protected]> date: 2025-07-21T10:29:12+02:00 summary: gh-136882: Update stale link in

[Python-checkins] gh-136428: amend UUIDv8 performance improvements (#136903)

2025-07-21 Thread picnixz
https://github.com/python/cpython/commit/5798348a0739ccf46f690f5fa1443080ec5de310 commit: 5798348a0739ccf46f690f5fa1443080ec5de310 branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-07-21T08:23:16Z