[Python-checkins] gh-130940: Modify default behavior of `PyConfig.use_system_logger` to enable on iOS (#131172)

2025-03-12 Thread freakboy3742
https://github.com/python/cpython/commit/dd6d24e9d20407ea31a3bb653eab252ee0d41ffa commit: dd6d24e9d20407ea31a3bb653eab252ee0d41ffa branch: main author: Russell Keith-Magee committer: freakboy3742 date: 2025-03-13T14:28:49+08:00 summary: gh-130940: Modify default behavior of `PyConfig.use_system_

[Python-checkins] gh-81267: Correct time.sleep() error message (#131055)

2025-03-12 Thread vstinner
https://github.com/python/cpython/commit/155c44b9015089eacc6e2ace449391c12bfb8b8d commit: 155c44b9015089eacc6e2ace449391c12bfb8b8d branch: main author: Stan Ulbrych <89152624+stanfromirel...@users.noreply.github.com> committer: vstinner date: 2025-03-12T08:12:57Z summary: gh-81267: Correct time.s

[Python-checkins] Remove vestigial code in socketmodule.c for Mac OS X 10.1 (#131090)

2025-03-12 Thread ned-deily
https://github.com/python/cpython/commit/f7ac656c8ea9738bd430bfaa43b6c65fd9d9ad11 commit: f7ac656c8ea9738bd430bfaa43b6c65fd9d9ad11 branch: main author: Max Bachmann committer: ned-deily date: 2025-03-13T00:13:07-04:00 summary: Remove vestigial code in socketmodule.c for Mac OS X 10.1 (#131090)

[Python-checkins] [3.13] gh-130940: Remove PyConfig.use_system_logger (#131129)

2025-03-12 Thread freakboy3742
https://github.com/python/cpython/commit/589f422d1bb5892ad0c14d2414abca1de1049767 commit: 589f422d1bb5892ad0c14d2414abca1de1049767 branch: 3.13 author: Russell Keith-Magee committer: freakboy3742 date: 2025-03-13T11:53:11+08:00 summary: [3.13] gh-130940: Remove PyConfig.use_system_logger (#13112

[Python-checkins] gh-127503: Improve tracebacks on Emscripten when there is a trap (#131158)

2025-03-12 Thread freakboy3742
https://github.com/python/cpython/commit/db1e5827c45ad737bf83f358a2851e943626d29b commit: db1e5827c45ad737bf83f358a2851e943626d29b branch: main author: Hood Chatham committer: freakboy3742 date: 2025-03-13T08:28:15+08:00 summary: gh-127503: Improve tracebacks on Emscripten when there is a trap (

[Python-checkins] gh-123471: make `itertools.batched` thread-safe (#129416)

2025-03-12 Thread kumaraditya303
https://github.com/python/cpython/commit/405a2d74cbdef5a899c900b6897ec85fe465abd2 commit: 405a2d74cbdef5a899c900b6897ec85fe465abd2 branch: main author: Pieter Eendebak committer: kumaraditya303 date: 2025-03-12T15:30:33+05:30 summary: gh-123471: make `itertools.batched` thread-safe (#129416) fi

[Python-checkins] Improve docstring for random.binomialvariate (gh-131164)

2025-03-12 Thread rhettinger
https://github.com/python/cpython/commit/25f24b01e3b675c6afbb653f07034a3c9a6aee32 commit: 25f24b01e3b675c6afbb653f07034a3c9a6aee32 branch: main author: Raymond Hettinger committer: rhettinger date: 2025-03-12T13:25:31-05:00 summary: Improve docstring for random.binomialvariate (gh-131164) Add p

[Python-checkins] gh-126835: Avoid creating unnecessary tuple when looking for constant sequence during constant folding (#131054)

2025-03-12 Thread iritkatriel
https://github.com/python/cpython/commit/3618240624d98de2a68a79dc174d49efb96cc2e6 commit: 3618240624d98de2a68a79dc174d49efb96cc2e6 branch: main author: Yan Yanchii committer: iritkatriel <1055913+iritkatr...@users.noreply.github.com> date: 2025-03-12T21:45:54Z summary: gh-126835: Avoid creating u

[Python-checkins] gh-131123: Support completion in `pdb` for convenience variable attributes (#131124)

2025-03-12 Thread gaogaotiantian
https://github.com/python/cpython/commit/b52866953a64c5e0fe57784fbcfc6bec87861563 commit: b52866953a64c5e0fe57784fbcfc6bec87861563 branch: main author: Tian Gao committer: gaogaotiantian date: 2025-03-12T17:23:53-04:00 summary: gh-131123: Support completion in `pdb` for convenience variable attr

[Python-checkins] gh-131045: [Enum] fix flag containment checks when using values (GH-131053)

2025-03-12 Thread ethanfurman
https://github.com/python/cpython/commit/17d06aeb5476099bc1acd89cd6f69e239e0f9350 commit: 17d06aeb5476099bc1acd89cd6f69e239e0f9350 branch: main author: Ethan Furman committer: ethanfurman date: 2025-03-12T12:10:47-07:00 summary: gh-131045: [Enum] fix flag containment checks when using values (GH

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

2025-03-12 Thread barneygale
https://github.com/python/cpython/commit/db6a998b18e9476226507144b3b2fab854095dbc commit: db6a998b18e9476226507144b3b2fab854095dbc branch: main author: Barney Gale committer: barneygale date: 2025-03-12T19:06:43Z summary: GH-130614: pathlib ABCs: revise test suite for writable paths (#131112) T

[Python-checkins] gh-131141: fix data race in instrumentation while registering callback (#131142)

2025-03-12 Thread kumaraditya303
https://github.com/python/cpython/commit/ea57ffa02e42dc430f2cb2312cdfc3d7ff7a5c70 commit: ea57ffa02e42dc430f2cb2312cdfc3d7ff7a5c70 branch: main author: Kumar Aditya committer: kumaraditya303 date: 2025-03-13T00:11:52+05:30 summary: gh-131141: fix data race in instrumentation while registering ca

[Python-checkins] gh-110097: Fix flaky `test_timeout` in `test_concurrent_futures.test_process_pool` (gh-131108)

2025-03-12 Thread colesbury
https://github.com/python/cpython/commit/776ec1e16728c6febd879e682afcd13d3bc7b53f commit: 776ec1e16728c6febd879e682afcd13d3bc7b53f branch: main author: Sam Gross committer: colesbury date: 2025-03-12T13:16:23-04:00 summary: gh-110097: Fix flaky `test_timeout` in `test_concurrent_futures.test_pr

[Python-checkins] GH-127705: Fix _Py_RefcntAdd to handle objects becoming immortal (GH-131140)

2025-03-12 Thread markshannon
https://github.com/python/cpython/commit/f30376c650c40e0819edd9981e45f8ba206fdd83 commit: f30376c650c40e0819edd9981e45f8ba206fdd83 branch: main author: Mark Shannon committer: markshannon date: 2025-03-12T16:54:10Z summary: GH-127705: Fix _Py_RefcntAdd to handle objects becoming immortal (GH-131

[Python-checkins] gh-111178: Change Argument Clinic signature for `@classmethod` (#131157)

2025-03-12 Thread vstinner
https://github.com/python/cpython/commit/061da44bacf347cc1fe82b03976e95f9c0992673 commit: 061da44bacf347cc1fe82b03976e95f9c0992673 branch: main author: Victor Stinner committer: vstinner date: 2025-03-12T17:42:07+01:00 summary: gh-78: Change Argument Clinic signature for `@classmethod` (#131

[Python-checkins] gh-111178: Fix type of PyCMethod's "nargs" argument (GH-131135)

2025-03-12 Thread encukou
https://github.com/python/cpython/commit/4dcbe06fd264b3f9c0b26831f19d211a48c52286 commit: 4dcbe06fd264b3f9c0b26831f19d211a48c52286 branch: main author: Victor Stinner committer: encukou date: 2025-03-12T11:54:02+01:00 summary: gh-78: Fix type of PyCMethod's "nargs" argument (GH-131135) Repl

[Python-checkins] gh-115999: Add free-threaded specialization for FOR_ITER (#128798)

2025-03-12 Thread Yhg1s
https://github.com/python/cpython/commit/de2f7da77d9e8dc6758430249e7179d37b3fee44 commit: de2f7da77d9e8dc6758430249e7179d37b3fee44 branch: main author: T. Wouters committer: Yhg1s date: 2025-03-12T16:21:46+01:00 summary: gh-115999: Add free-threaded specialization for FOR_ITER (#128798) Add fre

[Python-checkins] gh-131152, pkgutil: Remove unused imports (#131149)

2025-03-12 Thread vstinner
https://github.com/python/cpython/commit/14aed5e8abb84018cf48ebd1dd2ccc483013a005 commit: 14aed5e8abb84018cf48ebd1dd2ccc483013a005 branch: main author: Victor Stinner committer: vstinner date: 2025-03-12T15:03:36+01:00 summary: gh-131152, pkgutil: Remove unused imports (#131149) files: M Lib/pk

[Python-checkins] gh-131152: Remove unused imports in `_pyrepl` and `ctypes` (#131150)

2025-03-12 Thread vstinner
https://github.com/python/cpython/commit/db27aee2fe253855fc57b118658f4f4718819382 commit: db27aee2fe253855fc57b118658f4f4718819382 branch: main author: Victor Stinner committer: vstinner date: 2025-03-12T14:04:12Z summary: gh-131152: Remove unused imports in `_pyrepl` and `ctypes` (#131150) fil

[Python-checkins] gh-131121: Fix `_Py_atomic_store_char_relaxed` memory order (gh-131122)

2025-03-12 Thread colesbury
https://github.com/python/cpython/commit/7ffe93faf1db3b90968af1b1d811f39529603780 commit: 7ffe93faf1db3b90968af1b1d811f39529603780 branch: main author: Sam Gross committer: colesbury date: 2025-03-12T09:03:04-04:00 summary: gh-131121: Fix `_Py_atomic_store_char_relaxed` memory order (gh-131122)

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

2025-03-12 Thread vstinner
https://github.com/python/cpython/commit/52756c30dbedafc6e5db3950049f18db2020b4bb commit: 52756c30dbedafc6e5db3950049f18db2020b4bb branch: main author: Sergey B Kirpichev committer: vstinner date: 2025-03-12T07:22:28+01:00 summary: Use subTest() in math.fma() tests (#131125) files: M Lib/test/t

[Python-checkins] gh-120608: Make reversed iterator work with free-threading (#120971)

2025-03-12 Thread ambv
https://github.com/python/cpython/commit/1fb7e2aeb7e4312b7f20f0d5f39ddd00d7762004 commit: 1fb7e2aeb7e4312b7f20f0d5f39ddd00d7762004 branch: main author: Pieter Eendebak committer: ambv date: 2025-03-12T12:39:52+01:00 summary: gh-120608: Make reversed iterator work with free-threading (#120971) C

[Python-checkins] [3.12] gh-93096: Load doctests in `test_itertools` (GH-131133) (#131137)

2025-03-12 Thread vstinner
https://github.com/python/cpython/commit/969631aec9b9de7cf3ade488beb0b315e236ea8e commit: 969631aec9b9de7cf3ade488beb0b315e236ea8e branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: vstinner date: 2025-03-12T08:00:17Z summary: [3.12] gh-93096:

[Python-checkins] gh-129349: Accept bytes in bytes.fromhex()/bytearray.fromhex() (#129844)

2025-03-12 Thread vstinner
https://github.com/python/cpython/commit/e0637cebe5bf863897f2e89dfcb76be0015c1877 commit: e0637cebe5bf863897f2e89dfcb76be0015c1877 branch: main author: Daniel Pope committer: vstinner date: 2025-03-12T11:40:11+01:00 summary: gh-129349: Accept bytes in bytes.fromhex()/bytearray.fromhex() (#129844

[Python-checkins] [3.13] gh-93096: Load doctests in `test_itertools` (GH-131133) (#131136)

2025-03-12 Thread vstinner
https://github.com/python/cpython/commit/65b58291b0c0e7d87383514f62dea4d875f76950 commit: 65b58291b0c0e7d87383514f62dea4d875f76950 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: vstinner date: 2025-03-12T08:03:24Z summary: [3.13] gh-93096:

[Python-checkins] gh-93096: Load doctests in `test_itertools` (#131133)

2025-03-12 Thread vstinner
https://github.com/python/cpython/commit/15a8412b5e12ae46761843d4442c7b56ffa75176 commit: 15a8412b5e12ae46761843d4442c7b56ffa75176 branch: main author: donBarbos committer: vstinner date: 2025-03-12T08:40:59+01:00 summary: gh-93096: Load doctests in `test_itertools` (#131133) files: M Lib/test/