mirror of
https://github.com/python/cpython.git
synced 2026-06-25 12:27:09 -04:00
77a22ef76a
Replace PyBytes_FromStringAndSize(NULL, size) and _PyBytes_Resize() with the new public PyBytesWriter API. Change also 'read' variable type from int to Py_ssize_t.