FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-157710: Avoid resize in PyUnicodeWriter_Finish() for singleton by vstinner · Pull Request #157862 · python/cpython · GitHub

Repository navigation

gh-157710: Avoid resize in PyUnicodeWriter_Finish() for singleton - #157862

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:writer_avoid_resize
Sep 20, 2026
Merged

vstinner merged 2 commits into
python:mainfrom
vstinner:writer_avoid_resize

Conversation

vstinner commented Sep 20, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

PyBytesWriter_FinishWithSize() and PyUnicodeWriter_Finish() discard the output string instead of resizing it if the single byte/character singleton is used.

PyBytesWriter_FinishWithSize() and PyUnicodeWriter_Finish() discard
the output string instead of resizing it if the single byte/character
singleton is used.
vstinner merged commit a64b7ec into python:main Sep 20, 2026
52 checks passed
vstinner deleted the writer_avoid_resize branch September 20, 2026 14:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL