Skip to content

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

Open
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:io_writer
Open

gh-155742: Use PyBytesWriter in io _textiowrapper_writeflush()#155743
vstinner wants to merge 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
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