[Python-checkins] Fix typo in docstring: quadruple double quotes (#127913)

2024-12-13 Thread hauntsaninja
https://github.com/python/cpython/commit/78e766f2e217572eacefba9ec31396b016aa88c2 commit: 78e766f2e217572eacefba9ec31396b016aa88c2 branch: main author: Totosuki <[email protected]> committer: hauntsaninja <[email protected]> date: 2024-12-13T23

[Python-checkins] gh-127747: Resolve BytesWarning in test.support.strace_helper (#127849)

2024-12-13 Thread hauntsaninja
https://github.com/python/cpython/commit/c0264fc57c51e68015bef95a2208711356b57c1f commit: c0264fc57c51e68015bef95a2208711356b57c1f branch: main author: Cody Maloney committer: hauntsaninja <[email protected]> date: 2024-12-13T23:36:47-08:00 summary: gh-127747: Resolve

[Python-checkins] [3.10] gh-121277: Allow .. versionadded:: next in docs (GH-121278) (#127867)

2024-12-13 Thread pablogsal
https://github.com/python/cpython/commit/8773554b717cfb08b4bd11a927813f4ed74762c7 commit: 8773554b717cfb08b4bd11a927813f4ed74762c7 branch: 3.10 author: Petr Viktorin committer: pablogsal date: 2024-12-13T22:00:34Z summary: [3.10] gh-121277: Allow .. versionadded:: next in docs (GH-121278) (#1278

[Python-checkins] gh-115999: Specialize loading attributes from modules in free-threaded builds (#127711)

2024-12-13 Thread mpage
https://github.com/python/cpython/commit/2de048ce79e621f5ae0574095b9600fe8595f607 commit: 2de048ce79e621f5ae0574095b9600fe8595f607 branch: main author: mpage committer: mpage date: 2024-12-13T10:17:16-08:00 summary: gh-115999: Specialize loading attributes from modules in free-threaded builds (

[Python-checkins] Minor readability improvements for the itertools recipes (gh-127928)

2024-12-13 Thread rhettinger
https://github.com/python/cpython/commit/292067fbc9db81896c16ff12d51c21d2b0f233e2 commit: 292067fbc9db81896c16ff12d51c21d2b0f233e2 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-12-13T12:12:49-06:00 summary: Minor readability improvements for the itertools recipes (gh-12

[Python-checkins] gh-126024: unicodeobject: optimize find_first_nonascii (GH-127790)

2024-12-13 Thread encukou
https://github.com/python/cpython/commit/5dd775bed086909722ec7014a7c4f77a35f74a80 commit: 5dd775bed086909722ec7014a7c4f77a35f74a80 branch: main author: Inada Naoki committer: encukou date: 2024-12-13T17:21:46+01:00 summary: gh-126024: unicodeobject: optimize find_first_nonascii (GH-127790) Remo

[Python-checkins] gh-127691: add type checks when using `PyUnicodeError` objects (GH-127694)

2024-12-13 Thread encukou
https://github.com/python/cpython/commit/8bc18182a7c28f86265c9d82bd0338137480921c commit: 8bc18182a7c28f86265c9d82bd0338137480921c branch: main author: Bénédikt Tran <[email protected]> committer: encukou date: 2024-12-13T17:16:22+01:00 summary: gh-127691: add type checks

[Python-checkins] [3.12] gh-126937: ctypes: add test for maximum size of a struct field (GH-126938) (GH-127825) (GH-127909)

2024-12-13 Thread encukou
https://github.com/python/cpython/commit/d0368556b53023961835efb42ab9600a7055068e commit: d0368556b53023961835efb42ab9600a7055068e branch: 3.12 author: Petr Viktorin committer: encukou date: 2024-12-13T16:51:55+01:00 summary: [3.12] gh-126937: ctypes: add test for maximum size of a struct field

[Python-checkins] [3.13] gh-127906: Backport test_cext changes from the main branch (#127923)

2024-12-13 Thread vstinner
https://github.com/python/cpython/commit/2996a2bed39206505852f537ae4514c4977e196d commit: 2996a2bed39206505852f537ae4514c4977e196d branch: 3.13 author: Victor Stinner committer: vstinner date: 2024-12-13T15:04:08Z summary: [3.13] gh-127906: Backport test_cext changes from the main branch (#12792

[Python-checkins] [3.12] gh-127906: Test the limited C API in test_cppext (GH-127916) (#127920)

2024-12-13 Thread vstinner
https://github.com/python/cpython/commit/58916eb211fe6ed5f910f1b88bd755fb4d2f7128 commit: 58916eb211fe6ed5f910f1b88bd755fb4d2f7128 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-12-13T14:14:20Z summary: [3.12] gh-127906:

[Python-checkins] [3.13] gh-127906: Test the limited C API in test_cppext (GH-127916) (#127919)

2024-12-13 Thread vstinner
https://github.com/python/cpython/commit/78095c905238af73e71b3c2c39f7cd5557ae91cc commit: 78095c905238af73e71b3c2c39f7cd5557ae91cc branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-12-13T14:12:07Z summary: [3.13] gh-127906:

[Python-checkins] [3.12] gh-127906: Backport test_cext from the main branch (#127912)

2024-12-13 Thread vstinner
https://github.com/python/cpython/commit/5a658d85d5f18de4a6644e6124b2dbf8b1c932fa commit: 5a658d85d5f18de4a6644e6124b2dbf8b1c932fa branch: 3.12 author: Victor Stinner committer: vstinner date: 2024-12-13T14:48:32+01:00 summary: [3.12] gh-127906: Backport test_cext from the main branch (#127912)

[Python-checkins] gh-102471, PEP 757: Add PyLong import and export API (#121339)

2024-12-13 Thread vstinner
https://github.com/python/cpython/commit/6446408d426814bf2bc9d3911a91741f04d4bc4e commit: 6446408d426814bf2bc9d3911a91741f04d4bc4e branch: main author: Victor Stinner committer: vstinner date: 2024-12-13T14:24:48+01:00 summary: gh-102471, PEP 757: Add PyLong import and export API (#121339) Co-a

[Python-checkins] gh-127906: Test the limited C API in test_cppext (#127916)

2024-12-13 Thread vstinner
https://github.com/python/cpython/commit/d05a4e6a0d366b854a3103cae0c941811fd48c4c commit: d05a4e6a0d366b854a3103cae0c941811fd48c4c branch: main author: Victor Stinner committer: vstinner date: 2024-12-13T13:23:20Z summary: gh-127906: Test the limited C API in test_cppext (#127916) files: A Misc

[Python-checkins] [3.12] gh-127870: Detect recursive calls in ctypes _as_parameter_ handling (#127872) (#127918)

2024-12-13 Thread vstinner
https://github.com/python/cpython/commit/21c056ec272ea3b11bb212d0429886e94c63fff4 commit: 21c056ec272ea3b11bb212d0429886e94c63fff4 branch: 3.12 author: Victor Stinner committer: vstinner date: 2024-12-13T13:21:30Z summary: [3.12] gh-127870: Detect recursive calls in ctypes _as_parameter_ handlin

[Python-checkins] [3.13] gh-127870: Detect recursive calls in ctypes _as_parameter_ handling (GH-127872) (#127917)

2024-12-13 Thread vstinner
https://github.com/python/cpython/commit/0f38b897f933849f01293af622482c5b8502a2b4 commit: 0f38b897f933849f01293af622482c5b8502a2b4 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-12-13T13:19:41Z summary: [3.13] gh-127870:

[Python-checkins] gh-127870: Detect recursive calls in ctypes _as_parameter_ handling (#127872)

2024-12-13 Thread vstinner
https://github.com/python/cpython/commit/6ff38fc4e2af8e795dc791be6ea596d2146d4119 commit: 6ff38fc4e2af8e795dc791be6ea596d2146d4119 branch: main author: Victor Stinner committer: vstinner date: 2024-12-13T13:53:47+01:00 summary: gh-127870: Detect recursive calls in ctypes _as_parameter_ handling

[Python-checkins] [3.12] gh-127906: Backport test_cppext changes from the main branch (#127915)

2024-12-13 Thread vstinner
https://github.com/python/cpython/commit/6544f994637c7d4fc86d8a360e519a4e560606db commit: 6544f994637c7d4fc86d8a360e519a4e560606db branch: 3.12 author: Victor Stinner committer: vstinner date: 2024-12-13T13:51:06+01:00 summary: [3.12] gh-127906: Backport test_cppext changes from the main branch

[Python-checkins] [3.12] gh-127906: Declare timeval struct in pytime.h on Windows (#127908)

2024-12-13 Thread vstinner
https://github.com/python/cpython/commit/c77bfd768f0d406f7fab42947dc06206111a3740 commit: c77bfd768f0d406f7fab42947dc06206111a3740 branch: 3.12 author: Victor Stinner committer: vstinner date: 2024-12-13T12:13:49Z summary: [3.12] gh-127906: Declare timeval struct in pytime.h on Windows (#127908)

[Python-checkins] [3.12] gh-107249: Implement Py_UNUSED() for MSVC (GH-107250) (#127907)

2024-12-13 Thread vstinner
https://github.com/python/cpython/commit/f3a689fd9d5c762d92e43a7e1fb3ee7bfb27c452 commit: f3a689fd9d5c762d92e43a7e1fb3ee7bfb27c452 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-12-13T11:58:47Z summary: [3.12] gh-107249:

[Python-checkins] [3.12] gh-127902: Make sure `extern "C"` is closed when using Py_LIMITED_API (#127904)

2024-12-13 Thread vstinner
https://github.com/python/cpython/commit/b184f4859a32771bfa027c2a4cd2cdd3a5194842 commit: b184f4859a32771bfa027c2a4cd2cdd3a5194842 branch: 3.12 author: Dmitry Shachnev committer: vstinner date: 2024-12-13T11:18:28Z summary: [3.12] gh-127902: Make sure `extern "C"` is closed when using Py_LIMITED

[Python-checkins] GH-126833: Dumps graphviz representation of executor graph. (GH-126880)

2024-12-13 Thread markshannon
https://github.com/python/cpython/commit/e62e1ca4553dbcf9d7f89be24bebcbd9213f9ae5 commit: e62e1ca4553dbcf9d7f89be24bebcbd9213f9ae5 branch: main author: Mark Shannon committer: markshannon date: 2024-12-13T11:00:00Z summary: GH-126833: Dumps graphviz representation of executor graph. (GH-126880)

[Python-checkins] gh-126868: Add freelist for compact int objects (GH-126865)

2024-12-13 Thread markshannon
https://github.com/python/cpython/commit/5fc6bb2754a25157575efc0b37da78c629fea46e commit: 5fc6bb2754a25157575efc0b37da78c629fea46e branch: main author: Pieter Eendebak committer: markshannon date: 2024-12-13T10:06:26Z summary: gh-126868: Add freelist for compact int objects (GH-126865) files: A

[Python-checkins] GH-125174: Don't use `UINT32_MAX` in header file (GH-127863)

2024-12-13 Thread encukou
https://github.com/python/cpython/commit/9b4bbf4401291636e5db90511a0548fffb23a505 commit: 9b4bbf4401291636e5db90511a0548fffb23a505 branch: main author: Mark Shannon committer: encukou date: 2024-12-13T10:54:59+01:00 summary: GH-125174: Don't use `UINT32_MAX` in header file (GH-127863) files: M

[Python-checkins] [3.12] Document PyObject_SelfIter (GH-127861) (#127899)

2024-12-13 Thread kumaraditya303
https://github.com/python/cpython/commit/2d317332c0b2f0696177bc4b23c55e75751d1718 commit: 2d317332c0b2f0696177bc4b23c55e75751d1718 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 date: 2024-12-13T15:08:19+05:30 summary: [3.12]

[Python-checkins] [3.12] link to the correct output method in documentation (GH-127857) (#127901)

2024-12-13 Thread kumaraditya303
https://github.com/python/cpython/commit/793059eb4c1cbe252494d7d6d9993d8d2023a90f commit: 793059eb4c1cbe252494d7d6d9993d8d2023a90f branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 date: 2024-12-13T15:07:59+05:30 summary: [3.12]

[Python-checkins] [3.13] link to the correct output method in documentation (GH-127857) (#127900)

2024-12-13 Thread kumaraditya303
https://github.com/python/cpython/commit/8384279863479eaf67ae7fb4185969aaf9b5a3d6 commit: 8384279863479eaf67ae7fb4185969aaf9b5a3d6 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 date: 2024-12-13T15:07:46+05:30 summary: [3.13]

[Python-checkins] [3.13] Document PyObject_SelfIter (GH-127861) (#127898)

2024-12-13 Thread kumaraditya303
https://github.com/python/cpython/commit/6023b3b01e286d5b4273af7ef003dd1fa2c5fb0a commit: 6023b3b01e286d5b4273af7ef003dd1fa2c5fb0a branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 date: 2024-12-13T15:07:28+05:30 summary: [3.13]

[Python-checkins] link to the correct output method in documentation (#127857)

2024-12-13 Thread kumaraditya303
https://github.com/python/cpython/commit/11ff3286b7e821bf439bc7caa0fa712e3bc3846a commit: 11ff3286b7e821bf439bc7caa0fa712e3bc3846a branch: main author: Viktor Kálmán committer: kumaraditya303 date: 2024-12-13T14:57:02+05:30 summary: link to the correct output method in documentation (#127857) f

[Python-checkins] Document PyObject_SelfIter (#127861)

2024-12-13 Thread kumaraditya303
https://github.com/python/cpython/commit/58942a07df8811afba9c58dc16c1aab244ccf27a commit: 58942a07df8811afba9c58dc16c1aab244ccf27a branch: main author: Miro Hrončok committer: kumaraditya303 date: 2024-12-13T14:56:22+05:30 summary: Document PyObject_SelfIter (#127861) files: M Doc/c-api/object.