[Python-checkins] gh-127082: Replace "Windows only" with the `availability: Windows` in `ctypes` doc (#127099)

2024-11-21 Thread vstinner
https://github.com/python/cpython/commit/3c770e3f0978d825c5ebea98fcd654660e7e135f commit: 3c770e3f0978d825c5ebea98fcd654660e7e135f branch: main author: Jun Komoda <[email protected]> committer: vstinner date: 2024-11-22T08:56:34+01:00 summary: gh-127082: Replace "Windows on

[Python-checkins] Allow local use of `static PyMutex` in the C analyzer (#127102)

2024-11-21 Thread vstinner
https://github.com/python/cpython/commit/89125e9f9f3d3099267ddaddfe72642e2af6495c commit: 89125e9f9f3d3099267ddaddfe72642e2af6495c branch: main author: Peter Bierma committer: vstinner date: 2024-11-22T08:48:39+01:00 summary: Allow local use of `static PyMutex` in the C analyzer (#127102) files

[Python-checkins] [3.12] GH-127078: `url2pathname()`: handle extra slash before UNC drive in URL path (GH-127132) (#127136)

2024-11-21 Thread barneygale
https://github.com/python/cpython/commit/c470e822bf6b8cde65c61323d0d7892c5df37326 commit: c470e822bf6b8cde65c61323d0d7892c5df37326 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-11-22T04:37:51Z summary: [3.12] GH-12707

[Python-checkins] [3.13] GH-127078: `url2pathname()`: handle extra slash before UNC drive in URL path (GH-127132) (#127135)

2024-11-21 Thread barneygale
https://github.com/python/cpython/commit/7bbcd32e59ab9b47c0f9e436eabb19fd0b957d63 commit: 7bbcd32e59ab9b47c0f9e436eabb19fd0b957d63 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-11-22T04:37:30Z summary: [3.13] GH-12707

[Python-checkins] GH-127078: `url2pathname()`: handle extra slash before UNC drive in URL path (#127132)

2024-11-21 Thread barneygale
https://github.com/python/cpython/commit/8c98ed846a7d7e50c4cf06f823d94737144dcf6a commit: 8c98ed846a7d7e50c4cf06f823d94737144dcf6a branch: main author: Barney Gale committer: barneygale date: 2024-11-22T04:12:50Z summary: GH-127078: `url2pathname()`: handle extra slash before UNC drive in URL pa

[Python-checkins] GH-126766: `url2pathname()`: handle 'localhost' authority (#127129)

2024-11-21 Thread barneygale
https://github.com/python/cpython/commit/ebf564a1d3e2e81b9846535114e481d6096443d2 commit: ebf564a1d3e2e81b9846535114e481d6096443d2 branch: main author: Barney Gale committer: barneygale date: 2024-11-22T03:17:06Z summary: GH-126766: `url2pathname()`: handle 'localhost' authority (#127129) Disca

[Python-checkins] [3.13] GH-126766: `url2pathname()`: handle 'localhost' authority (GH-127129) (#127130)

2024-11-21 Thread barneygale
https://github.com/python/cpython/commit/4b9068eeea18f6488cd2213a21b3e9527642b6c8 commit: 4b9068eeea18f6488cd2213a21b3e9527642b6c8 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-11-22T03:42:26Z summary: [3.13] GH-12676

[Python-checkins] [3.12] GH-126766: `url2pathname()`: handle 'localhost' authority (GH-127129) (#127131)

2024-11-21 Thread barneygale
https://github.com/python/cpython/commit/4b705f50d1c65536e19048b32397e8118d92558d commit: 4b705f50d1c65536e19048b32397e8118d92558d branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-11-22T03:42:46Z summary: [3.12] GH-12676

[Python-checkins] GH-122679: Add `register()` to argparse docs (#126939)

2024-11-21 Thread savannahostrowski
https://github.com/python/cpython/commit/fcfdb55465636afc256bc29781b283404d88e6ca commit: fcfdb55465636afc256bc29781b283404d88e6ca branch: main author: Savannah Ostrowski committer: savannahostrowski date: 2024-11-21T16:36:11-08:00 summary: GH-122679: Add `register()` to argparse docs (#126939)

[Python-checkins] GH-126601: `pathname2url()`: handle NTFS alternate data streams (#126760)

2024-11-21 Thread barneygale
https://github.com/python/cpython/commit/fd133d4f21cd7f5cbf6bcf332290ce52e5501167 commit: fd133d4f21cd7f5cbf6bcf332290ce52e5501167 branch: main author: Barney Gale committer: barneygale date: 2024-11-22T00:29:05Z summary: GH-126601: `pathname2url()`: handle NTFS alternate data streams (#126760)

[Python-checkins] gh-126091: Always link generator frames when propagating a thrown-in exception through a yield-from chain (#126092)

2024-11-21 Thread DinoV
https://github.com/python/cpython/commit/e8bb05394164e7735f7a9de80a046953606a38eb commit: e8bb05394164e7735f7a9de80a046953606a38eb branch: main author: Jacob Bower <[email protected]> committer: DinoV date: 2024-11-21T17:37:49-06:00 summary: gh-126091: Always link generat

[Python-checkins] Improve comment for co_nlocalsplus (#126993)

2024-11-21 Thread DinoV
https://github.com/python/cpython/commit/3fafc1bd83d1f2c19f124d234a0ece988dad8b0a commit: 3fafc1bd83d1f2c19f124d234a0ece988dad8b0a branch: main author: Jacob Bower <[email protected]> committer: DinoV date: 2024-11-21T17:26:25-06:00 summary: Improve comment for co_nlocals

[Python-checkins] gh-115999: Add free-threaded specialization for ``TO_BOOL`` (gh-126616)

2024-11-21 Thread corona10
https://github.com/python/cpython/commit/78a530a57800264433d1874a41c91b0939156c03 commit: 78a530a57800264433d1874a41c91b0939156c03 branch: main author: Donghee Na committer: corona10 date: 2024-11-22T07:52:16+09:00 summary: gh-115999: Add free-threaded specialization for ``TO_BOOL`` (gh-126616)

[Python-checkins] gh-115999: Specialize `LOAD_GLOBAL` in free-threaded builds (#126607)

2024-11-21 Thread mpage
https://github.com/python/cpython/commit/09c240f20c47db126ad7e162df41e5c2596962d4 commit: 09c240f20c47db126ad7e162df41e5c2596962d4 branch: main author: mpage committer: mpage date: 2024-11-21T11:22:21-08:00 summary: gh-115999: Specialize `LOAD_GLOBAL` in free-threaded builds (#126607) Enable sp

[Python-checkins] gh-114940: Add _Py_FOR_EACH_TSTATE_UNLOCKED(), and Friends (gh-127077)

2024-11-21 Thread ericsnowcurrently
https://github.com/python/cpython/commit/9dabace39d118ec7a204b6970f8a3f475a11522c commit: 9dabace39d118ec7a204b6970f8a3f475a11522c branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-11-21T11:08:38-07:00 summary: gh-114940: Add _Py_FOR_EACH_TSTATE_UNLOCKED(), and Friends (gh-1

[Python-checkins] [3.13] gh-126986: Stop Using _PyInterpreterState_FailIfNotRunning() (gh-127112)

2024-11-21 Thread ericsnowcurrently
https://github.com/python/cpython/commit/8cdd636f877c906121b27934522876a1d9ac12db commit: 8cdd636f877c906121b27934522876a1d9ac12db branch: 3.13 author: Eric Snow committer: ericsnowcurrently date: 2024-11-21T10:33:15-07:00 summary: [3.13] gh-126986: Stop Using _PyInterpreterState_FailIfNotRunnin

[Python-checkins] [3.13] gh-127020: Make `PyCode_GetCode` thread-safe for free threading (GH-127043) (GH-127107)

2024-11-21 Thread colesbury
https://github.com/python/cpython/commit/c74331413ea847ff1099f584e5fecbd7f5036f7d commit: c74331413ea847ff1099f584e5fecbd7f5036f7d branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: colesbury date: 2024-11-21T16:27:36Z summary: [3.13] gh-127020

[Python-checkins] gh-124470: Fix crash when reading from object instance dictionary while replacing it (#122489)

2024-11-21 Thread DinoV
https://github.com/python/cpython/commit/bf542f8bb9f12f0df9481fb21545806dd9e1 commit: bf542f8bb9f12f0df9481fb21545806dd9e1 branch: main author: Dino Viehland committer: DinoV date: 2024-11-21T10:41:19-06:00 summary: gh-124470: Fix crash when reading from object instance dictionary while

[Python-checkins] gh-127020: Make `PyCode_GetCode` thread-safe for free threading (#127043)

2024-11-21 Thread colesbury
https://github.com/python/cpython/commit/3926842117feffe5d2c9727e1899bea5ae2adb28 commit: 3926842117feffe5d2c9727e1899bea5ae2adb28 branch: main author: Sam Gross committer: colesbury date: 2024-11-21T11:00:50-05:00 summary: gh-127020: Make `PyCode_GetCode` thread-safe for free threading (#127043

[Python-checkins] [3.13] gh-124873: Tolerate 100 ms in TimerfdTests on Android (GH-127101) (#127105)

2024-11-21 Thread vstinner
https://github.com/python/cpython/commit/c09366b1fed2289530581505834b2b262120a7c7 commit: c09366b1fed2289530581505834b2b262120a7c7 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-11-21T15:29:01Z summary: [3.13] gh-124873:

[Python-checkins] gh-126780: Fix `ntpath.normpath()` for drive-relative paths (GH-126801)

2024-11-21 Thread zooba
https://github.com/python/cpython/commit/60ec854bc297e04718fe13db3605d0465bf8badb commit: 60ec854bc297e04718fe13db3605d0465bf8badb branch: main author: Nice Zombies committer: zooba date: 2024-11-21T14:43:36Z summary: gh-126780: Fix `ntpath.normpath()` for drive-relative paths (GH-126801) files

[Python-checkins] gh-126780: Fix `ntpath.normpath()` for drive-relative paths (GH-126801)

2024-11-21 Thread zooba
https://github.com/python/cpython/commit/48eb5c978e6a47e9597b6bde57be13688354f3c8 commit: 48eb5c978e6a47e9597b6bde57be13688354f3c8 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: zooba date: 2024-11-21T15:10:12Z summary: gh-126780: Fix `ntpa

[Python-checkins] gh-118761: Improve import time of `mimetypes` (#126979)

2024-11-21 Thread hugovk
https://github.com/python/cpython/commit/dc7a2b6522ec7af41282bc34f405bee9b306d611 commit: dc7a2b6522ec7af41282bc34f405bee9b306d611 branch: main author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2024-11-21T16:55:28+0

[Python-checkins] gh-124873: Tolerate 100 ms in TimerfdTests on Android (#127101)

2024-11-21 Thread vstinner
https://github.com/python/cpython/commit/bab4b0462ebd782dd6965beb0ccae6341af43ceb commit: bab4b0462ebd782dd6965beb0ccae6341af43ceb branch: main author: Victor Stinner committer: vstinner date: 2024-11-21T15:53:52+01:00 summary: gh-124873: Tolerate 100 ms in TimerfdTests on Android (#127101) On

[Python-checkins] gh-126316: Make grp.getgrall() thread-safe: add a mutex (#127055)

2024-11-21 Thread vstinner
https://github.com/python/cpython/commit/3c2bd66e21bd8de69a89ebf09ff9d8e78ddfb839 commit: 3c2bd66e21bd8de69a89ebf09ff9d8e78ddfb839 branch: main author: Victor Stinner committer: vstinner date: 2024-11-21T15:47:24+01:00 summary: gh-126316: Make grp.getgrall() thread-safe: add a mutex (#127055) g

[Python-checkins] [3.12] gh-126997: Fix support of non-ASCII strings in pickletools (GH-127062) (GH-127095)

2024-11-21 Thread serhiy-storchaka
https://github.com/python/cpython/commit/d997be051017ac84d3b5ebf69aa0a11b2a61c230 commit: d997be051017ac84d3b5ebf69aa0a11b2a61c230 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-11-21T11:32:16Z summary: [3.12] gh

[Python-checkins] gh-126997: Fix support of non-ASCII strings in pickletools (GH-127062)

2024-11-21 Thread serhiy-storchaka
https://github.com/python/cpython/commit/eaf217108226633c03cc5c4c90f0b6e4587c8803 commit: eaf217108226633c03cc5c4c90f0b6e4587c8803 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-11-21T13:15:12+02:00 summary: gh-126997: Fix support of non-ASCII strings in pickletools

[Python-checkins] gh-112136: Remove unused #include "pycore_lock.h" (#127093)

2024-11-21 Thread vstinner
https://github.com/python/cpython/commit/0c5556fcb7315f26aa4b192e341cb2a72bb78f41 commit: 0c5556fcb7315f26aa4b192e341cb2a72bb78f41 branch: main author: Victor Stinner committer: vstinner date: 2024-11-21T13:50:11+01:00 summary: gh-112136: Remove unused #include "pycore_lock.h" (#127093) pycore_

[Python-checkins] [3.13] gh-126727: Fix locale.nl_langinfo(locale.ERA) (GH-126730) (GH-127097)

2024-11-21 Thread serhiy-storchaka
https://github.com/python/cpython/commit/6e5e7bc5f837ea7407e55efc23df5b4f54acd175 commit: 6e5e7bc5f837ea7407e55efc23df5b4f54acd175 branch: 3.13 author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-11-21T11:49:19Z summary: [3.13] gh-126727: Fix locale.nl_langinfo(locale.ERA) (GH-126730

[Python-checkins] gh-126727: Fix locale.nl_langinfo(locale.ERA) (GH-126730)

2024-11-21 Thread serhiy-storchaka
https://github.com/python/cpython/commit/4803cd0244847f286641c85591fda08b513cea52 commit: 4803cd0244847f286641c85591fda08b513cea52 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-11-21T13:16:08+02:00 summary: gh-126727: Fix locale.nl_langinfo(locale.ERA) (GH-126730)

[Python-checkins] [3.13] gh-126997: Fix support of non-ASCII strings in pickletools (GH-127062) (GH-127094)

2024-11-21 Thread serhiy-storchaka
https://github.com/python/cpython/commit/eaafc7857fa8dffd177e548942b52442e63211e7 commit: eaafc7857fa8dffd177e548942b52442e63211e7 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-11-21T11:40:52Z summary: [3.13] gh

[Python-checkins] [3.12] gh-126727: Fix locale.nl_langinfo(locale.ERA) (GH-126730) (GH-127098)

2024-11-21 Thread serhiy-storchaka
https://github.com/python/cpython/commit/4b4e0dbdf49adc91c35a357ad332ab3abd4c31b1 commit: 4b4e0dbdf49adc91c35a357ad332ab3abd4c31b1 branch: 3.12 author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-11-21T11:44:37Z summary: [3.12] gh-126727: Fix locale.nl_langinfo(locale.ERA) (GH-126730

[Python-checkins] gh-127076: Disable strace tests under LD_PRELOAD (#127086)

2024-11-21 Thread vstinner
https://github.com/python/cpython/commit/ff2278e2bf660155ca8f7c0529190ca59a41c13a commit: ff2278e2bf660155ca8f7c0529190ca59a41c13a branch: main author: Cody Maloney committer: vstinner date: 2024-11-21T10:33:12+01:00 summary: gh-127076: Disable strace tests under LD_PRELOAD (#127086) Distributi