[Python-checkins] [3.13] gh-90304: Fix IDLE startup failure with a broken font (GH-152419) (#157397)

2026-09-12 Thread terryjreedy
https://github.com/python/cpython/commit/f5f6aced4fb9499a227374f90846cf3ed6daa8a4 commit: f5f6aced4fb9499a227374f90846cf3ed6daa8a4 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: terryjreedy date: 2026-09-13T05:59:43Z summary: [3.13]

[Python-checkins] gh-157242: Allow negative grow in PyBytesWriter_Grow() (#157375)

2026-09-12 Thread vstinner
https://github.com/python/cpython/commit/bab97c599f7c66b6b7b718a1c03a4bf4520b504c commit: bab97c599f7c66b6b7b718a1c03a4bf4520b504c branch: main author: Victor Stinner committer: vstinner date: 2026-09-12T20:12:45Z summary: gh-157242: Allow negative grow in PyBytesWriter_Grow() (#157375)

[Python-checkins] [3.15] gh-156126: Fix crash in -X importtime with unencodable module names (GH-156137) (#156259)

2026-09-12 Thread hugovk
https://github.com/python/cpython/commit/e325fae357821165d30fcca10ad4941d3c1e5201 commit: e325fae357821165d30fcca10ad4941d3c1e5201 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date:

[Python-checkins] gh-157366: Remove leftover bytes support from _elementtree (GH-157367)

2026-09-12 Thread serhiy-storchaka
https://github.com/python/cpython/commit/b1e7554ac1e4268eddbb6d9dd7fad512c44d9256 commit: b1e7554ac1e4268eddbb6d9dd7fad512c44d9256 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2026-09-12T19:05:42Z summary: gh-157366: Remove leftover bytes support from _elementtree

[Python-checkins] gh-155742: Use PyBytesWriter in winconsoleio.c (#157391)

2026-09-12 Thread vstinner
https://github.com/python/cpython/commit/c947a4649a1fbadad1ca5423ed3bc5043d3cc4e4 commit: c947a4649a1fbadad1ca5423ed3bc5043d3cc4e4 branch: main author: Victor Stinner committer: vstinner date: 2026-09-13T07:21:18+02:00 summary: gh-155742: Use PyBytesWriter in winconsoleio.c (#157391) Replace

[Python-checkins] gh-155742: Use PyBytesWriter in bytes.translate() (#157346)

2026-09-12 Thread vstinner
https://github.com/python/cpython/commit/575fe3914f466e684f13aed1cdd68347f8746944 commit: 575fe3914f466e684f13aed1cdd68347f8746944 branch: main author: Victor Stinner committer: vstinner date: 2026-09-12T17:49:29Z summary: gh-155742: Use PyBytesWriter in bytes.translate() (#157346) Replace

[Python-checkins] gh-157242: Do not close io.BytesIO on MemoryError (#157344)

2026-09-12 Thread vstinner
https://github.com/python/cpython/commit/23eda007f8d543495ba4935df75d243d76f9ef7f commit: 23eda007f8d543495ba4935df75d243d76f9ef7f branch: main author: Victor Stinner committer: vstinner date: 2026-09-12T19:06:19+02:00 summary: gh-157242: Do not close io.BytesIO on MemoryError (#157344)

[Python-checkins] gh-153569: hide tokenizer state behind token and source operations (#156654)

2026-09-12 Thread pablogsal
https://github.com/python/cpython/commit/7bfa97f4dca58ab45def2ca0a1e8088997a4fa0b commit: 7bfa97f4dca58ab45def2ca0a1e8088997a4fa0b branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2026-09-12T14:30:00+01:00 summary: gh-153569: hide tokenizer state behind token and source

[Python-checkins] io: Use a PyBytesWriter for IOBase.readline (#157024)

2026-09-12 Thread methane
https://github.com/python/cpython/commit/0ed5fed22af7d2d917feba8cb9fb09d0bbbc4166 commit: 0ed5fed22af7d2d917feba8cb9fb09d0bbbc4166 branch: main author: Inada Naoki committer: methane date: 2026-09-12T16:47:28+09:00 summary: io: Use a PyBytesWriter for IOBase.readline (#157024) files: M

[Python-checkins] [3.14] gh-155095: Fix docs changes builder for our custom directives (GH-155100) (#157357)

2026-09-12 Thread StanFromIreland
https://github.com/python/cpython/commit/b9f6d5a67b37abd75a27c040af7cd5efcc9c08fd commit: b9f6d5a67b37abd75a27c040af7cd5efcc9c08fd branch: 3.14 author: Stan Ulbrych committer: StanFromIreland date: 2026-09-12T09:22:27Z summary: [3.14] gh-155095: Fix docs changes builder for our custom

[Python-checkins] gh-155095: Fix docs changes builder for our custom directives (#155100)

2026-09-12 Thread StanFromIreland
https://github.com/python/cpython/commit/94dc05133531d792fb0e14bfe12c3fe65ba3a91f commit: 94dc05133531d792fb0e14bfe12c3fe65ba3a91f branch: main author: Stan Ulbrych committer: StanFromIreland date: 2026-09-12T10:11:20+01:00 summary: gh-155095: Fix docs changes builder for our custom directives

[Python-checkins] [3.15] gh-155095: Fix docs changes builder for our custom directives (GH-155100) (#157359)

2026-09-12 Thread hugovk
https://github.com/python/cpython/commit/6241129b8de9d9cede4ba12b4b8511bb9ae8ae3d commit: 6241129b8de9d9cede4ba12b4b8511bb9ae8ae3d branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date:

[Python-checkins] [3.13] gh-155095: Fix docs changes builder for our custom directives (GH-155100) (GH-157357) (#157358)

2026-09-12 Thread StanFromIreland
https://github.com/python/cpython/commit/0a7db3340018400ea20a208bbf7cd4f658a3351f commit: 0a7db3340018400ea20a208bbf7cd4f658a3351f branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: StanFromIreland date: 2026-09-12T09:29:24Z summary: [3.13]

[Python-checkins] Fix a typo in `CODEOWNERS` (#157356)

2026-09-12 Thread ezio-melotti
https://github.com/python/cpython/commit/227b5f05b56e4f57061f91379bcb372a028a9b30 commit: 227b5f05b56e4f57061f91379bcb372a028a9b30 branch: main author: Stan Ulbrych committer: ezio-melotti date: 2026-09-12T11:35:10+02:00 summary: Fix a typo in `CODEOWNERS` (#157356) files: M .github/CODEOWNERS

[Python-checkins] gh-157242: Add _PyBytes_IsMutable() assertion (#157371)

2026-09-12 Thread vstinner
https://github.com/python/cpython/commit/121e27c484539faaf24e6b264846217a8f4b9738 commit: 121e27c484539faaf24e6b264846217a8f4b9738 branch: main author: Victor Stinner committer: vstinner date: 2026-09-12T20:22:01Z summary: gh-157242: Add _PyBytes_IsMutable() assertion (#157371) Elaborate on

[Python-checkins] gh-156939: Detect buffer overflow in PyBytesWriter in debug mode (#156943)

2026-09-12 Thread vstinner
https://github.com/python/cpython/commit/12a1de1a4e22732700cf7d8fd75ebff4b6e0513d commit: 12a1de1a4e22732700cf7d8fd75ebff4b6e0513d branch: main author: Victor Stinner committer: vstinner date: 2026-09-13T00:28:39Z summary: gh-156939: Detect buffer overflow in PyBytesWriter in debug mode

[Python-checkins] gh-156939: Detect PyBytesWriter buffer overflow earlier (#157385)

2026-09-12 Thread vstinner
https://github.com/python/cpython/commit/58cdff72de89d92c27c53146bf51cb8ad2558b02 commit: 58cdff72de89d92c27c53146bf51cb8ad2558b02 branch: main author: Victor Stinner committer: vstinner date: 2026-09-13T05:47:24+02:00 summary: gh-156939: Detect PyBytesWriter buffer overflow earlier (#157385)

[Python-checkins] gh-90304: Fix IDLE startup failure with a broken font (#152419)

2026-09-12 Thread terryjreedy
https://github.com/python/cpython/commit/8a2db991dabe7ee5afd8385ef569f6e1f0120d6f commit: 8a2db991dabe7ee5afd8385ef569f6e1f0120d6f branch: main author: Serhiy Storchaka committer: terryjreedy date: 2026-09-13T00:20:58-04:00 summary: gh-90304: Fix IDLE startup failure with a broken font

[Python-checkins] [3.14] gh-90304: Fix IDLE startup failure with a broken font (GH-152419) (#157396)

2026-09-12 Thread terryjreedy
https://github.com/python/cpython/commit/28fbedca349dce67589e4c37d7f71fef81933f2c commit: 28fbedca349dce67589e4c37d7f71fef81933f2c branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: terryjreedy date: 2026-09-13T05:00:04Z summary: [3.14]

[Python-checkins] gh-154719: Preserve trailing whitespace in t-string interpolation expressions (#154762)

2026-09-12 Thread pablogsal
https://github.com/python/cpython/commit/1a703ab9e6a050b40c469788ec7758713c6bf62b commit: 1a703ab9e6a050b40c469788ec7758713c6bf62b branch: main author: Pengyu Lee committer: pablogsal date: 2026-09-13T01:09:22+01:00 summary: gh-154719: Preserve trailing whitespace in t-string interpolation

[Python-checkins] gh-156939: Update UTF-8 encoder for PyBytesWriter changes (#157383)

2026-09-12 Thread vstinner
https://github.com/python/cpython/commit/2cd6d4bc5b3804068ba5c93fefb72601d86b1d5e commit: 2cd6d4bc5b3804068ba5c93fefb72601d86b1d5e branch: main author: Victor Stinner committer: vstinner date: 2026-09-13T01:14:17Z summary: gh-156939: Update UTF-8 encoder for PyBytesWriter changes (#157383)