Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Sep 17, 2025

Replace PyBytes_FromStringAndSize(NULL, size) and _PyBytes_Resize() with the new public PyBytesWriter API.

Change also 'read' variable type from int to Py_ssize_t.

Replace PyBytes_FromStringAndSize(NULL, size) and _PyBytes_Resize()
with the new public PyBytesWriter API.

Change also 'read' variable type from int to Py_ssize_t.
@vstinner vstinner requested a review from gpshead as a code owner September 17, 2025 15:00
@vstinner vstinner merged commit 77a22ef into python:main Sep 17, 2025
47 checks passed
@vstinner vstinner deleted the pybyteswriter_mp branch September 17, 2025 15:44
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