[Python-checkins] [3.14] gh-138297 Point link in docs for `finally` to try/else, instead of if/else (GH-138298) (#138381)

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

[Python-checkins] gh-138998: `expat/refresh.sh`: Fail if Step 3 is not completed (GH-139049)

2025-09-18 Thread encukou
https://github.com/python/cpython/commit/70ad1b30dfa9dad920029f8e0e63b3251c3195ca commit: 70ad1b30dfa9dad920029f8e0e63b3251c3195ca branch: main author: Stan Ulbrych <[email protected]> committer: encukou date: 2025-09-18T12:47:42+02:00 summary: gh-138998: `expat/re

[Python-checkins] gh-116946: add `Py_TPFLAGS_IMMUTABLETYPE` to several internal types (#138582)

2025-09-18 Thread picnixz
https://github.com/python/cpython/commit/4978bfca1033358504c7a4ebbe33f0c28bededf7 commit: 4978bfca1033358504c7a4ebbe33f0c28bededf7 branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-09-11T09:56:20+

[Python-checkins] gh-139098: Use multiphase initialization in `_testcapi` (GH-139102)

2025-09-18 Thread ZeroIntensity
https://github.com/python/cpython/commit/49f1c302df2621dcc2aa0386d90ed8502e0ed024 commit: 49f1c302df2621dcc2aa0386d90ed8502e0ed024 branch: main author: Peter Bierma committer: ZeroIntensity date: 2025-09-18T11:00:50Z summary: gh-139098: Use multiphase initialization in `_testcapi` (GH-139102) U

[Python-checkins] [3.14] gh-136599: Add tests for long_hash (GH-138335) (#138390)

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

[Python-checkins] [3.14] gh-138307: Update the Ellipsis documentation (GH-138306) (#138440)

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

[Python-checkins] [3.14] gh-138577: Mention Unix-specific limitations of `getpass.getpass(echo_char=...)` (GH-138677) (#138696)

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

[Python-checkins] gh-136003: Skip non-daemon threads when exceptions occur during finalization (GH-139129)

2025-09-18 Thread ZeroIntensity
https://github.com/python/cpython/commit/3eec8977528dbbd22f9c0873930507fd97053843 commit: 3eec8977528dbbd22f9c0873930507fd97053843 branch: main author: Peter Bierma committer: ZeroIntensity date: 2025-09-18T16:04:01-04:00 summary: gh-136003: Skip non-daemon threads when exceptions occur during f

[Python-checkins] gh-119494: Fix error messages for deleting/setting type attributes (#119495)

2025-09-18 Thread iritkatriel
https://github.com/python/cpython/commit/ac5c5d42a2e542b3d036cdee80c6449157c03e96 commit: ac5c5d42a2e542b3d036cdee80c6449157c03e96 branch: main author: da-woods committer: iritkatriel <[email protected]> date: 2025-09-18T22:08:49+01:00 summary: gh-119494: Fix error mess

[Python-checkins] gh-138385: Sample all interpreters in the tachyon profiler (#138398)

2025-09-18 Thread pablogsal
https://github.com/python/cpython/commit/03ee060ec8408303cd271660d0ec27c33d80b676 commit: 03ee060ec8408303cd271660d0ec27c33d80b676 branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2025-09-09T00:41:08+01:00 summary: gh-138385: Sample all interpreters in the tachyon profiler (

[Python-checkins] gh-118803: Make `ByteString` deprecations louder; remove `ByteString` from `typing.__all__` and `collections.abc.__all__` (#139127)

2025-09-18 Thread AlexWaygood
https://github.com/python/cpython/commit/293b05c09b4f4bd169086e3924162104254c7766 commit: 293b05c09b4f4bd169086e3924162104254c7766 branch: main author: Alex Waygood committer: AlexWaygood date: 2025-09-18T18:58:16Z summary: gh-118803: Make `ByteString` deprecations louder; remove `ByteString` fr

[Python-checkins] gh-138970: Adjust tests for pegen rule flags (#139107)

2025-09-18 Thread pablogsal
https://github.com/python/cpython/commit/36ec60fb4316a871aff1cce12f23a770e6f91c87 commit: 36ec60fb4316a871aff1cce12f23a770e6f91c87 branch: main author: Petr Viktorin committer: pablogsal date: 2025-09-18T12:08:44+01:00 summary: gh-138970: Adjust tests for pegen rule flags (#139107) files: M Lib

[Python-checkins] gh-138720: Make Buffered closed check match flush (GH-138724)

2025-09-18 Thread encukou
https://github.com/python/cpython/commit/db68bfc771e6a85573732e0b579e8f68841c9b5c commit: db68bfc771e6a85573732e0b579e8f68841c9b5c branch: main author: Cody Maloney committer: encukou date: 2025-09-18T12:02:29+02:00 summary: gh-138720: Make Buffered closed check match flush (GH-138724) In `_io_

[Python-checkins] [3.13] gh-118803: Improve documentation around `ByteString` deprecation (#139115) (#139137)

2025-09-18 Thread AlexWaygood
https://github.com/python/cpython/commit/8246e25ef0fa0d97a5b054a213c9fcfd23ffc670 commit: 8246e25ef0fa0d97a5b054a213c9fcfd23ffc670 branch: 3.13 author: Alex Waygood committer: AlexWaygood date: 2025-09-18T19:35:30+01:00 summary: [3.13] gh-118803: Improve documentation around `ByteString` depreca

[Python-checkins] [3.14] gh-137242: Mention Android binary releases in documentation (GH-138305) (#139124)

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

[Python-checkins] gh-135755: Make Py_TAIL_CALL_INTERP macro private (#138981)

2025-09-18 Thread vstinner
https://github.com/python/cpython/commit/6504f20ccedf0b27275327e72698dee5f0c75ba8 commit: 6504f20ccedf0b27275327e72698dee5f0c75ba8 branch: main author: Victor Stinner committer: vstinner date: 2025-09-18T14:33:07+02:00 summary: gh-135755: Make Py_TAIL_CALL_INTERP macro private (#138981) Rename

[Python-checkins] [3.14] gh-118803: Improve documentation around `ByteString` deprecation (GH-139115) (#139136)

2025-09-18 Thread hugovk
https://github.com/python/cpython/commit/665a3495bfe4fae851a9b0f234dae4cc39b0829c commit: 665a3495bfe4fae851a9b0f234dae4cc39b0829c 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 bufferedio.c (#139121)

2025-09-18 Thread vstinner
https://github.com/python/cpython/commit/9b35f7cdfedc1835f36b87662617fb60d06fe412 commit: 9b35f7cdfedc1835f36b87662617fb60d06fe412 branch: main author: Victor Stinner committer: vstinner date: 2025-09-18T17:00:10+02:00 summary: gh-129813, PEP 782: Use PyBytesWriter in bufferedio.c (#139121) Rep

[Python-checkins] gh-135629: rewrite language reference section on except* to improve clarity (#136150)

2025-09-18 Thread iritkatriel
https://github.com/python/cpython/commit/a651ec95241c25161d525499a739f01bfe527895 commit: a651ec95241c25161d525499a739f01bfe527895 branch: main author: Irit Katriel <[email protected]> committer: iritkatriel <[email protected]> date: 2025-09-16T

[Python-checkins] gh-118803: Improve documentation around `ByteString` deprecation (#139115)

2025-09-18 Thread AlexWaygood
https://github.com/python/cpython/commit/4305cc3ef35a35f9b2c163ae0ffeea219da5af5d commit: 4305cc3ef35a35f9b2c163ae0ffeea219da5af5d branch: main author: Alex Waygood committer: AlexWaygood date: 2025-09-18T17:29:59Z summary: gh-118803: Improve documentation around `ByteString` deprecation (#13911

[Python-checkins] Document `Py_AddPendingCall()` change with subinterpreters in 3.12 (GH-139117)

2025-09-18 Thread ZeroIntensity
https://github.com/python/cpython/commit/89ff88be89328964dbc50a474a84c566fe920b46 commit: 89ff88be89328964dbc50a474a84c566fe920b46 branch: main author: Peter Bierma committer: ZeroIntensity date: 2025-09-18T12:10:41Z summary: Document `Py_AddPendingCall()` change with subinterpreters in 3.12 (GH

[Python-checkins] gh-137976: Explicitly exclude `localtime` from `available_timezones` (#138012)

2025-09-18 Thread pganssle
https://github.com/python/cpython/commit/0f27e102049bb5d85c744e9078ddb72fb8483446 commit: 0f27e102049bb5d85c744e9078ddb72fb8483446 branch: main author: Nicholas Tindle committer: pganssle <[email protected]> date: 2025-09-18T17:32:14+01:00 summary: gh-137976: Explicitly ex

[Python-checkins] gh-129813, PEP 782: Use PyBytesWriter in socket recvmsg() (#139131)

2025-09-18 Thread vstinner
https://github.com/python/cpython/commit/d641c41c88af7fb05c04ea36065460658311643f commit: d641c41c88af7fb05c04ea36065460658311643f branch: main author: Victor Stinner committer: vstinner date: 2025-09-18T17:57:04+02:00 summary: gh-129813, PEP 782: Use PyBytesWriter in socket recvmsg() (#139131)

[Python-checkins] gh-129813, PEP 782: Optimize byteswriter_resize() (#139101)

2025-09-18 Thread vstinner
https://github.com/python/cpython/commit/9f7bbafffe1e2c025bb54b20388c9eb45edaebf5 commit: 9f7bbafffe1e2c025bb54b20388c9eb45edaebf5 branch: main author: Victor Stinner committer: vstinner date: 2025-09-18T09:52:16Z summary: gh-129813, PEP 782: Optimize byteswriter_resize() (#139101) There is no

[Python-checkins] fixes gh-139090: add os.RWF_DONTCACHE (#139091)

2025-09-18 Thread benjaminp
https://github.com/python/cpython/commit/e163fbdeda17104f3782afcae557c0211a2ba0a6 commit: e163fbdeda17104f3782afcae557c0211a2ba0a6 branch: main author: Benjamin Peterson committer: benjaminp date: 2025-09-18T08:13:23-07:00 summary: fixes gh-139090: add os.RWF_DONTCACHE (#139091) files: A Misc/N

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

2025-09-18 Thread vstinner
https://github.com/python/cpython/commit/446587c58eb60b9484b0cef4d533a3191b85f312 commit: 446587c58eb60b9484b0cef4d533a3191b85f312 branch: main author: Victor Stinner committer: vstinner date: 2025-09-18T16:54:18+02:00 summary: gh-129813, PEP 782: Use PyBytesWriter in _ssl (#138929) Replace PyB

[Python-checkins] Make Android streams respect the unbuffered (`-u`) option (#138806)

2025-09-18 Thread freakboy3742
https://github.com/python/cpython/commit/0ac377ff23672ae7e2451f4cdfbe37c4efd464e7 commit: 0ac377ff23672ae7e2451f4cdfbe37c4efd464e7 branch: main author: Malcolm Smith committer: freakboy3742 date: 2025-09-18T11:41:21+01:00 summary: Make Android streams respect the unbuffered (`-u`) option (#13880

[Python-checkins] [3.13] gh-82916: Don't fail when importing from / with sys.pycache_prefix set (GH-30456) (GH-137905)

2025-09-18 Thread encukou
https://github.com/python/cpython/commit/7de5d02b3052f47f3efdc712ab097f680fe8f232 commit: 7de5d02b3052f47f3efdc712ab097f680fe8f232 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: encukou date: 2025-09-18T15:37:39+02:00 summary: [3.13] gh-829

[Python-checkins] gh-137242: Mention Android binary releases in documentation (#138305)

2025-09-18 Thread freakboy3742
https://github.com/python/cpython/commit/594bdde9df6841f760cd54aa8cb8035b38f99c3a commit: 594bdde9df6841f760cd54aa8cb8035b38f99c3a branch: main author: Malcolm Smith committer: freakboy3742 date: 2025-09-18T13:25:30Z summary: gh-137242: Mention Android binary releases in documentation (#138305)

[Python-checkins] gh-139109: Dynamic opcode targets (GH-139111)

2025-09-18 Thread Fidget-Spinner
https://github.com/python/cpython/commit/a269e691de91fcc0982701839ebaf68978753172 commit: a269e691de91fcc0982701839ebaf68978753172 branch: main author: Ken Jin committer: Fidget-Spinner date: 2025-09-18T14:12:07+01:00 summary: gh-139109: Dynamic opcode targets (GH-139111) Make opcode targets ta

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

2025-09-18 Thread vstinner
https://github.com/python/cpython/commit/243d599a05e88739f4ee8486fc76e382020174e4 commit: 243d599a05e88739f4ee8486fc76e382020174e4 branch: main author: Victor Stinner committer: vstinner date: 2025-09-18T14:58:35+02:00 summary: gh-129813, PEP 782: Use PyBytesWriter in _sqlite (#138956) Replace

[Python-checkins] gh-136003: Execute pre-finalization callbacks in a loop (GH-136004)

2025-09-18 Thread ZeroIntensity
https://github.com/python/cpython/commit/21914979335edee4f2b4d0afa5ba857a87b78bd1 commit: 21914979335edee4f2b4d0afa5ba857a87b78bd1 branch: main author: Peter Bierma committer: ZeroIntensity date: 2025-09-18T08:29:12-04:00 summary: gh-136003: Execute pre-finalization callbacks in a loop (GH-13600

[Python-checkins] gh-129813, PEP 782: Use PyBytesWriter in ssl.MemoryBIO (#139113)

2025-09-18 Thread vstinner
https://github.com/python/cpython/commit/d6a6fe2a5b83a4429ffb63b916a8062adb015e06 commit: d6a6fe2a5b83a4429ffb63b916a8062adb015e06 branch: main author: Victor Stinner committer: vstinner date: 2025-09-18T14:25:31+02:00 summary: gh-129813, PEP 782: Use PyBytesWriter in ssl.MemoryBIO (#139113) Re

[Python-checkins] [3.13] gh-138633: synchronize documented signatures of SSL objects with runtime ones (GH-138639, GH-138648) (#138647)

2025-09-18 Thread Yhg1s
https://github.com/python/cpython/commit/3b2440256814f0f663556aceba868bef15b58205 commit: 3b2440256814f0f663556aceba868bef15b58205 branch: 3.13 author: Bénédikt Tran <[email protected]> committer: Yhg1s date: 2025-09-18T13:07:06+01:00 summary: [3.13] gh-138633: synchronize

[Python-checkins] [3.13] gh-137376: Add note on top-level `global` declarations (GH-137707) (#138022)

2025-09-18 Thread Yhg1s
https://github.com/python/cpython/commit/2d24b13d034e3097a49e8be97188bd86698de74d commit: 2d24b13d034e3097a49e8be97188bd86698de74d branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: Yhg1s date: 2025-09-18T13:02:17+01:00 summary: [3.13] gh-13737

[Python-checkins] Python 3.14.0rc3

2025-09-18 Thread hugovk
https://github.com/python/cpython/commit/1c5b28405a77df68d40991051b4c0769e728bf76 commit: 1c5b28405a77df68d40991051b4c0769e728bf76 branch: 3.14 author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2025-09-18T09:45:38+0

[Python-checkins] [3.13] gh-138871: Clarify NameError exception in 'del' (GH-138881) (#138904)

2025-09-18 Thread Yhg1s
https://github.com/python/cpython/commit/54d5235ed3c44cbc415f3eb8fc4f3b1744de8437 commit: 54d5235ed3c44cbc415f3eb8fc4f3b1744de8437 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: Yhg1s date: 2025-09-18T12:43:24+01:00 summary: [3.13] gh-13887

[Python-checkins] [3.13] gh-136006: fix `Py_NAN` expansion on Solaris systems (GH-136575) (#138734)

2025-09-18 Thread Yhg1s
https://github.com/python/cpython/commit/df349036b3f912e539643d91b84cbce32e4a1051 commit: df349036b3f912e539643d91b84cbce32e4a1051 branch: 3.13 author: Bénédikt Tran <[email protected]> committer: Yhg1s date: 2025-09-18T12:47:12+01:00 summary: [3.13] gh-136006: fix `Py_NAN

[Python-checkins] [3.13] gh-138008: Fix segfaults in _ctypes due to invalid argtypes (GH-138285) (#138746)

2025-09-18 Thread Yhg1s
https://github.com/python/cpython/commit/135198dd5d1cd029c1f111f3504cfd4fb63a9f3c commit: 135198dd5d1cd029c1f111f3504cfd4fb63a9f3c branch: 3.13 author: Petr Viktorin committer: Yhg1s date: 2025-09-18T12:46:05+01:00 summary: [3.13] gh-138008: Fix segfaults in _ctypes due to invalid argtypes (GH-1

[Python-checkins] [3.13] Make Android streams respect the unbuffered (`-u`) option (GH-138806) (#139110)

2025-09-18 Thread Yhg1s
https://github.com/python/cpython/commit/5e59aef20f1f7b261c6550c698f813f996417417 commit: 5e59aef20f1f7b261c6550c698f813f996417417 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: Yhg1s date: 2025-09-18T12:45:03+01:00 summary: [3.13] Make And

[Python-checkins] gh-137838: Add CI for no-opt JIT (#139081)

2025-09-18 Thread corona10
https://github.com/python/cpython/commit/8247e1b3e7645f12ead7bf470110fd35a2674fa5 commit: 8247e1b3e7645f12ead7bf470110fd35a2674fa5 branch: main author: Donghee Na committer: corona10 date: 2025-09-18T11:46:03+01:00 summary: gh-137838: Add CI for no-opt JIT (#139081) * gh-137838: Add CI for no-o

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

2025-09-18 Thread vstinner
https://github.com/python/cpython/commit/4263bc3b3b23b90a9cff62f1b042d98e76e707f2 commit: 4263bc3b3b23b90a9cff62f1b042d98e76e707f2 branch: main author: Victor Stinner committer: vstinner date: 2025-09-18T11:20:56+02:00 summary: gh-129813, PEP 782: Use PyBytesWriter in _socket (#139097) Replace

[Python-checkins] gh-116943: Ensure makesetup does not choke on missing EOL in Setup.* files (#139100)

2025-09-18 Thread erlend-aasland
https://github.com/python/cpython/commit/d1904b91cbe3b87f419307e74bbf24a368be501a commit: d1904b91cbe3b87f419307e74bbf24a368be501a branch: main author: Erlend E. Aasland committer: erlend-aasland date: 2025-09-18T09:25:01Z summary: gh-116943: Ensure makesetup does not choke on missing EOL in Set

[Python-checkins] GH-138378: Move globals-to-consts pass into main optimizer pass (GH-138379)

2025-09-18 Thread markshannon
https://github.com/python/cpython/commit/3b8325736608b246efb18dad5626766dde276e13 commit: 3b8325736608b246efb18dad5626766dde276e13 branch: main author: Mark Shannon committer: markshannon date: 2025-09-18T10:09:59+01:00 summary: GH-138378: Move globals-to-consts pass into main optimizer pass (GH

[Python-checkins] Revert gh-139075. The sumprod fix needs more work. (gh-139092)

2025-09-18 Thread rhettinger
https://github.com/python/cpython/commit/c25400a4b63563c3aea7c8863e9bc06eeca3acca commit: c25400a4b63563c3aea7c8863e9bc06eeca3acca branch: main author: Raymond Hettinger committer: rhettinger date: 2025-09-18T02:05:27-05:00 summary: Revert gh-139075. The sumprod fix needs more work. (gh-139092)