[Python-checkins] [3.13] Use subTest() in math.fma() tests (GH-131125) (#131132)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/d23a0f2d8698ec5f4351e66df314b1bd2f73ec65 commit: d23a0f2d8698ec5f4351e66df314b1bd2f73ec65 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-03-12T06:47:01Z summary: [3.13] Use subTes

[Python-checkins] gh-111178: Fix function signatures in rangeobject.c (#131101)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/48cca72a7ffb9e8ff26a98ad429c72a78b2558b1 commit: 48cca72a7ffb9e8ff26a98ad429c72a78b2558b1 branch: main author: Victor Stinner committer: vstinner date: 2025-03-12T07:29:20+01:00 summary: gh-78: Fix function signatures in rangeobject.c (#131101) files

[Python-checkins] GH-127705: Check for immortality in refcount accounting (#131072)

2025-03-11 Thread markshannon
https://github.com/python/cpython/commit/6e5b9f3d00658ce07909d78d1a796e95ad5dba1a commit: 6e5b9f3d00658ce07909d78d1a796e95ad5dba1a branch: main author: Mark Shannon committer: markshannon date: 2025-03-11T11:53:07Z summary: GH-127705: Check for immortality in refcount accounting (#131072) Check

[Python-checkins] GH-127705: Use `_PyStackRef`s in the default build. (GH-127875)

2025-03-11 Thread markshannon
https://github.com/python/cpython/commit/2bef8ea8ea045d20394f0daec7a5c5b1046a4e22 commit: 2bef8ea8ea045d20394f0daec7a5c5b1046a4e22 branch: main author: Mark Shannon committer: markshannon date: 2025-03-10T14:06:56Z summary: GH-127705: Use `_PyStackRef`s in the default build. (GH-127875) files:

[Python-checkins] gh-131020: py.exe launcher does not correctly detect a BOM when searching for the shebang (GH-131021)

2025-03-11 Thread zooba
https://github.com/python/cpython/commit/36ef3bfe39d767e283b55fe86f34e7671b7f5d1c commit: 36ef3bfe39d767e283b55fe86f34e7671b7f5d1c branch: main author: Chris Eibl <[email protected]> committer: zooba date: 2025-03-10T17:59:23Z summary: gh-131020: py.exe launcher does n

[Python-checkins] gh-128364: Fix flaky `test_concurrent_futures.test_wait` tests (gh-130742)

2025-03-11 Thread colesbury
https://github.com/python/cpython/commit/c4d37eefb7b33f10f776183447af44faf8efa7f6 commit: c4d37eefb7b33f10f776183447af44faf8efa7f6 branch: main author: Sam Gross committer: colesbury date: 2025-03-06T12:30:58-05:00 summary: gh-128364: Fix flaky `test_concurrent_futures.test_wait` tests (gh-13074

[Python-checkins] [3.13] gh-117174: Fix reference leak and gdb tests (GH-131095) (#131120)

2025-03-11 Thread pablogsal
https://github.com/python/cpython/commit/0980e2e370ae4c5ec470b6137cf3c27cc2245684 commit: 0980e2e370ae4c5ec470b6137cf3c27cc2245684 branch: 3.13 author: Pablo Galindo Salgado committer: pablogsal date: 2025-03-11T23:43:07Z summary: [3.13] gh-117174: Fix reference leak and gdb tests (GH-131095) (#

[Python-checkins] [3.13] gh-131113: Fix data race in dict.popitem() (gh-131115) (#131119)

2025-03-11 Thread colesbury
https://github.com/python/cpython/commit/9e0fce413a908ce679b30e26ec1c7dfcc38c32d9 commit: 9e0fce413a908ce679b30e26ec1c7dfcc38c32d9 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: colesbury date: 2025-03-11T23:39:29Z summary: [3.13] gh-131113

[Python-checkins] gh-117174: Fix reference leak and gdb tests (#131095)

2025-03-11 Thread pablogsal
https://github.com/python/cpython/commit/ebc24d54bcf554403e9bf4b590d5c1f49e648e0d commit: ebc24d54bcf554403e9bf4b590d5c1f49e648e0d branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2025-03-11T23:17:58Z summary: gh-117174: Fix reference leak and gdb tests (#131095) files: M L

[Python-checkins] gh-131113: Fix data race in dict.popitem() (gh-131115)

2025-03-11 Thread colesbury
https://github.com/python/cpython/commit/c00ac578241b3213ceb79c1f32bc83ea471f02da commit: c00ac578241b3213ceb79c1f32bc83ea471f02da branch: main author: Sam Gross committer: colesbury date: 2025-03-11T19:15:22-04:00 summary: gh-131113: Fix data race in dict.popitem() (gh-131115) The clearing of

[Python-checkins] GH-130614: pathlib ABCs: revise test suite for readable paths (#131018)

2025-03-11 Thread barneygale
https://github.com/python/cpython/commit/ad90c5fabc415d4e46205947cceda82893ec1460 commit: ad90c5fabc415d4e46205947cceda82893ec1460 branch: main author: Barney Gale committer: barneygale date: 2025-03-11T20:54:22Z summary: GH-130614: pathlib ABCs: revise test suite for readable paths (#131018) T

[Python-checkins] gh-128002: add `test_asyncio.test_free_threading` to tsan tests (#131106)

2025-03-11 Thread kumaraditya303
https://github.com/python/cpython/commit/24070492cfee2cd698009418f70cc3755dbd0b99 commit: 24070492cfee2cd698009418f70cc3755dbd0b99 branch: main author: Kumar Aditya committer: kumaraditya303 date: 2025-03-12T01:33:44+05:30 summary: gh-128002: add `test_asyncio.test_free_threading` to tsan tests

[Python-checkins] fix various warnings in `test_asyncio.test_tasks` (#131109)

2025-03-11 Thread kumaraditya303
https://github.com/python/cpython/commit/fcf756adef43a15e5bc2b397d95ca8c6a54d524d commit: fcf756adef43a15e5bc2b397d95ca8c6a54d524d branch: main author: Kumar Aditya committer: kumaraditya303 date: 2025-03-11T19:51:53Z summary: fix various warnings in `test_asyncio.test_tasks` (#131109) files: M

[Python-checkins] GH-131035: Use -flto=thin for clang-cl on Windows (GH-131036)

2025-03-11 Thread zooba
https://github.com/python/cpython/commit/91d6db7ee0006860a93d96c4c8bc58bfd8a38f6b commit: 91d6db7ee0006860a93d96c4c8bc58bfd8a38f6b branch: main author: Chris Eibl <[email protected]> committer: zooba date: 2025-03-10T16:47:45Z summary: GH-131035: Use -flto=thin for cla

[Python-checkins] gh-122029: Do not unpack method for legacy tracing anymore (#130898)

2025-03-11 Thread gaogaotiantian
https://github.com/python/cpython/commit/8b1edae93a05cc90c5b8c5c935f3753aca938ccf commit: 8b1edae93a05cc90c5b8c5c935f3753aca938ccf branch: main author: Tian Gao committer: gaogaotiantian date: 2025-03-11T14:04:22-04:00 summary: gh-122029: Do not unpack method for legacy tracing anymore (#130898)

[Python-checkins] GH-130614: pathlib ABCs: revise test suite for Windows path joining (#131016)

2025-03-11 Thread barneygale
https://github.com/python/cpython/commit/3569e4a670bc6a02f1bb1baf08ecfb85c63755fb commit: 3569e4a670bc6a02f1bb1baf08ecfb85c63755fb branch: main author: Barney Gale committer: barneygale date: 2025-03-11T18:01:43Z summary: GH-130614: pathlib ABCs: revise test suite for Windows path joining (#1310

[Python-checkins] GH-127381: pathlib ABCs: remove `case_sensitive` argument (#131024)

2025-03-11 Thread barneygale
https://github.com/python/cpython/commit/93fc3d34f9285d337c1e19e84764b02629eaab68 commit: 93fc3d34f9285d337c1e19e84764b02629eaab68 branch: main author: Barney Gale committer: barneygale date: 2025-03-10T17:50:48Z summary: GH-127381: pathlib ABCs: remove `case_sensitive` argument (#131024) Remov

[Python-checkins] gh-129675: Update documentation for tp_basicsize & tp_itemsize (#129850)

2025-03-11 Thread encukou
https://github.com/python/cpython/commit/ad0f618ab3eb1f26f8830a863aaf7bb70835c00d commit: ad0f618ab3eb1f26f8830a863aaf7bb70835c00d branch: main author: Petr Viktorin committer: encukou date: 2025-03-11T11:21:18+01:00 summary: gh-129675: Update documentation for tp_basicsize & tp_itemsize (#12985

[Python-checkins] gh-128563: Add correction note to tail call in whats new (#130908)

2025-03-11 Thread Fidget-Spinner
https://github.com/python/cpython/commit/e4a60248b031d9e327443f1f2627e66865f8a9c9 commit: e4a60248b031d9e327443f1f2627e66865f8a9c9 branch: main author: Ken Jin committer: Fidget-Spinner date: 2025-03-06T14:43:53+08:00 summary: gh-128563: Add correction note to tail call in whats new (#130908) *

[Python-checkins] gh-128515: Properly check for bolt in test_perf_profiler (#131058)

2025-03-11 Thread pablogsal
https://github.com/python/cpython/commit/fd3b49e85dafcd18ca8fa7e3b77b446bfdcd114c commit: fd3b49e85dafcd18ca8fa7e3b77b446bfdcd114c branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2025-03-10T21:48:03Z summary: gh-128515: Properly check for bolt in test_perf_profiler (#131058

[Python-checkins] [3.13] gh-117174: Add a new route in linecache to fetch interactive source code (GH-117500) (#131060)

2025-03-11 Thread pablogsal
https://github.com/python/cpython/commit/c7022230d25f7eea85072e375126d0b207579800 commit: c7022230d25f7eea85072e375126d0b207579800 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: pablogsal date: 2025-03-10T23:11:24Z summary: [3.13] gh-117174

[Python-checkins] gh-117174: Adapt test_multiple_statements_fail_early now that we have always source (#131065)

2025-03-11 Thread pablogsal
https://github.com/python/cpython/commit/4192ce17ba643e5b0bc9d2182a429002e4cc9dfe commit: 4192ce17ba643e5b0bc9d2182a429002e4cc9dfe branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2025-03-10T23:10:53Z summary: gh-117174: Adapt test_multiple_statements_fail_early now that we

[Python-checkins] GH-130614: pathlib ABCs: revise test suite for Posix path joining (#131017)

2025-03-11 Thread barneygale
https://github.com/python/cpython/commit/5a484714c3497dd5c67a1469c0cc246bf1452892 commit: 5a484714c3497dd5c67a1469c0cc246bf1452892 branch: main author: Barney Gale committer: barneygale date: 2025-03-10T17:59:10Z summary: GH-130614: pathlib ABCs: revise test suite for Posix path joining (#131017

[Python-checkins] Replace link to historical TypedDict PEP with current document on typing.python… (#131096)

2025-03-11 Thread nedbat
https://github.com/python/cpython/commit/e0bc9d2a0c448cf46df233f8d84344c1f55a190f commit: e0bc9d2a0c448cf46df233f8d84344c1f55a190f branch: main author: Gerardwx committer: nedbat date: 2025-03-11T12:45:31-04:00 summary: Replace link to historical TypedDict PEP with current document on typing.py

[Python-checkins] gh-93096: Load doctests in `test_pickle` (#131069)

2025-03-11 Thread serhiy-storchaka
https://github.com/python/cpython/commit/3bb20d13a88a178dae809016b3d0a457f38aa686 commit: 3bb20d13a88a178dae809016b3d0a457f38aa686 branch: main author: donBarbos committer: serhiy-storchaka date: 2025-03-11T12:25:25+02:00 summary: gh-93096: Load doctests in `test_pickle` (#131069) Add doctests

[Python-checkins] [3.13] gh-131020: py.exe launcher does not correctly detect a BOM when searching for the shebang (GH-131021) (#131047)

2025-03-11 Thread zooba
https://github.com/python/cpython/commit/cf829f49deba32236234de820d62233d191237a9 commit: cf829f49deba32236234de820d62233d191237a9 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: zooba date: 2025-03-10T19:54:10Z summary: [3.13] gh-131020: py

[Python-checkins] [3.13] gh-130711: Document `PyBaseObject_Type` (GH-130712) (GH-130792)

2025-03-11 Thread encukou
https://github.com/python/cpython/commit/30e8bd2a41e6e547a76021d75d75670995c2e948 commit: 30e8bd2a41e6e547a76021d75d75670995c2e948 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: encukou date: 2025-03-10T15:05:38+01:00 summary: [3.13] gh-130

[Python-checkins] gh-111178: Change Argument Clinic signature for METH_O (#130682)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/9d759b63d8028a987ffad4e8750b13ecfa934967 commit: 9d759b63d8028a987ffad4e8750b13ecfa934967 branch: main author: Victor Stinner committer: vstinner date: 2025-03-11T16:33:36+01:00 summary: gh-78: Change Argument Clinic signature for METH_O (#130682) Us

[Python-checkins] [3.11] gh-106883 Fix deadlock in threaded application (#117332)

2025-03-11 Thread pablogsal
https://github.com/python/cpython/commit/6b37486184590d19c6f24e620545ec8f8f65e4c7 commit: 6b37486184590d19c6f24e620545ec8f8f65e4c7 branch: 3.11 author: Diego Russo committer: pablogsal date: 2025-03-11T15:31:03Z summary: [3.11] gh-106883 Fix deadlock in threaded application (#117332) When using

[Python-checkins] gh-130396: Fix thread sanitizer crashes on stack overflow tests (gh-130966)

2025-03-11 Thread colesbury
https://github.com/python/cpython/commit/4162bc133b21ccb06d3589bd69ddb7bb248c58d2 commit: 4162bc133b21ccb06d3589bd69ddb7bb248c58d2 branch: main author: Sam Gross committer: colesbury date: 2025-03-11T10:33:23-04:00 summary: gh-130396: Fix thread sanitizer crashes on stack overflow tests (gh-1309

[Python-checkins] [3.13] gh-130957: Use `sleeping_retry` in `test_free_reference` (GH-130958) (#131091)

2025-03-11 Thread colesbury
https://github.com/python/cpython/commit/98c7ae3f7e6fa47cfeee388fb0992a77d6ba163a commit: 98c7ae3f7e6fa47cfeee388fb0992a77d6ba163a branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: colesbury date: 2025-03-11T14:14:28Z summary: [3.13] gh-130957

[Python-checkins] [3.12] gh-130957: Use `sleeping_retry` in `test_free_reference` (GH-130958) (#131092)

2025-03-11 Thread colesbury
https://github.com/python/cpython/commit/afffd97cd9066d6c7864d932cf7e9de1b7bb5051 commit: afffd97cd9066d6c7864d932cf7e9de1b7bb5051 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: colesbury date: 2025-03-11T10:13:41-04:00 summary: [3.12] gh-1

[Python-checkins] gh-130957: Use `sleeping_retry` in `test_free_reference` (#130958)

2025-03-11 Thread colesbury
https://github.com/python/cpython/commit/19081158713526a3042c2ad3c6d5a589579b420f commit: 19081158713526a3042c2ad3c6d5a589579b420f branch: main author: Sam Gross committer: colesbury date: 2025-03-11T09:51:26-04:00 summary: gh-130957: Use `sleeping_retry` in `test_free_reference` (#130958) The

[Python-checkins] [3.13] gh-101100: Fix sphinx warnings in `library/asyncio-subprocess.rst` (GH-130994) (#131074)

2025-03-11 Thread hugovk
https://github.com/python/cpython/commit/a49f85a694597ae712ff896f2ce345696516aad9 commit: a49f85a694597ae712ff896f2ce345696516aad9 branch: 3.13 author: Yuki Kobayashi committer: hugovk <[email protected]> date: 2025-03-11T14:30:47+02:00 summary: [3.13] gh-101100: Fix sphinx

[Python-checkins] [3.12] gh-101100: Fix sphinx warnings in `library/asyncio-subprocess.rst` (GH-130994) (#131075)

2025-03-11 Thread hugovk
https://github.com/python/cpython/commit/729ec5b4fc9c030157837fc6717068b2a1a13342 commit: 729ec5b4fc9c030157837fc6717068b2a1a13342 branch: 3.12 author: Yuki Kobayashi committer: hugovk <[email protected]> date: 2025-03-11T12:31:33Z summary: [3.12] gh-101100: Fix sphinx warni

[Python-checkins] Replace K&R function declarations with ANSI declarations (#114818)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/44c55c23563fd27fced2ac575fd205f3e5c0a836 commit: 44c55c23563fd27fced2ac575fd205f3e5c0a836 branch: main author: Max Bachmann committer: vstinner date: 2025-03-11T13:06:36+01:00 summary: Replace K&R function declarations with ANSI declarations (#114818) fi

[Python-checkins] [3.13] gh-131082: Add missing guards for WIN32_LEAN_AND_MEAN (GH-131044) (#131084)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/f9d19a3ada63b9e9ec457d7b8f42c57b830280b4 commit: f9d19a3ada63b9e9ec457d7b8f42c57b830280b4 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-03-11T11:56:54Z summary: [3.13] gh-131082:

[Python-checkins] gh-130959: Reject whitespace in fractions, in pure Python `fromisoformat()` (GH-130962) (GH-131076) (#131086)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/8f26a79b3322d29ad603662c2b01109f2a719506 commit: 8f26a79b3322d29ad603662c2b01109f2a719506 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-03-11T12:00:06Z summary: gh-130959: Reject

[Python-checkins] [3.12] gh-131082: Add missing guards for WIN32_LEAN_AND_MEAN (#131044) (#131085)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/3f226c5a7f776997b8bec4c7009b07c7bc93da94 commit: 3f226c5a7f776997b8bec4c7009b07c7bc93da94 branch: 3.12 author: Victor Stinner committer: vstinner date: 2025-03-11T11:55:13Z summary: [3.12] gh-131082: Add missing guards for WIN32_LEAN_AND_MEAN (#131044) (#

[Python-checkins] [3.13] gh-130959: Reject whitespace in fractions, in pure Python `fromisoformat()` (#130962) (#131076)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/27fd328cf68e5d812cdb7f9533a16dd68d911c54 commit: 27fd328cf68e5d812cdb7f9533a16dd68d911c54 branch: 3.13 author: Victor Stinner committer: vstinner date: 2025-03-11T12:39:27+01:00 summary: [3.13] gh-130959: Reject whitespace in fractions, in pure Python `f

[Python-checkins] gh-131082: Add missing guards for WIN32_LEAN_AND_MEAN (#131044)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/de8818ae233b8e7722aa5d6f91d4b5a04bd039df commit: de8818ae233b8e7722aa5d6f91d4b5a04bd039df branch: main author: Max Bachmann committer: vstinner date: 2025-03-11T12:33:01+01:00 summary: gh-131082: Add missing guards for WIN32_LEAN_AND_MEAN (#131044) * Add

[Python-checkins] gh-93096: Remove `-t` and `-v` flags from `pickle` cli (#131068)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/425e0af74fb882b95f81923123bd4afad0cda157 commit: 425e0af74fb882b95f81923123bd4afad0cda157 branch: main author: donBarbos committer: vstinner date: 2025-03-11T12:07:00+01:00 summary: gh-93096: Remove `-t` and `-v` flags from `pickle` cli (#131068) * Remov

[Python-checkins] gh-93096: Remove `-t` and `-v` flags from `pickletools` cli (#131039)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/3ddf983afda7173277666bb5f9033634e59363f8 commit: 3ddf983afda7173277666bb5f9033634e59363f8 branch: main author: donBarbos committer: vstinner date: 2025-03-11T12:06:26+01:00 summary: gh-93096: Remove `-t` and `-v` flags from `pickletools` cli (#131039) Re

[Python-checkins] [3.13] gh-93096: Fix loading doctests in test_pickle (GH-131069) (GH-131080)

2025-03-11 Thread serhiy-storchaka
https://github.com/python/cpython/commit/68a1591bec822ea0818be885b0883bc170ab1a7d commit: 68a1591bec822ea0818be885b0883bc170ab1a7d branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-03-11T10:49:14Z summary: [3.13] gh

[Python-checkins] [3.13] gh-130932: cwd cannot be removed on Solaris/Illumos (GH-131037) (#131073)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/3e173e505a5267bbf8c372ffea9d1e9e7f67c5bd commit: 3e173e505a5267bbf8c372ffea9d1e9e7f67c5bd branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-03-11T09:33:50Z summary: [3.13] gh-130932:

[Python-checkins] [3.12] gh-93096: Fix loading doctests in test_pickle (GH-131069) (GH-131081)

2025-03-11 Thread serhiy-storchaka
https://github.com/python/cpython/commit/bfad0b56d9d2d867af01d146fb72862e8a4b10ed commit: bfad0b56d9d2d867af01d146fb72862e8a4b10ed branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-03-11T10:42:47Z summary: [3.12] gh

[Python-checkins] gh-46236: Add missing PyUnicode_Append() doc (#130531)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/faadb446d9d26827e23dc1cf68ffb6218bc70d32 commit: faadb446d9d26827e23dc1cf68ffb6218bc70d32 branch: main author: RUANG (James Roy) committer: vstinner date: 2025-03-11T10:28:17+01:00 summary: gh-46236: Add missing PyUnicode_Append() doc (#130531) * Add mis

[Python-checkins] gh-130932: cwd cannot be removed on Solaris/Illumos (#131037)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/69309a55bcb5381a9a218edc910da135f4d67479 commit: 69309a55bcb5381a9a218edc910da135f4d67479 branch: main author: Jakub Kulík committer: vstinner date: 2025-03-11T10:09:04+01:00 summary: gh-130932: cwd cannot be removed on Solaris/Illumos (#131037) files: M

[Python-checkins] gh-130959: Reject whitespace in fractions, in pure Python `fromisoformat()` (#130962)

2025-03-11 Thread vstinner
https://github.com/python/cpython/commit/33494b4d0dafc34ff4f1c118b7b3b5d8de3dd0f4 commit: 33494b4d0dafc34ff4f1c118b7b3b5d8de3dd0f4 branch: main author: Michał Górny committer: vstinner date: 2025-03-11T10:15:40+01:00 summary: gh-130959: Reject whitespace in fractions, in pure Python `fromisoform