[issue45459] Limited API support for Py_buffer
STINNER Victor
report at bugs.python.org
Wed Dec 8 11:50:48 EST 2021
STINNER Victor <vstinner at python.org> added the comment:
> Py_buffer data = {NULL, NULL};
> The code initializes Py_buffer.buf and Py_buffer.obj as NULL. The remaining fields are whatever random values happens to be on the C stack.
The C language sets other members to 0/NULL with this syntax, no?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45459>
_______________________________________
More information about the Python-bugs-list
mailing list