Skip to content

gh-129813, PEP 782: Use PyBytesWriter in _Py_bytes_maketrans() - #139044

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

vstinner merged 1 commit into
python:mainfrom
vstinner:pybyteswriter_maketrans

Conversation

@vstinner

@vstinner vstinner commented Sep 17, 2025 •

Copy link
Copy Markdown
Member

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

Replace PyBytes_FromStringAndSize(NULL, size) with the new public
PyBytesWriter API.
@vstinner
vstinner merged commit 2632426 into python:main Sep 17, 2025
@vstinner
vstinner deleted the pybyteswriter_maketrans branch September 17, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant