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

2025-03-24 Thread picnixz
https://github.com/python/cpython/commit/b3dccc0ce2f53936fdae50498388679f2a408b3f commit: b3dccc0ce2f53936fdae50498388679f2a408b3f branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: picnixz <[email protected]> date: 2025-0

[Python-checkins] gh-131666: mark `anext_awaitable.close` as a `METH_NOARGS` instead of `METH_VARARGS` (#131671)

2025-03-24 Thread kumaraditya303
https://github.com/python/cpython/commit/1393bd35485d9a8aa99ceb7389fece91bb3fdefa commit: 1393bd35485d9a8aa99ceb7389fece91bb3fdefa branch: main author: Bénédikt Tran <[email protected]> committer: kumaraditya303 date: 2025-03-25T09:03:22+05:30 summary: gh-131666: mark `ane

[Python-checkins] GH-131473: Override PreferredToolArchitecture when using Visual Studio bundled clang-cl (GH-131689)

2025-03-24 Thread zooba
https://github.com/python/cpython/commit/c3b8d73208a25735b6355de73297a51e9c1306b3 commit: c3b8d73208a25735b6355de73297a51e9c1306b3 branch: main author: Chris Eibl <[email protected]> committer: zooba date: 2025-03-24T23:15:51Z summary: GH-131473: Override PreferredTool

[Python-checkins] gh-127146: Fix Emscripten build with --pydebug (#131672)

2025-03-24 Thread freakboy3742
https://github.com/python/cpython/commit/97ab8fc16a8e0b0e2e68777d0d2f035b3d75a229 commit: 97ab8fc16a8e0b0e2e68777d0d2f035b3d75a229 branch: main author: Hood Chatham committer: freakboy3742 date: 2025-03-25T05:43:31+08:00 summary: gh-127146: Fix Emscripten build with --pydebug (#131672) Removes

[Python-checkins] [3.13] gh-131677: Fix flaky test_lru_cache_threaded3 (gh-131679) (gh-131692)

2025-03-24 Thread colesbury
https://github.com/python/cpython/commit/c22eef44d8b1d2828108b49a735359917ad1da79 commit: c22eef44d8b1d2828108b49a735359917ad1da79 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: colesbury date: 2025-03-24T21:05:55Z summary: [3.13] gh-131677

[Python-checkins] [3.12] gh-131677: Fix flaky test_lru_cache_threaded3 (gh-131679) (gh-131693)

2025-03-24 Thread colesbury
https://github.com/python/cpython/commit/e78280d0de81233b72ca4bc3c39fb7b1ada3a92c commit: e78280d0de81233b72ca4bc3c39fb7b1ada3a92c branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: colesbury date: 2025-03-24T20:59:03Z summary: [3.12] gh-131677

[Python-checkins] gh-131677: Fix flaky test_lru_cache_threaded3 (gh-131679)

2025-03-24 Thread colesbury
https://github.com/python/cpython/commit/a1232459860235f4fb7896cc95966d87a51cbe32 commit: a1232459860235f4fb7896cc95966d87a51cbe32 branch: main author: Sam Gross committer: colesbury date: 2025-03-24T16:41:50-04:00 summary: gh-131677: Fix flaky test_lru_cache_threaded3 (gh-131679) The call to `

[Python-checkins] [3.12] gh-131670: Fix crash in `anext()` when `__anext__` is sync and raises (GH-131682) (#131687)

2025-03-24 Thread sobolevn
https://github.com/python/cpython/commit/76e911a040aaf16f0c76b7d2a2f29582cb98c32d commit: 76e911a040aaf16f0c76b7d2a2f29582cb98c32d branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2025-03-24T19:18:29Z summary: [3.12] gh-131670:

[Python-checkins] gh-130928: Fix error message during bytes formatting for the `'i'` flag (#130967)

2025-03-24 Thread sobolevn
https://github.com/python/cpython/commit/7c3692fe275088e986f92cec34dcccb823b31fa2 commit: 7c3692fe275088e986f92cec34dcccb823b31fa2 branch: main author: Ageev Maxim committer: sobolevn date: 2025-03-24T22:07:03+03:00 summary: gh-130928: Fix error message during bytes formatting for the `'i'` flag

[Python-checkins] gh-131670: Fix crash in `anext()` when `__anext__` is sync and raises (#131682)

2025-03-24 Thread sobolevn
https://github.com/python/cpython/commit/929afd1d6ee4fb89ac818037effe6577947103de commit: 929afd1d6ee4fb89ac818037effe6577947103de branch: main author: sobolevn committer: sobolevn date: 2025-03-24T19:00:48Z summary: gh-131670: Fix crash in `anext()` when `__anext__` is sync and raises (#131682)

[Python-checkins] gh-111178: Fix function signature in pyexpat.c (#131674)

2025-03-24 Thread vstinner
https://github.com/python/cpython/commit/5fef4ff9ed47e82bce0696672eb2e4bd8953bb1e commit: 5fef4ff9ed47e82bce0696672eb2e4bd8953bb1e branch: main author: Victor Stinner committer: vstinner date: 2025-03-24T17:22:45Z summary: gh-78: Fix function signature in pyexpat.c (#131674) Move _Py_NO_SAN

[Python-checkins] GH-131521: Uses correct build flags for zlib-ng on Windows (GH-131526)

2025-03-24 Thread zooba
https://github.com/python/cpython/commit/d16f455cd8cabbc1e7bd2369cdb8718c30ab8957 commit: d16f455cd8cabbc1e7bd2369cdb8718c30ab8957 branch: main author: Chris Eibl <[email protected]> committer: zooba date: 2025-03-24T16:21:57Z summary: GH-131521: Uses correct build fla

[Python-checkins] gh-111178: fix UBSan for example code in `extending/newtypes_tutorial` docs (GH-131606)

2025-03-24 Thread encukou
https://github.com/python/cpython/commit/1d6a2e648130cd834f7ed4fd210ef7dd4d4fc797 commit: 1d6a2e648130cd834f7ed4fd210ef7dd4d4fc797 branch: main author: Bénédikt Tran <[email protected]> committer: encukou date: 2025-03-24T17:15:32+01:00 summary: gh-78: fix UBSan for ex

[Python-checkins] gh-115684: Clarify datetime `replace` documentation (#116519)

2025-03-24 Thread pganssle
https://github.com/python/cpython/commit/d2d886215cf694d5f3e7f0cbd76507a96bac322b commit: d2d886215cf694d5f3e7f0cbd76507a96bac322b branch: main author: David Lowry-Duda committer: pganssle <[email protected]> date: 2025-03-24T11:33:16-04:00 summary: gh-115684: Clarify date

[Python-checkins] GH-128520: pathlib ABCs: tighten up argument types (#131621)

2025-03-24 Thread barneygale
https://github.com/python/cpython/commit/d372472896ca9d5666b40072a9ed7040300e11a0 commit: d372472896ca9d5666b40072a9ed7040300e11a0 branch: main author: Barney Gale committer: barneygale date: 2025-03-24T15:39:08Z summary: GH-128520: pathlib ABCs: tighten up argument types (#131621) In `Joinable

[Python-checkins] GH-128520: pathlib ABCs: validate `magic_open()` arguments (#131617)

2025-03-24 Thread barneygale
https://github.com/python/cpython/commit/d716ea34cb8a105e8e39a1ddfd610c3c0f11a0e7 commit: d716ea34cb8a105e8e39a1ddfd610c3c0f11a0e7 branch: main author: Barney Gale committer: barneygale date: 2025-03-24T15:13:18Z summary: GH-128520: pathlib ABCs: validate `magic_open()` arguments (#131617) When

[Python-checkins] GH-128520: pathlib ABCs: reject empty pattern in `ReadablePath.glob()` (#127343)

2025-03-24 Thread barneygale
https://github.com/python/cpython/commit/fbfb0e1f6efae7055f7420c999ad6256e10d6b62 commit: fbfb0e1f6efae7055f7420c999ad6256e10d6b62 branch: main author: Barney Gale committer: barneygale date: 2025-03-24T15:12:29Z summary: GH-128520: pathlib ABCs: reject empty pattern in `ReadablePath.glob()` (#1

[Python-checkins] GH-131296: Remove unused variable from _wmimodule.cpp (GH-131587)

2025-03-24 Thread zooba
https://github.com/python/cpython/commit/a04c0a9658237d536a68e745d1efd157ab87ec9c commit: a04c0a9658237d536a68e745d1efd157ab87ec9c branch: main author: Chris Eibl <[email protected]> committer: zooba date: 2025-03-24T14:57:07Z summary: GH-131296: Remove unused variable

[Python-checkins] gh-111178: Fix function signatures for test_socket (#131667)

2025-03-24 Thread vstinner
https://github.com/python/cpython/commit/69e94e0a1b9569a247725887d0b7f29b26802f71 commit: 69e94e0a1b9569a247725887d0b7f29b26802f71 branch: main author: Victor Stinner committer: vstinner date: 2025-03-24T14:51:32Z summary: gh-78: Fix function signatures for test_socket (#131667) Add unicode

[Python-checkins] gh-111178: Skip tests which require deep stack if UBsan (#131669)

2025-03-24 Thread vstinner
https://github.com/python/cpython/commit/b3319fe42fa7360ea07ec03c91421a9088077631 commit: b3319fe42fa7360ea07ec03c91421a9088077631 branch: main author: Victor Stinner committer: vstinner date: 2025-03-24T15:33:56+01:00 summary: gh-78: Skip tests which require deep stack if UBsan (#131669) I

[Python-checkins] gh-111178: Fix function signatures for test_capi (#131659)

2025-03-24 Thread vstinner
https://github.com/python/cpython/commit/6226edc48baa888b413f1825b992d75921bd27fc commit: 6226edc48baa888b413f1825b992d75921bd27fc branch: main author: Victor Stinner committer: vstinner date: 2025-03-24T14:04:45Z summary: gh-78: Fix function signatures for test_capi (#131659) Co-authored-b

[Python-checkins] gh-111178: Fix function signature for test_threading (#131663)

2025-03-24 Thread vstinner
https://github.com/python/cpython/commit/78f1bac7f23b6d5a612ce569f35f3e0f3b36c9ab commit: 78f1bac7f23b6d5a612ce569f35f3e0f3b36c9ab branch: main author: Victor Stinner committer: vstinner date: 2025-03-24T13:56:45Z summary: gh-78: Fix function signature for test_threading (#131663) files: M

[Python-checkins] gh-128421: Avoid TSAN warnings in `sys._current_frames()` (gh-131548)

2025-03-24 Thread colesbury
https://github.com/python/cpython/commit/da6730caa5023bd351a3f2a1b64b174c8e609489 commit: da6730caa5023bd351a3f2a1b64b174c8e609489 branch: main author: Sam Gross committer: colesbury date: 2025-03-24T09:49:39-04:00 summary: gh-128421: Avoid TSAN warnings in `sys._current_frames()` (gh-131548) T

[Python-checkins] gh-111178: Fix function signatures for test_zoneinfo (#131664)

2025-03-24 Thread vstinner
https://github.com/python/cpython/commit/459a9f9f6b97085619553a5cecb84ff6486d commit: 459a9f9f6b97085619553a5cecb84ff6486d branch: main author: Victor Stinner committer: vstinner date: 2025-03-24T14:32:46+01:00 summary: gh-78: Fix function signatures for test_zoneinfo (#131664) file

[Python-checkins] gh-111178: Fix function signatures for test_ctypes (#131660)

2025-03-24 Thread vstinner
https://github.com/python/cpython/commit/abcd9d4f7dcd804ae97821166f0d4e8c08c07972 commit: abcd9d4f7dcd804ae97821166f0d4e8c08c07972 branch: main author: Victor Stinner committer: vstinner date: 2025-03-24T14:30:13+01:00 summary: gh-78: Fix function signatures for test_ctypes (#131660) files:

[Python-checkins] [3.13] gh-131645: fix ResourceWarnings in `test_asyncio.test_events` (#131646) (#131661)

2025-03-24 Thread kumaraditya303
https://github.com/python/cpython/commit/9f36dff788c10123a7e886135814da8acb58eeea commit: 9f36dff788c10123a7e886135814da8acb58eeea branch: 3.13 author: Thomas Grainger committer: kumaraditya303 date: 2025-03-24T13:18:57Z summary: [3.13] gh-131645: fix ResourceWarnings in `test_asyncio.test_event

[Python-checkins] gh-128715: Expose ctypes.CField, with info attributes (GH-128950)

2025-03-24 Thread encukou
https://github.com/python/cpython/commit/0e53038ea825765136c5275e09f9ea9be5982b82 commit: 0e53038ea825765136c5275e09f9ea9be5982b82 branch: main author: Petr Viktorin committer: encukou date: 2025-03-24T14:18:34+01:00 summary: gh-128715: Expose ctypes.CField, with info attributes (GH-128950) - R

[Python-checkins] [3.12] Docs: Fix documentation for "PyTypeObject Definition" (GH-130936) (GH-131459)

2025-03-24 Thread encukou
https://github.com/python/cpython/commit/8159805b877a918dec8c9b5b02bff4f064ae79f3 commit: 8159805b877a918dec8c9b5b02bff4f064ae79f3 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: encukou date: 2025-03-24T13:59:40+01:00 summary: [3.12] Docs:

[Python-checkins] gh-131311: Extract _replace_array_elements from PyCStructUnionType_update_stginfo (GH-131504)

2025-03-24 Thread encukou
https://github.com/python/cpython/commit/62fb15d8666f26883add93ae00cfff22ca95de2e commit: 62fb15d8666f26883add93ae00cfff22ca95de2e branch: main author: Sergey Miryanov committer: encukou date: 2025-03-24T13:55:09+01:00 summary: gh-131311: Extract _replace_array_elements from PyCStructUnionType_

[Python-checkins] gh-128485: ensure that dlmalloc initializes itself at import time in ctypes (#131633)

2025-03-24 Thread kumaraditya303
https://github.com/python/cpython/commit/04d4aacaacbe26146e9b5ff6b0043f86f3c543d4 commit: 04d4aacaacbe26146e9b5ff6b0043f86f3c543d4 branch: main author: Kumar Aditya committer: kumaraditya303 date: 2025-03-24T18:14:25+05:30 summary: gh-128485: ensure that dlmalloc initializes itself at import tim

[Python-checkins] gh-131311: Fix additional memory leaks in ctypes (GH-131429)

2025-03-24 Thread encukou
https://github.com/python/cpython/commit/9c4fb92e126000650a8efb4d27c4e3d1af82f71e commit: 9c4fb92e126000650a8efb4d27c4e3d1af82f71e branch: main author: Sergey Miryanov committer: encukou date: 2025-03-24T13:42:10+01:00 summary: gh-131311: Fix additional memory leaks in ctypes (GH-131429) * Visi

[Python-checkins] gh-131645: fix ResourceWarnings in `test_asyncio.test_events` (#131646)

2025-03-24 Thread kumaraditya303
https://github.com/python/cpython/commit/71ce4acb25eb640a4582904172d2bb9600983f4c commit: 71ce4acb25eb640a4582904172d2bb9600983f4c branch: main author: Thomas Grainger committer: kumaraditya303 date: 2025-03-24T12:38:33Z summary: gh-131645: fix ResourceWarnings in `test_asyncio.test_events` (#13

[Python-checkins] [3.13] gh-130587: Add hand-written docs for non-OP tokens (GH-130588) (GH-131465)

2025-03-24 Thread encukou
https://github.com/python/cpython/commit/478eb731031f703bed82be72b718199d4bd68f41 commit: 478eb731031f703bed82be72b718199d4bd68f41 branch: 3.13 author: Petr Viktorin committer: encukou date: 2025-03-24T12:34:23Z summary: [3.13] gh-130587: Add hand-written docs for non-OP tokens (GH-130588) (GH-

[Python-checkins] gh-123909: Remove obsolete note in PyType_FromMetaclass docs (GH-131506)

2025-03-24 Thread encukou
https://github.com/python/cpython/commit/01ea4c77e51d6a36000da7da7bfb48c58591b225 commit: 01ea4c77e51d6a36000da7da7bfb48c58591b225 branch: main author: Petr Viktorin committer: encukou date: 2025-03-24T13:06:21+01:00 summary: gh-123909: Remove obsolete note in PyType_FromMetaclass docs (GH-13150

[Python-checkins] gh-111178: fix UBSan failures for `PyStdPrinter_Object` (#131607)

2025-03-24 Thread picnixz
https://github.com/python/cpython/commit/27f81e82df2083d9430a3084aee1860b0d5ef441 commit: 27f81e82df2083d9430a3084aee1860b0d5ef441 branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-03-24T10:57:14+

[Python-checkins] gh-111178: fix UBSan failures for `Python/instrumentation.c` (#131608)

2025-03-24 Thread picnixz
https://github.com/python/cpython/commit/43fde78bef4635a84bdbea3d0efda26d9f6a203f commit: 43fde78bef4635a84bdbea3d0efda26d9f6a203f branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-03-24T10:58:33+

[Python-checkins] gh-111178: fix UBSan failures for `Modules/_testmultiphase.c` (#131615)

2025-03-24 Thread picnixz
https://github.com/python/cpython/commit/45191797d89bfb803f059b4dfca3823b645eb701 commit: 45191797d89bfb803f059b4dfca3823b645eb701 branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-03-24T10:59:30+

[Python-checkins] gh-111178: fix UBSan failures for `Modules/_testcapimodule.c` (#131614)

2025-03-24 Thread picnixz
https://github.com/python/cpython/commit/af29d5cfd19bf2656955b9bb782cc89c7aa7000f commit: af29d5cfd19bf2656955b9bb782cc89c7aa7000f branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-03-24T10:14:22Z

[Python-checkins] gh-111178: fix UBSan failures for `PyBytesObject` (#131603)

2025-03-24 Thread picnixz
https://github.com/python/cpython/commit/a1205ef524ad5aa97af08ef77753271a84936fba commit: a1205ef524ad5aa97af08ef77753271a84936fba branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-03-24T11:02:09+

[Python-checkins] gh-111178: fix UBSan failures for `Modules/_testcapi/{buffer,monitoring}.c` (#131613)

2025-03-24 Thread picnixz
https://github.com/python/cpython/commit/491b8141f503743d88b69ff382a2be9eae4364e0 commit: 491b8141f503743d88b69ff382a2be9eae4364e0 branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-03-24T11:06:37+

[Python-checkins] gh-111178: fix UBSan failures for `Python/legacy_tracing.c` (#131611)

2025-03-24 Thread picnixz
https://github.com/python/cpython/commit/511a8440287f270eba345e5274bb3fe79ab21523 commit: 511a8440287f270eba345e5274bb3fe79ab21523 branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-03-24T11:00:32+

[Python-checkins] gh-111178: fix UBSan failures for `_PyExecutorObject` (#131610)

2025-03-24 Thread picnixz
https://github.com/python/cpython/commit/f65be097ed032bb5c4be41a027c27161860e59d6 commit: f65be097ed032bb5c4be41a027c27161860e59d6 branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-03-24T10:53:23+

[Python-checkins] gh-111178: fix UBSan failures for `PyBufferWrapper` (#131616)

2025-03-24 Thread picnixz
https://github.com/python/cpython/commit/aa444bc4afadbd9eba2fec79eb685d4fc1ca3d99 commit: aa444bc4afadbd9eba2fec79eb685d4fc1ca3d99 branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-03-24T10:52:52+

[Python-checkins] gh-111178: fix UBSan failures for `Modules/_testbuffer.c` (#131612)

2025-03-24 Thread picnixz
https://github.com/python/cpython/commit/82e541bf910fcbfbfc05ae998298fb23a0e1bbbc commit: 82e541bf910fcbfbfc05ae998298fb23a0e1bbbc branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-03-24T10:46:25+

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

2025-03-24 Thread picnixz
https://github.com/python/cpython/commit/8a9aee71268c77867d3cc96d43cbbdcbe8c0e1e8 commit: 8a9aee71268c77867d3cc96d43cbbdcbe8c0e1e8 branch: 3.12 author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-03-24T10:31:24+