Skip to content

gh-129813, PEP 782: Add PyBytesWriter_Format() - #138824

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:pybyteswriter_format
Sep 12, 2025
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:pybyteswriter_format

Conversation

@vstinner

@vstinner vstinner commented Sep 12, 2025 •

Copy link
Copy Markdown
Member

Modify PyBytes_FromFormatV() to use the public PyBytesWriter API rather than the _PyBytesWriter private API.


📚 Documentation preview 📚: https://cpython-previews--138824.org.readthedocs.build/

Modify PyBytes_FromFormatV() to use the public PyBytesWriter API
rather than the _PyBytesWriter private API.
@vstinner

Copy link
Copy Markdown
Member Author

Benchmark on PyBytes_FromFormat() with long string argument: #131681 (comment)

@vstinner
vstinner merged commit c3fca5d into python:main Sep 12, 2025
@vstinner
vstinner deleted the pybyteswriter_format branch September 12, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant