Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Sep 12, 2025

Replace the private _PyBytesWriter API with the new public PyBytesWriter API.

Replace the private _PyBytesWriter API with the new public
PyBytesWriter API.
@vstinner
Copy link
Member Author

This change discovered an undefined behavior in _PyLong_AsByteArray(). I wrote #138873 to fix it.

@vstinner vstinner merged commit 2d72493 into python:main Sep 15, 2025
43 checks passed
@vstinner vstinner deleted the pybyteswriter_bytes_format branch September 15, 2025 10:23
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