Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Sep 12, 2025

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
Member Author

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

@vstinner vstinner merged commit c3fca5d into python:main Sep 12, 2025
48 checks passed
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant