[issue36065] Add unified C API for accessing bytes and bytearray

Serhiy Storchaka report at bugs.python.org
Thu Feb 21 09:53:16 EST 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

The unified C API already exists. It is called the buffer protocol.

https://docs.python.org/3/c-api/buffer.html#buffer-related-functions

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36065>
_______________________________________


More information about the Python-bugs-list mailing list