SIGN IN SIGN UP

gh-129813, PEP 782: Use PyBytesWriter in _PyBytes_FromList() (#138837)

Use the new public PyBytesWriter API in:

* _PyBytes_FromHex()
* _PyBytes_FromBuffer()
* _PyBytes_FromList()
* _PyBytes_FromTuple()
* _PyBytes_FromIterator()

Add _PyBytesWriter_ResizeAndUpdatePointer() and
_PyBytesWriter_GetAllocated() helper functions.
V
Victor Stinner committed
430900d15b3d3abb5c6460fbdbf90f4d6561397d
Parent: af386fd
Committed by GitHub <noreply@github.com> on 9/13/2025, 5:23:57 PM