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

gh-158451: Add _PyUnicodeWriter_SetBuffer() helper function by vstinner · Pull Request #158452 · python/cpython · GitHub

Repository navigation

gh-158451: Add _PyUnicodeWriter_SetBuffer() helper function - #158452

Merged
vstinner merged 4 commits into
python:mainfrom
vstinner:writer_set_buffer
Sep 30, 2026
Merged

vstinner merged 4 commits into
python:mainfrom
vstinner:writer_set_buffer

Conversation

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

Copy link
Copy Markdown
Member

Replace _PyUnicodeWriter_Update() with _PyUnicodeWriter_SetBuffer().

Add also _PyUnicodeWriter_SetReadOnly() helper function.

Replace _PyUnicodeWriter_Update() with _PyUnicodeWriter_SetBuffer().

Add also _PyUnicodeWriter_SetReadOnly() helper function.
PyUnicode_DecodeUTF7Stateful() now calls
_PyUnicodeWriter_FinishWithSize() instead of setting directly
writer->pos.
vstinner marked this pull request as draft September 29, 2026 22:50
vstinner marked this pull request as ready for review September 30, 2026 00:46
vstinner merged commit 00307b0 into python:main Sep 30, 2026
53 checks passed
vstinner deleted the writer_set_buffer branch September 30, 2026 00:47
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