[issue45459] Limited API support for Py_buffer

Serhiy Storchaka report at bugs.python.org
Wed Oct 13 08:11:25 EDT 2021


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

ndim is not known before calling PyObject_GetBuffer(), so we will need a new API which combines PyObject_GetBuffer() and PyBuffer_New().

----------

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


More information about the Python-bugs-list mailing list