Skip to content

gh-129813, PEP 782: Use PyBytesWriter in _multiprocessing - #139047

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:pybyteswriter_mp
Sep 17, 2025
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:pybyteswriter_mp

Conversation

@vstinner

@vstinner vstinner commented Sep 17, 2025 •

Copy link
Copy Markdown
Member

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
@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

1 participant