[Python-checkins] gh-138958: remove unused variable in Lib/asyncio/streams.py (#138959)

2025-09-15 Thread kumaraditya303
https://github.com/python/cpython/commit/4c0d7bc52afcd6b34b1085a52bb33ae695f656e5 commit: 4c0d7bc52afcd6b34b1085a52bb33ae695f656e5 branch: main author: yihong committer: kumaraditya303 date: 2025-09-16T08:48:41+05:30 summary: gh-138958: remove unused variable in Lib/asyncio/streams.py (#138959)

[Python-checkins] [3.13] gh-128636: Fix crash in PyREPL when os.environ is overwritten with an invalid value for macOS (GH-138089) (GH-138942)

2025-09-15 Thread ambv
https://github.com/python/cpython/commit/3669efb890bfa9f0db6e5c4d92c23c059cfe275b commit: 3669efb890bfa9f0db6e5c4d92c23c059cfe275b branch: 3.13 author: Łukasz Langa committer: ambv date: 2025-09-16T00:53:51+02:00 summary: [3.13] gh-128636: Fix crash in PyREPL when os.environ is overwritten with

[Python-checkins] [3.13] gh-137017: Ensure `Thread.is_alive()` only returns False after the underlying OS thread exits (gh-137315) (gh-138917)

2025-09-15 Thread colesbury
https://github.com/python/cpython/commit/7160f9f5d8ec6597a1a5bd070b498bb890b8a790 commit: 7160f9f5d8ec6597a1a5bd070b498bb890b8a790 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: colesbury date: 2025-09-15T14:28:05+01:00 summary: [3.13] gh-1

[Python-checkins] Re-order Modules/makesetup in CODEOWNERS and update owners (#138628)

2025-09-15 Thread emmatyping
https://github.com/python/cpython/commit/445b424b7483a9c4091b73aca816174471e20a6b commit: 445b424b7483a9c4091b73aca816174471e20a6b branch: main author: Emma Smith committer: emmatyping date: 2025-09-15T19:52:59-07:00 summary: Re-order Modules/makesetup in CODEOWNERS and update owners (#138628)

[Python-checkins] gh-129813, PEP 782: Add PyBytesWriter.overallocate (#138941)

2025-09-15 Thread vstinner
https://github.com/python/cpython/commit/4e00e2504fdcf06b5d55a773b31f49b1d3d6d35c commit: 4e00e2504fdcf06b5d55a773b31f49b1d3d6d35c branch: main author: Victor Stinner committer: vstinner date: 2025-09-16T00:15:32+02:00 summary: gh-129813, PEP 782: Add PyBytesWriter.overallocate (#138941) Disabl

[Python-checkins] gh-129813, PEP 782: Use PyBytesWriter in bufferedio.c (#138954)

2025-09-15 Thread vstinner
https://github.com/python/cpython/commit/4554486f156ee399d14a3324a2e214e6527b0b2b commit: 4554486f156ee399d14a3324a2e214e6527b0b2b branch: main author: Victor Stinner committer: vstinner date: 2025-09-15T21:50:09Z summary: gh-129813, PEP 782: Use PyBytesWriter in bufferedio.c (#138954) Replace

[Python-checkins] gh-129813, PEP 782: Use PyBytesWriter in FileIO.read() (#138955)

2025-09-15 Thread vstinner
https://github.com/python/cpython/commit/e814e6b38bc87ff91c3ba73cfe90a1b803142bc2 commit: e814e6b38bc87ff91c3ba73cfe90a1b803142bc2 branch: main author: Victor Stinner committer: vstinner date: 2025-09-15T23:49:28+02:00 summary: gh-129813, PEP 782: Use PyBytesWriter in FileIO.read() (#138955) Re

[Python-checkins] gh-129813, PEP 782: Use PyBytesWriter in _sha3 (#138923)

2025-09-15 Thread vstinner
https://github.com/python/cpython/commit/f62b495f792b579f610a7fbf93c8e4c53ccf1369 commit: f62b495f792b579f610a7fbf93c8e4c53ccf1369 branch: main author: Victor Stinner committer: vstinner date: 2025-09-15T22:53:03+02:00 summary: gh-129813, PEP 782: Use PyBytesWriter in _sha3 (#138923) Replace Py

[Python-checkins] gh-129813, PEP 782: Use PyBytesWriter in _io.FileIO.readall (#138901)

2025-09-15 Thread vstinner
https://github.com/python/cpython/commit/71defb69438ce13708d8f9a73756d2073e0b2081 commit: 71defb69438ce13708d8f9a73756d2073e0b2081 branch: main author: Cody Maloney committer: vstinner date: 2025-09-15T22:38:01+02:00 summary: gh-129813, PEP 782: Use PyBytesWriter in _io.FileIO.readall (#138901)

[Python-checkins] gh-129813, PEP 782: Use PyBytesWriter in _winapi.PeekNamedPipe() (#138930)

2025-09-15 Thread vstinner
https://github.com/python/cpython/commit/c5fb72ea6ced51a7d20d5b203dc832558d972321 commit: c5fb72ea6ced51a7d20d5b203dc832558d972321 branch: main author: Victor Stinner committer: vstinner date: 2025-09-15T21:25:47+01:00 summary: gh-129813, PEP 782: Use PyBytesWriter in _winapi.PeekNamedPipe() (#1

[Python-checkins] gh-134953: Expand theming for `True`/`False`/`None` (#135000)

2025-09-15 Thread ambv
https://github.com/python/cpython/commit/a5b9d0b8b273eaf7cfee8bb5770449b2e4395993 commit: a5b9d0b8b273eaf7cfee8bb5770449b2e4395993 branch: main author: Stan Ulbrych <[email protected]> committer: ambv date: 2025-09-15T16:36:17+02:00 summary: gh-134953: Expand themi

[Python-checkins] gh-97517: Add documentation links to datetime strftime/strptime docstrings (#138559)

2025-09-15 Thread pganssle
https://github.com/python/cpython/commit/dfd52e7a8b5a7e5a5d64b11742ac7242ec938ede commit: dfd52e7a8b5a7e5a5d64b11742ac7242ec938ede branch: main author: Mehdi Hassan <[email protected]> committer: pganssle <[email protected]> date: 2025-09-15T19:

[Python-checkins] gh-129813, PEP 782: Use PyBytesWriter in _hashopenssl (#138922)

2025-09-15 Thread vstinner
https://github.com/python/cpython/commit/a68efdf09cfd81c64973d346ed34057f20172543 commit: a68efdf09cfd81c64973d346ed34057f20172543 branch: main author: Victor Stinner committer: vstinner date: 2025-09-15T18:41:43+02:00 summary: gh-129813, PEP 782: Use PyBytesWriter in _hashopenssl (#138922) Rep

[Python-checkins] [3.14] gh-138801: re-enable `pyrepl` tests on Windows (GH-138802) (GH-138815)

2025-09-15 Thread ambv
https://github.com/python/cpython/commit/19a8670d7a21ec9d3b6d59686a85d8cd62bfec46 commit: 19a8670d7a21ec9d3b6d59686a85d8cd62bfec46 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: ambv date: 2025-09-15T16:42:36+02:00 summary: [3.14] gh-138801

[Python-checkins] gh-69605: Hardcode some stdlib submodules in PyREPL module completion (os.path, collections.abc...) (GH-138268)

2025-09-15 Thread ambv
https://github.com/python/cpython/commit/537133d2b63611ce1c04aac4c283c932dee9985a commit: 537133d2b63611ce1c04aac4c283c932dee9985a branch: main author: Loïc Simon committer: ambv date: 2025-09-15T18:51:34+02:00 summary: gh-69605: Hardcode some stdlib submodules in PyREPL module completion (os.pa

[Python-checkins] [3.13] gh-137490: Fix signal.sigwaitinfo() on NetBSD (GH-137523) (GH-138936)

2025-09-15 Thread serhiy-storchaka
https://github.com/python/cpython/commit/d8b3a83cf2832cad923717f3058c8d0176e1eee1 commit: d8b3a83cf2832cad923717f3058c8d0176e1eee1 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-09-15T16:43:32Z summary: [3.13] gh

[Python-checkins] gh-37817: Allow assignment to __bases__ of direct subclasses of builtin classes (GH-137585)

2025-09-15 Thread serhiy-storchaka
https://github.com/python/cpython/commit/29d026f93e14cc9bf5c17ac195ab0ec7708eaf57 commit: 29d026f93e14cc9bf5c17ac195ab0ec7708eaf57 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2025-09-15T16:40:28Z summary: gh-37817: Allow assignment to __bases__ of direct subclasses of

[Python-checkins] [3.13] gh-131189: Fix "msvcrt" import warning on Linux when "_ctypes" is not available. (GH-131201) (GH-138934)

2025-09-15 Thread ambv
https://github.com/python/cpython/commit/7452e95d09e92b00d514cb098680d0c4b80dc5a1 commit: 7452e95d09e92b00d514cb098680d0c4b80dc5a1 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ambv date: 2025-09-15T18:29:33+02:00 summary: [3.13] gh-131189

[Python-checkins] gh-134953: Make the True/False/None check more efficient (GH-138931)

2025-09-15 Thread ambv
https://github.com/python/cpython/commit/811acc85d5b001e0bef6ac2e6b499e7c4f149262 commit: 811acc85d5b001e0bef6ac2e6b499e7c4f149262 branch: main author: Łukasz Langa committer: ambv date: 2025-09-15T18:27:37+02:00 summary: gh-134953: Make the True/False/None check more efficient (GH-138931) file

[Python-checkins] gh-128636: Fix crash in PyREPL when os.environ is overwritten with an invalid value for macOS (GH-138089)

2025-09-15 Thread ambv
https://github.com/python/cpython/commit/8ef7735c536e0ffe4a60224e59b7587288f53e9e commit: 8ef7735c536e0ffe4a60224e59b7587288f53e9e branch: main author: yihong committer: ambv date: 2025-09-15T18:26:23+02:00 summary: gh-128636: Fix crash in PyREPL when os.environ is overwritten with an invalid v

[Python-checkins] gh-132732: Clear errors in JIT optimizer on error (GH-136048)

2025-09-15 Thread Fidget-Spinner
https://github.com/python/cpython/commit/46f823bb818b0e8f40b51c8fa9ef33f743915770 commit: 46f823bb818b0e8f40b51c8fa9ef33f743915770 branch: main author: Ken Jin committer: Fidget-Spinner date: 2025-09-15T17:24:37+01:00 summary: gh-132732: Clear errors in JIT optimizer on error (GH-136048) files:

[Python-checkins] gh-138239: Fix incorrect highlighting of "type" in type statements in the REPL (GH-138241)

2025-09-15 Thread ambv
https://github.com/python/cpython/commit/26cfb1794255222b20cd7b502ab9193861df3184 commit: 26cfb1794255222b20cd7b502ab9193861df3184 branch: main author: 00ll00 <[email protected]> committer: ambv date: 2025-09-15T18:21:41+02:00 summary: gh-138239: Fix incorrect highlighting

[Python-checkins] gh-137490: Fix signal.sigwaitinfo() on NetBSD (GH-137523)

2025-09-15 Thread serhiy-storchaka
https://github.com/python/cpython/commit/07d0b95b05dfaf5832f44c2fbc956761f9e29571 commit: 07d0b95b05dfaf5832f44c2fbc956761f9e29571 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2025-09-15T19:20:31+03:00 summary: gh-137490: Fix signal.sigwaitinfo() on NetBSD (GH-137523)

[Python-checkins] GH-132732: Remove textwrap import (#138933)

2025-09-15 Thread savannahostrowski
https://github.com/python/cpython/commit/fa12c6bae47a41dd84e54b39d96bb73c4ba625c0 commit: fa12c6bae47a41dd84e54b39d96bb73c4ba625c0 branch: main author: Savannah Bailey committer: savannahostrowski date: 2025-09-15T16:09:51Z summary: GH-132732: Remove textwrap import (#138933) files: M Tools/cas

[Python-checkins] [3.14] gh-134953: Expand theming for `True`/`False`/`None` (GH-135000) (#138928)

2025-09-15 Thread hugovk
https://github.com/python/cpython/commit/dc4d016e7eaabead9e0ba9d259a5d1eba1932b3e commit: dc4d016e7eaabead9e0ba9d259a5d1eba1932b3e branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] gh-129813, PEP 782: Use PyBytesWriter in _curses (#138920)

2025-09-15 Thread vstinner
https://github.com/python/cpython/commit/21c80cadc840265db533a2bdd07f717716209fde commit: 21c80cadc840265db533a2bdd07f717716209fde branch: main author: Victor Stinner committer: vstinner date: 2025-09-15T16:24:34+02:00 summary: gh-129813, PEP 782: Use PyBytesWriter in _curses (#138920) Replace

[Python-checkins] GH-132732: Use pure op machinery to optimize various instructions with `_POP_TOP` and `_POP_TWO` (#137577)

2025-09-15 Thread savannahostrowski
https://github.com/python/cpython/commit/9c9a0f7da7bf626b6d156c9fe3df22597ee3fe9e commit: 9c9a0f7da7bf626b6d156c9fe3df22597ee3fe9e branch: main author: Savannah Bailey committer: savannahostrowski date: 2025-09-15T16:29:45+01:00 summary: GH-132732: Use pure op machinery to optimize various instr

[Python-checkins] gh-137992: fix `PyRefTracer_SetTracer` to start world before returning (#138925)

2025-09-15 Thread pablogsal
https://github.com/python/cpython/commit/5c4bb9b7f6a779351afcdd76f390c572b3c1dc06 commit: 5c4bb9b7f6a779351afcdd76f390c572b3c1dc06 branch: main author: Kumar Aditya committer: pablogsal date: 2025-09-15T15:39:15+01:00 summary: gh-137992: fix `PyRefTracer_SetTracer` to start world before returnin

[Python-checkins] gh-138712: Add os.NODEV (GH-138728)

2025-09-15 Thread serhiy-storchaka
https://github.com/python/cpython/commit/a003112821a445128f9b94f9a46528e5449dfc86 commit: a003112821a445128f9b94f9a46528e5449dfc86 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2025-09-15T14:36:32Z summary: gh-138712: Add os.NODEV (GH-138728) files: A Misc/NEWS.d/next/

[Python-checkins] gh-129813, PEP 782: Use PyBytesWriter in _codecs.escape_decode() (#138919)

2025-09-15 Thread vstinner
https://github.com/python/cpython/commit/67cc1cf68a26d931ece3a6790ba914cf8a9b62f8 commit: 67cc1cf68a26d931ece3a6790ba914cf8a9b62f8 branch: main author: Victor Stinner committer: vstinner date: 2025-09-15T16:32:43+02:00 summary: gh-129813, PEP 782: Use PyBytesWriter in _codecs.escape_decode() (#1

[Python-checkins] [3.13] gh-138779: Use the dev_t converter for st_rdev (GH-138780) (GH-138927)

2025-09-15 Thread serhiy-storchaka
https://github.com/python/cpython/commit/dbe5e3925ba23b5f79667f1995ccf175e6a588d6 commit: dbe5e3925ba23b5f79667f1995ccf175e6a588d6 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-09-15T14:29:57Z summary: [3.13] gh

[Python-checkins] gh-129813, PEP 782: Init small_buffer in PyBytesWriter_Create() (#138924)

2025-09-15 Thread vstinner
https://github.com/python/cpython/commit/7c6efc3a4f41f527ec40b5f5fd0ee1fb7af7c82f commit: 7c6efc3a4f41f527ec40b5f5fd0ee1fb7af7c82f branch: main author: Victor Stinner committer: vstinner date: 2025-09-15T16:23:11+02:00 summary: gh-129813, PEP 782: Init small_buffer in PyBytesWriter_Create() (#13

[Python-checkins] gh-129813, PEP 782: Use PyBytesWriter in fcntl (#138921)

2025-09-15 Thread vstinner
https://github.com/python/cpython/commit/f07ae274b8e98c570d40b1aabd4cc42cb44a13ca commit: f07ae274b8e98c570d40b1aabd4cc42cb44a13ca branch: main author: Victor Stinner committer: vstinner date: 2025-09-15T16:21:43+02:00 summary: gh-129813, PEP 782: Use PyBytesWriter in fcntl (#138921) Replace Py

[Python-checkins] gh-138779: Use the dev_t converter for st_rdev (GH-138780)

2025-09-15 Thread serhiy-storchaka
https://github.com/python/cpython/commit/43013f72f0aadc5ee428aa5bdf6d949b4e79779a commit: 43013f72f0aadc5ee428aa5bdf6d949b4e79779a branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2025-09-15T17:07:34+03:00 summary: gh-138779: Use the dev_t converter for st_rdev (GH-138780)

[Python-checkins] gh-137956: Guard against non-free-threaded extensions in free-threaded builds (GH-137957)

2025-09-15 Thread encukou
https://github.com/python/cpython/commit/32b2c5de16183c74e43da01c5b33343e43c469a4 commit: 32b2c5de16183c74e43da01c5b33343e43c469a4 branch: main author: Petr Viktorin committer: encukou date: 2025-09-15T11:24:16Z summary: gh-137956: Guard against non-free-threaded extensions in free-threaded buil

[Python-checkins] [3.13] gh-138902: Fix generator send arg name (GH-138905) (#138913)

2025-09-15 Thread sobolevn
https://github.com/python/cpython/commit/2fd8f036c06a91089d6dce94eb0ca03b07557fc8 commit: 2fd8f036c06a91089d6dce94eb0ca03b07557fc8 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2025-09-15T11:35:22Z summary: [3.13] gh-138902:

[Python-checkins] gh-137017: Ensure `Thread.is_alive()` only returns False after the underlying OS thread exits (gh-137315)

2025-09-15 Thread colesbury
https://github.com/python/cpython/commit/aa9ceb17215af21ed6618d6f7ccb5bf57ca57101 commit: aa9ceb17215af21ed6618d6f7ccb5bf57ca57101 branch: main author: Abdul committer: colesbury date: 2025-09-15T11:13:37Z summary: gh-137017: Ensure `Thread.is_alive()` only returns False after the underlying OS

[Python-checkins] gh-138902: Fix generator send arg name (#138905)

2025-09-15 Thread sobolevn
https://github.com/python/cpython/commit/cb07bd24eed43a0ac182e664398398164089f294 commit: cb07bd24eed43a0ac182e664398398164089f294 branch: main author: Marat Khagazheev committer: sobolevn date: 2025-09-15T14:05:36+03:00 summary: gh-138902: Fix generator send arg name (#138905) Co-authored-by:

[Python-checkins] gh-137992: Stop the world when calling PyRefTracer_SetTracer (#137994)

2025-09-15 Thread pablogsal
https://github.com/python/cpython/commit/c5180d74e199e5bdb8f1c149dc3e956071ebf365 commit: c5180d74e199e5bdb8f1c149dc3e956071ebf365 branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2025-09-15T10:39:41Z summary: gh-137992: Stop the world when calling PyRefTracer_SetTracer (#13

[Python-checkins] gh-129813, PEP 782: Use PyBytesWriter in _PyBytes_FormatEx() (#138839)

2025-09-15 Thread vstinner
https://github.com/python/cpython/commit/2d724939d7aea89b9473a18cfc096f94fcf39529 commit: 2d724939d7aea89b9473a18cfc096f94fcf39529 branch: main author: Victor Stinner committer: vstinner date: 2025-09-15T12:23:36+02:00 summary: gh-129813, PEP 782: Use PyBytesWriter in _PyBytes_FormatEx() (#13883

[Python-checkins] gh-138794: Communicate to PyRefTracer when they are being replaced (#138797)

2025-09-15 Thread pablogsal
https://github.com/python/cpython/commit/f01181b595971fd1af12cf43ab6731a4e5766142 commit: f01181b595971fd1af12cf43ab6731a4e5766142 branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2025-09-15T11:12:09+01:00 summary: gh-138794: Communicate to PyRefTracer when they are being re

[Python-checkins] gh-138886: Remove deprecated `PySys_ResetWarnOptions` C-API function (#138887)

2025-09-15 Thread sobolevn
https://github.com/python/cpython/commit/baf747051557d029bc807d08470279490a04c8e1 commit: baf747051557d029bc807d08470279490a04c8e1 branch: main author: sobolevn committer: sobolevn date: 2025-09-15T12:01:33+03:00 summary: gh-138886: Remove deprecated `PySys_ResetWarnOptions` C-API function (#138

[Python-checkins] Fix typo in stack_protection.md (GH-138876)

2025-09-15 Thread ZeroIntensity
https://github.com/python/cpython/commit/097fc12149cbe7b336bdb3aad57e622de799611c commit: 097fc12149cbe7b336bdb3aad57e622de799611c branch: main author: Bartosz Sławecki committer: ZeroIntensity date: 2025-09-15T04:53:13-04:00 summary: Fix typo in stack_protection.md (GH-138876) files: M Interna