[issue45459] Limited API support for Py_buffer

Antoine Pitrou report at bugs.python.org
Mon Nov 1 16:14:26 EDT 2021


Antoine Pitrou <pitrou at free.fr> added the comment:

I would advocate:

* expose the Py_buffer struct fully
* expose the various PyBUF_* constants
* expose at least PyObject_GetBuffer() and PyBuffer_Release()

The rest is optional.

----------

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


More information about the Python-bugs-list mailing list