[Python-checkins] GH-116380: Speed up `glob.[i]glob()` by making fewer system calls. (#116392)

2025-02-28 Thread barneygale
https://github.com/python/cpython/commit/da4899b94a9a9083fed4972b2473546e0d997727 commit: da4899b94a9a9083fed4972b2473546e0d997727 branch: main author: Barney Gale committer: barneygale date: 2025-02-28T20:33:51Z summary: GH-116380: Speed up `glob.[i]glob()` by making fewer system calls. (#11639

[Python-checkins] Revert "gh-128942: make `array` module thread safe (#128943)" (#130707)

2025-02-28 Thread colesbury
https://github.com/python/cpython/commit/75f38af7810af1c3ca567d6224a975f85aef970f commit: 75f38af7810af1c3ca567d6224a975f85aef970f branch: main author: Sam Gross committer: colesbury date: 2025-02-28T16:57:48-05:00 summary: Revert "gh-128942: make `array` module thread safe (#128943)" (#130707)

[Python-checkins] GH-130296: Avoid stack transients in four instructions. (GH-130310)

2025-02-28 Thread markshannon
https://github.com/python/cpython/commit/54965f3fb25b381995a73b09d928c344bd2b86bd commit: 54965f3fb25b381995a73b09d928c344bd2b86bd branch: main author: Mark Shannon committer: markshannon date: 2025-02-28T18:00:38Z summary: GH-130296: Avoid stack transients in four instructions. (GH-130310) * C

[Python-checkins] GH-130608: Remove `dirs_exist_ok` argument from `pathlib.Path.copy()` (#130610)

2025-02-28 Thread barneygale
https://github.com/python/cpython/commit/b5454509612870dd0e09aaba4b79865a5faad284 commit: b5454509612870dd0e09aaba4b79865a5faad284 branch: main author: Barney Gale committer: barneygale date: 2025-02-28T19:29:20Z summary: GH-130608: Remove `dirs_exist_ok` argument from `pathlib.Path.copy()` (#13

[Python-checkins] gh-130660: Restore sys.ps1 and sys.ps2 after code.interact (#130661)

2025-02-28 Thread gaogaotiantian
https://github.com/python/cpython/commit/fdcbc29f26448f47201ec40fcf3b6405631c85d3 commit: fdcbc29f26448f47201ec40fcf3b6405631c85d3 branch: main author: Tian Gao committer: gaogaotiantian date: 2025-02-28T13:15:55-05:00 summary: gh-130660: Restore sys.ps1 and sys.ps2 after code.interact (#130661)

[Python-checkins] gh-129666: Revert "gh-129666: Add C11/C++11 to docs and `-pedantic-errors` to GCC/clang test_c[pp]ext tests (GH-130686)" (GH-130688)

2025-02-28 Thread encukou
https://github.com/python/cpython/commit/ab11c097052757b79060c75dd4835c2431e752b7 commit: ab11c097052757b79060c75dd4835c2431e752b7 branch: main author: Petr Viktorin committer: encukou date: 2025-02-28T16:05:36Z summary: gh-129666: Revert "gh-129666: Add C11/C++11 to docs and `-pedantic-errors`

[Python-checkins] gh-129666: Add C11/C++11 to docs and `-pedantic-errors` to GCC/clang test_c[pp]ext tests (GH-130686)

2025-02-28 Thread encukou
https://github.com/python/cpython/commit/003e6d2b9776c07147a9c628eb028fd2ac3f0008 commit: 003e6d2b9776c07147a9c628eb028fd2ac3f0008 branch: main author: Petr Viktorin committer: encukou date: 2025-02-28T16:03:02+01:00 summary: gh-129666: Add C11/C++11 to docs and `-pedantic-errors` to GCC/clang

[Python-checkins] [3.13] gh-124878: Add temporary TSAN suppression for free_threadstate (gh-130602) (gh-130687)

2025-02-28 Thread colesbury
https://github.com/python/cpython/commit/137595f2a184b3f7aba739c5dcfb2fb5c8cba8a0 commit: 137595f2a184b3f7aba739c5dcfb2fb5c8cba8a0 branch: 3.13 author: Sam Gross committer: colesbury date: 2025-02-28T14:53:35Z summary: [3.13] gh-124878: Add temporary TSAN suppression for free_threadstate (gh-13

[Python-checkins] gh-124878: Add temporary TSAN suppression for free_threadstate (gh-130602)

2025-02-28 Thread colesbury
https://github.com/python/cpython/commit/cc17307faaa248535c65f6a7668e06dc8ef04575 commit: cc17307faaa248535c65f6a7668e06dc8ef04575 branch: main author: Sam Gross committer: colesbury date: 2025-02-28T09:27:51-05:00 summary: gh-124878: Add temporary TSAN suppression for free_threadstate (gh-13060

[Python-checkins] gh-130605: Use relaxed atomics to set the GIL switch interval (gh-130654)

2025-02-28 Thread colesbury
https://github.com/python/cpython/commit/038e4d606bdc3e38f74514ae3ddfdc7a48b7b19e commit: 038e4d606bdc3e38f74514ae3ddfdc7a48b7b19e branch: main author: Sam Gross committer: colesbury date: 2025-02-28T09:27:18-05:00 summary: gh-130605: Use relaxed atomics to set the GIL switch interval (gh-130654

[Python-checkins] gh-130665: Only apply locale to calendar CLI via `--locale` and not `LANG` env var (#130676)

2025-02-28 Thread hugovk
https://github.com/python/cpython/commit/c1b4a6bd6151d0f777c5256e1d5e2304717932e6 commit: c1b4a6bd6151d0f777c5256e1d5e2304717932e6 branch: main author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2025-02-28T16:24:05+0

[Python-checkins] gh-46236: PyUnicode docs improvements (GH-129966)

2025-02-28 Thread encukou
https://github.com/python/cpython/commit/e21863ce78b17ab9fc98df08681d89e57c275a60 commit: e21863ce78b17ab9fc98df08681d89e57c275a60 branch: main author: Petr Viktorin committer: encukou date: 2025-02-28T15:11:44+01:00 summary: gh-46236: PyUnicode docs improvements (GH-129966) Move deprecated PyU

[Python-checkins] [3.12] gh-130607: Extend and cleanup IPv6 tests (GH-121518) (GH-130678)

2025-02-28 Thread encukou
https://github.com/python/cpython/commit/d922aa80fd2569db0e473cb570ac52465299a6fe commit: d922aa80fd2569db0e473cb570ac52465299a6fe branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: encukou date: 2025-02-28T12:41:34+01:00 summary: [3.12] gh-130

[Python-checkins] [3.13] gh-130607: Extend and cleanup IPv6 tests (GH-121518) (GH-130679)

2025-02-28 Thread encukou
https://github.com/python/cpython/commit/9d825d4281080c17af804d90549f94a5518161ab commit: 9d825d4281080c17af804d90549f94a5518161ab branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: encukou date: 2025-02-28T12:41:41+01:00 summary: [3.13] gh-130

[Python-checkins] gh-130607: Extend and cleanup IPv6 tests (GH-121518)

2025-02-28 Thread encukou
https://github.com/python/cpython/commit/9f0879baf15fdcf89f1b85cc244d596d4d0f4e47 commit: 9f0879baf15fdcf89f1b85cc244d596d4d0f4e47 branch: main author: Ilya Bazhenov <[email protected]> committer: encukou date: 2025-02-28T11:31:30+01:00 summary: gh-130607: Extend and cleanu

[Python-checkins] [3.13] Postpone inclusion after Python.h (#130641) (#130675)

2025-02-28 Thread vstinner
https://github.com/python/cpython/commit/9184b1b0319311cdd07110e2e389c0b1b7f17ad8 commit: 9184b1b0319311cdd07110e2e389c0b1b7f17ad8 branch: 3.13 author: Victor Stinner committer: vstinner date: 2025-02-28T09:40:06Z summary: [3.13] Postpone inclusion after Python.h (#130641) (#130675) Postpone

[Python-checkins] [3.13] gh-130655: Increase test coverage of gettext._expand_lang() (GH-130656) (GH-130671)

2025-02-28 Thread serhiy-storchaka
https://github.com/python/cpython/commit/b223dc70cdddc6d3f21840b629e99c98b16433eb commit: b223dc70cdddc6d3f21840b629e99c98b16433eb branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-02-28T09:02:18Z summary: [3.13] gh

[Python-checkins] [3.12] gh-112507: Detect Cygwin and MSYS with `uname` instead of `$OSTYPE` (GH-112508) (GH-130674)

2025-02-28 Thread vsajip
https://github.com/python/cpython/commit/4eb14211a58bda35134caa40b1d36ccb0f16383b commit: 4eb14211a58bda35134caa40b1d36ccb0f16383b branch: 3.12 author: Vinay Sajip committer: vsajip date: 2025-02-28T09:23:45Z summary: [3.12] gh-112507: Detect Cygwin and MSYS with `uname` instead of `$OSTYPE` (G

[Python-checkins] Postpone inclusion after Python.h (#130641)

2025-02-28 Thread vstinner
https://github.com/python/cpython/commit/830f04b5056db92ba96387db0a778dcd19a39522 commit: 830f04b5056db92ba96387db0a778dcd19a39522 branch: main author: Hugo Beauzée-Luyssen committer: vstinner date: 2025-02-28T10:09:27+01:00 summary: Postpone inclusion after Python.h (#130641) Remove inclusion

[Python-checkins] [3.12] gh-129726: Break `gzip.GzipFile` reference loop (GH-130055) (#130670)

2025-02-28 Thread vstinner
https://github.com/python/cpython/commit/500ea3b0ee04ee3589597dcbe6a2b9fb8251fc65 commit: 500ea3b0ee04ee3589597dcbe6a2b9fb8251fc65 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-02-28T08:28:14Z summary: [3.12] gh-129726:

[Python-checkins] gh-130595: Fix leak in WITH_EXCEPT_START error case (GH-130626)

2025-02-28 Thread markshannon
https://github.com/python/cpython/commit/fecf8bc8f2fd09a9a4c5177d32dbb42920b4e177 commit: fecf8bc8f2fd09a9a4c5177d32dbb42920b4e177 branch: main author: Petr Viktorin committer: markshannon date: 2025-02-28T08:58:50Z summary: gh-130595: Fix leak in WITH_EXCEPT_START error case (GH-130626) Co-aut

[Python-checkins] [3.12] gh-130655: Increase test coverage of gettext._expand_lang() (GH-130656) (GH-130672)

2025-02-28 Thread serhiy-storchaka
https://github.com/python/cpython/commit/aa91a11c4018c83f83fa456e17373d4e30d1a7fc commit: aa91a11c4018c83f83fa456e17373d4e30d1a7fc branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-02-28T08:58:09Z summary: [3.12] gh

[Python-checkins] gh-130655: Increase test coverage of gettext._expand_lang() (GH-130656)

2025-02-28 Thread serhiy-storchaka
https://github.com/python/cpython/commit/24c52cb14c4b044154bd46bd1b2a9c37076caeb9 commit: 24c52cb14c4b044154bd46bd1b2a9c37076caeb9 branch: main author: Tomas R. committer: serhiy-storchaka date: 2025-02-28T10:40:36+02:00 summary: gh-130655: Increase test coverage of gettext._expand_lang() (GH-13

[Python-checkins] [3.13] gh-129726: Break `gzip.GzipFile` reference loop (GH-130055) (#130669)

2025-02-28 Thread vstinner
https://github.com/python/cpython/commit/ad97027e9b010d07272aeb8b3151bc59f710f367 commit: ad97027e9b010d07272aeb8b3151bc59f710f367 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-02-28T08:32:44Z summary: [3.13] gh-129726:

[Python-checkins] gh-129726: Break `gzip.GzipFile` reference loop (#130055)

2025-02-28 Thread vstinner
https://github.com/python/cpython/commit/7f39137662f637518a74228286e7ec675fa4e27d commit: 7f39137662f637518a74228286e7ec675fa4e27d branch: main author: Cody Maloney committer: vstinner date: 2025-02-28T09:09:24+01:00 summary: gh-129726: Break `gzip.GzipFile` reference loop (#130055) A reference

[Python-checkins] [3.13] gh-129296: Fix `pyatomic.h` include paths (GH-129320) (#130667)

2025-02-28 Thread vstinner
https://github.com/python/cpython/commit/125ca028664ce72556e3983b57f521a118c4e677 commit: 125ca028664ce72556e3983b57f521a118c4e677 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-02-28T08:22:15Z summary: [3.13] gh-129296:

[Python-checkins] [3.12] gh-129296: Fix `pythread.h` include paths (#129320) (#130668)

2025-02-28 Thread vstinner
https://github.com/python/cpython/commit/107e08dfb18c7d752f8452dcc659f0225b1a25fa commit: 107e08dfb18c7d752f8452dcc659f0225b1a25fa branch: 3.12 author: Victor Stinner committer: vstinner date: 2025-02-28T08:19:50Z summary: [3.12] gh-129296: Fix `pythread.h` include paths (#129320) (#130668) gh-

[Python-checkins] [3.13] gh-130617 : fix time_clockid_converter on DragonFlyBSD (GH-130634) (#130666)

2025-02-28 Thread vstinner
https://github.com/python/cpython/commit/bafad8518149e5fd0d62fae83676e85e409246fd commit: bafad8518149e5fd0d62fae83676e85e409246fd branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-02-28T08:19:45Z summary: [3.13] gh-130617