Skip to content

gh-155742: Use PyBytesWriter in io _textiowrapper_writeflush() - #155743

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:io_writer
Sep 2, 2026
Merged

gh-155742: Use PyBytesWriter in io _textiowrapper_writeflush()#155743
vstinner merged 1 commit into
python:mainfrom
vstinner:io_writer

Conversation

@vstinner

@vstinner vstinner commented Aug 13, 2026

Copy link
Copy Markdown
Member

Replace soft deprecated PyBytes_FromStringAndSize() with PyBytesWriter.

Replace PyBytes_AsStringAndSize() with PyBytes_AS_STRING() and PyBytes_GET_SIZE().

Replace soft deprecated PyBytes_FromStringAndSize() with
PyBytesWriter.

Replace PyBytes_AsStringAndSize() with PyBytes_AS_STRING() and
PyBytes_GET_SIZE().
@vstinner vstinner added skip news extension-modules C modules in the Modules dir labels Aug 13, 2026
@vstinner vstinner changed the title gh-155742: Use PyBytesWriter in _io _textiowrapper_writeflush() gh-155742: Use PyBytesWriter in io _textiowrapper_writeflush() Aug 13, 2026
@vstinner
vstinner merged commit d557d64 into python:main Sep 2, 2026
57 checks passed
@vstinner
vstinner deleted the io_writer branch September 2, 2026 10:48
@vstinner

vstinner commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

Merged, thanks for the review @cmaloney.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension-modules C modules in the Modules dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants