[Python-checkins] [3.13] gh-119724: Revert "bpo-45759: Better error messages for non-matching 'elif'/'else' statements (GH-29513)" (GH-119974) (GH-120013)

2024-06-03 Thread encukou
https://github.com/python/cpython/commit/6be55f1bedcd076c12d00bf061bbcffc4ed8073a commit: 6be55f1bedcd076c12d00bf061bbcffc4ed8073a branch: 3.13 author: T. Wouters committer: encukou date: 2024-06-04T08:36:16+02:00 summary: [3.13] gh-119724: Revert "bpo-45759: Better error messages for non-matchi

[Python-checkins] gh-119724: Revert "bpo-45759: Better error messages for non-matching 'elif'/'else' statements (#29513)" (#119974)

2024-06-03 Thread Yhg1s
https://github.com/python/cpython/commit/31a4fb3c74a0284436343858803b54471e2dc9c7 commit: 31a4fb3c74a0284436343858803b54471e2dc9c7 branch: main author: Petr Viktorin committer: Yhg1s date: 2024-06-03T18:10:15-07:00 summary: gh-119724: Revert "bpo-45759: Better error messages for non-matching 'e

[Python-checkins] [3.13] gh-117398: Use Per-Interpreter State for the _datetime Static Types (gh-120009)

2024-06-03 Thread ericsnowcurrently
https://github.com/python/cpython/commit/e5fb3a2385809f6cbdba2061b40fecf5b234f549 commit: e5fb3a2385809f6cbdba2061b40fecf5b234f549 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ericsnowcurrently date: 2024-06-03T23:37:28Z summary: [3.13] g

[Python-checkins] gh-117398: Use Per-Interpreter State for the _datetime Static Types (gh-119929)

2024-06-03 Thread ericsnowcurrently
https://github.com/python/cpython/commit/105f22ea46ac16866e6df18ebae2a8ba422b7f45 commit: 105f22ea46ac16866e6df18ebae2a8ba422b7f45 branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-06-03T17:09:18-06:00 summary: gh-117398: Use Per-Interpreter State for the _datetime Static Ty

[Python-checkins] [3.13] gh-117142: Support Importing ctypes in Isolated Interpreters (gh-120008)

2024-06-03 Thread ericsnowcurrently
https://github.com/python/cpython/commit/c348e27cc1b1e7468f9c0c7d5d6e7f6160d25613 commit: c348e27cc1b1e7468f9c0c7d5d6e7f6160d25613 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ericsnowcurrently date: 2024-06-03T23:06:56Z summary: [3.13] g

[Python-checkins] [3.13] gh-117398: Add datetime Module State (gh-120004)

2024-06-03 Thread ericsnowcurrently
https://github.com/python/cpython/commit/39510dadde3ca20e9f85833efee5fef1d51e16da commit: 39510dadde3ca20e9f85833efee5fef1d51e16da branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ericsnowcurrently date: 2024-06-03T17:05:04-06:00 summary: [3.

[Python-checkins] [3.13] gh-117657: Fix itertools.count thread safety (GH-119268) (#120007)

2024-06-03 Thread colesbury
https://github.com/python/cpython/commit/79fae3b0a15be30d35131420f030c9a31338b357 commit: 79fae3b0a15be30d35131420f030c9a31338b357 branch: 3.13 author: Sam Gross committer: colesbury date: 2024-06-03T22:47:34Z summary: [3.13] gh-117657: Fix itertools.count thread safety (GH-119268) (#120007) Fi

[Python-checkins] gh-117142: Support Importing ctypes in Isolated Interpreters (gh-119991)

2024-06-03 Thread ericsnowcurrently
https://github.com/python/cpython/commit/dba7a167dbbd50e83e58df351f3414b7a08e0188 commit: dba7a167dbbd50e83e58df351f3414b7a08e0188 branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-06-03T16:42:48-06:00 summary: gh-117142: Support Importing ctypes in Isolated Interpreters (gh

[Python-checkins] [3.13] gh-117657: Fix race involving immortalizing objects (GH-119927) (#120005)

2024-06-03 Thread colesbury
https://github.com/python/cpython/commit/ae705319fcde864b504987dc8e579e3eef68e1e5 commit: ae705319fcde864b504987dc8e579e3eef68e1e5 branch: 3.13 author: Sam Gross committer: colesbury date: 2024-06-03T22:21:32Z summary: [3.13] gh-117657: Fix race involving immortalizing objects (GH-119927) (#1200

[Python-checkins] gh-117398: Add datetime Module State (gh-119810)

2024-06-03 Thread ericsnowcurrently
https://github.com/python/cpython/commit/d82a7ba041321e7b58a5a9bbc394670be6ceeb7c commit: d82a7ba041321e7b58a5a9bbc394670be6ceeb7c branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-06-03T15:56:00-06:00 summary: gh-117398: Add datetime Module State (gh-119810) I was able to

[Python-checkins] gh-117657: Fix race involving immortalizing objects (#119927)

2024-06-03 Thread colesbury
https://github.com/python/cpython/commit/47fb4327b5c405da6df066dcaa01b7c1aefab313 commit: 47fb4327b5c405da6df066dcaa01b7c1aefab313 branch: main author: Sam Gross committer: colesbury date: 2024-06-03T20:58:41Z summary: gh-117657: Fix race involving immortalizing objects (#119927) The free-threa

[Python-checkins] update CODEOWNERS (#120003)

2024-06-03 Thread iritkatriel
https://github.com/python/cpython/commit/b8fde5db86334690da23343f5f4326adcd8160fb commit: b8fde5db86334690da23343f5f4326adcd8160fb branch: main author: Irit Katriel <[email protected]> committer: iritkatriel <[email protected]> date: 2024-06-03T

[Python-checkins] [3.12] gh-119821: Fix refleak in LOAD_FROM_DICT_OR_GLOBALS (#119975)

2024-06-03 Thread JelleZijlstra
https://github.com/python/cpython/commit/3bf7a5079c8d1845af98c145056e7ae1e102be43 commit: 3bf7a5079c8d1845af98c145056e7ae1e102be43 branch: 3.12 author: Jelle Zijlstra committer: JelleZijlstra date: 2024-06-03T12:26:25-07:00 summary: [3.12] gh-119821: Fix refleak in LOAD_FROM_DICT_OR_GLOBALS (#11

[Python-checkins] [3.13] gh-117657: Avoid `sem_clockwait` in TSAN (GH-119915) (#119992)

2024-06-03 Thread colesbury
https://github.com/python/cpython/commit/ca37034baa2909722df58c02dfd13e1d667252ce commit: ca37034baa2909722df58c02dfd13e1d667252ce branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: colesbury date: 2024-06-03T18:07:22Z summary: [3.13] gh-117657

[Python-checkins] gh-117657: Avoid `sem_clockwait` in TSAN (#119915)

2024-06-03 Thread colesbury
https://github.com/python/cpython/commit/41c1cefbae71d687d1a935233b086473df65e15c commit: 41c1cefbae71d687d1a935233b086473df65e15c branch: main author: Sam Gross committer: colesbury date: 2024-06-03T13:42:27-04:00 summary: gh-117657: Avoid `sem_clockwait` in TSAN (#119915) The `sem_clockwait`

[Python-checkins] [3.13] gh-118835: pyrepl: Fix prompt length computation for custom prompts containing ANSI escape codes (GH-119942) (#119990)

2024-06-03 Thread pablogsal
https://github.com/python/cpython/commit/6b10467fbc0b67bf217ea27956b545103c4a0ad5 commit: 6b10467fbc0b67bf217ea27956b545103c4a0ad5 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: pablogsal date: 2024-06-03T17:31:26Z summary: [3.13] gh-118835

[Python-checkins] gh-118835: pyrepl: Fix prompt length computation for custom prompts containing ANSI escape codes (#119942)

2024-06-03 Thread pablogsal
https://github.com/python/cpython/commit/2e0aa731aebb8ef3d89ada82f5d39b1bbac65d1f commit: 2e0aa731aebb8ef3d89ada82f5d39b1bbac65d1f branch: main author: Daniel Hollas committer: pablogsal date: 2024-06-03T18:07:06+01:00 summary: gh-118835: pyrepl: Fix prompt length computation for custom prompts

[Python-checkins] gh-119727: Add --single-process option to regrtest (#119728)

2024-06-03 Thread vstinner
https://github.com/python/cpython/commit/4e8aa32245e2d72bf558b711ccdbcee594347615 commit: 4e8aa32245e2d72bf558b711ccdbcee594347615 branch: main author: Victor Stinner committer: vstinner date: 2024-06-03T16:34:36Z summary: gh-119727: Add --single-process option to regrtest (#119728) files: A Mi

[Python-checkins] [3.12] Use Cirrus M1 macOS runners for CI (GH-119979) (GH-119987)

2024-06-03 Thread ambv
https://github.com/python/cpython/commit/0480fd628a33351be868460c6febc09541ac722c commit: 0480fd628a33351be868460c6febc09541ac722c branch: 3.12 author: Łukasz Langa committer: ambv date: 2024-06-03T18:15:54+02:00 summary: [3.12] Use Cirrus M1 macOS runners for CI (GH-119979) (GH-119987) (cherry

[Python-checkins] [3.13] Use Cirrus M1 macOS runners for CI (GH-119979) (GH-119986)

2024-06-03 Thread ambv
https://github.com/python/cpython/commit/060d846f436027c0169fc8e2d3a0a7b9bc9afee8 commit: 060d846f436027c0169fc8e2d3a0a7b9bc9afee8 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ambv date: 2024-06-03T18:15:37+02:00 summary: [3.13] Use Cirru

[Python-checkins] gh-119057: Use better error messages for zero division (#119066)

2024-06-03 Thread sobolevn
https://github.com/python/cpython/commit/1d4c2e4a877a48cdc8bcc9808d799b91c82b3757 commit: 1d4c2e4a877a48cdc8bcc9808d799b91c82b3757 branch: main author: Nikita Sobolev committer: sobolevn date: 2024-06-03T19:03:56+03:00 summary: gh-119057: Use better error messages for zero division (#119066) fi

[Python-checkins] gh-119981: Use do while(0) in some symtable.c multi-line macros (#119982)

2024-06-03 Thread vstinner
https://github.com/python/cpython/commit/153b118b78588209850cc2a4cbc977f193a3ab6e commit: 153b118b78588209850cc2a4cbc977f193a3ab6e branch: main author: Bénédikt Tran <[email protected]> committer: vstinner date: 2024-06-03T15:48:02Z summary: gh-119981: Use do while(0) in s

[Python-checkins] Use Cirrus M1 macOS runners for CI (GH-119979)

2024-06-03 Thread ambv
https://github.com/python/cpython/commit/6acb32fac3511c1d5500cac66f1d6397dcdab835 commit: 6acb32fac3511c1d5500cac66f1d6397dcdab835 branch: main author: Łukasz Langa committer: ambv date: 2024-06-03T17:32:40+02:00 summary: Use Cirrus M1 macOS runners for CI (GH-119979) Co-authored-by: Ee Durbin

[Python-checkins] gh-119679: Ensures correct import libraries are included in Windows install packages (GH-119790)

2024-06-03 Thread zooba
https://github.com/python/cpython/commit/671b740f45bf606208d89300b63b1d206c6a6e4a commit: 671b740f45bf606208d89300b63b1d206c6a6e4a branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: zooba date: 2024-06-03T15:06:53Z summary: gh-119679: Ensures c

[Python-checkins] gh-119679: Ensures correct import libraries are included in Windows install packages (GH-119790)

2024-06-03 Thread zooba
https://github.com/python/cpython/commit/fd01271366abefa8f991e53f090387882fbd6bdd commit: fd01271366abefa8f991e53f090387882fbd6bdd branch: main author: Steve Dower committer: zooba date: 2024-06-03T15:42:45+01:00 summary: gh-119679: Ensures correct import libraries are included in Windows instal

[Python-checkins] gh-102511: Amend 3.13.0b1.rst (GH-119895)

2024-06-03 Thread zooba
https://github.com/python/cpython/commit/b26b410ce90214480c96079ff3a9c202b59f54a0 commit: b26b410ce90214480c96079ff3a9c202b59f54a0 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: zooba date: 2024-06-03T13:46:40Z summary: gh-102511: Amend 3.1

[Python-checkins] gh-102511: Amend 3.13.0b1.rst (GH-119895)

2024-06-03 Thread zooba
https://github.com/python/cpython/commit/4765e1fa292007f8ddc59f33454b747312506a7a commit: 4765e1fa292007f8ddc59f33454b747312506a7a branch: main author: Nice Zombies committer: zooba date: 2024-06-03T14:27:44+01:00 summary: gh-102511: Amend 3.13.0b1.rst (GH-119895) files: M Misc/NEWS.d/3.13.0b1.

[Python-checkins] gh-116560: Add PyLong_GetSign() public function (#116561)

2024-06-03 Thread vstinner
https://github.com/python/cpython/commit/61d3ab32da92e70bb97a544d76ef2b837501024f commit: 61d3ab32da92e70bb97a544d76ef2b837501024f branch: main author: Sergey B Kirpichev committer: vstinner date: 2024-06-03T14:06:31+02:00 summary: gh-116560: Add PyLong_GetSign() public function (#116561) Co-au

[Python-checkins] [3.13] gh-119968: Improved monitoring c-api docs (GH-119969) (#119971)

2024-06-03 Thread sobolevn
https://github.com/python/cpython/commit/6db1eb98a4055ffef04c229f85bd73e4e4e1138b commit: 6db1eb98a4055ffef04c229f85bd73e4e4e1138b branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2024-06-03T09:49:14Z summary: [3.13] gh-119968:

[Python-checkins] gh-119786: move exception handling doc to InternalDocs (#119815)

2024-06-03 Thread iritkatriel
https://github.com/python/cpython/commit/367adc91fb9834eb35b168048fd54705621c3f21 commit: 367adc91fb9834eb35b168048fd54705621c3f21 branch: main author: Irit Katriel <[email protected]> committer: iritkatriel <[email protected]> date: 2024-06-03T

[Python-checkins] gh-119968: Improved monitoring c-api docs (#119969)

2024-06-03 Thread sobolevn
https://github.com/python/cpython/commit/cae4c80714e7266772025676977e2a1b98cdcd7b commit: cae4c80714e7266772025676977e2a1b98cdcd7b branch: main author: Awbert <[email protected]> committer: sobolevn date: 2024-06-03T12:31:02+03:00 summary: gh-119968: Improved monitori

[Python-checkins] [3.13] gh-119336: Restore removed _PyLong_NumBits() function (GH-119418) (#119970)

2024-06-03 Thread vstinner
https://github.com/python/cpython/commit/cc663b7e25539d938bf71bc1b4d69efd8824c2d3 commit: cc663b7e25539d938bf71bc1b4d69efd8824c2d3 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-06-03T09:29:07Z summary: [3.13] gh-119336:

[Python-checkins] gh-119838: Treat Fraction as a real value in mixed arithmetic operations with complex (GH-119839)

2024-06-03 Thread serhiy-storchaka
https://github.com/python/cpython/commit/d7fcaa73b71f4c49c1b24cac04c9b6f1cf69b944 commit: d7fcaa73b71f4c49c1b24cac04c9b6f1cf69b944 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-06-03T12:29:01+03:00 summary: gh-119838: Treat Fraction as a real value in mixed arithme

[Python-checkins] [3.13] gh-119856: Support exiting help() with just "exit" (GH-119858) (#119967)

2024-06-03 Thread vstinner
https://github.com/python/cpython/commit/c3fc3a2db84886f13bf020d7a1ec7f6b9ef1b775 commit: c3fc3a2db84886f13bf020d7a1ec7f6b9ef1b775 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-06-03T09:10:39Z summary: [3.13] gh-119856:

[Python-checkins] gh-112026: Deprecate _PyDict_GetItemStringWithError() function (#119855)

2024-06-03 Thread vstinner
https://github.com/python/cpython/commit/70934fb46982ad2ae677cca485a730b39635919c commit: 70934fb46982ad2ae677cca485a730b39635919c branch: main author: Victor Stinner committer: vstinner date: 2024-06-03T10:26:13+02:00 summary: gh-112026: Deprecate _PyDict_GetItemStringWithError() function (#119

[Python-checkins] gh-119856: Support exiting help() with just "exit" (#119858)

2024-06-03 Thread vstinner
https://github.com/python/cpython/commit/4223f1d828d3a3e1c8d803e3fdd420afd7d85faf commit: 4223f1d828d3a3e1c8d803e3fdd420afd7d85faf branch: main author: Victor Stinner committer: vstinner date: 2024-06-03T10:15:04+02:00 summary: gh-119856: Support exiting help() with just "exit" (#119858) files:

[Python-checkins] gh-116991: Improve `pygen --help` for `python` subparser (#116992)

2024-06-03 Thread sobolevn
https://github.com/python/cpython/commit/1e5f615086d23c71a9701abe641b5241e4345234 commit: 1e5f615086d23c71a9701abe641b5241e4345234 branch: main author: Nikita Sobolev committer: sobolevn date: 2024-06-03T10:52:35+03:00 summary: gh-116991: Improve `pygen --help` for `python` subparser (#116992)

[Python-checkins] gh-118827: Remove `Quoter` from `urllib.parse` (#118828)

2024-06-03 Thread sobolevn
https://github.com/python/cpython/commit/84c3191954b40e090db15da49a59fcc40afe34fd commit: 84c3191954b40e090db15da49a59fcc40afe34fd branch: main author: Nikita Sobolev committer: sobolevn date: 2024-06-03T10:50:29+03:00 summary: gh-118827: Remove `Quoter` from `urllib.parse` (#118828) Co-authore

[Python-checkins] gh-119506: fix `_io.TextIOWrapper.write()` write during flush (#119507)

2024-06-03 Thread methane
https://github.com/python/cpython/commit/52586f930f62bd80374f0f240a4ecce0c0238174 commit: 52586f930f62bd80374f0f240a4ecce0c0238174 branch: main author: Radislav Chugunov <[email protected]> committer: methane date: 2024-06-03T16:47:36+09:00 summary: gh-119506: fix `_io.Tex