[issue39471] Meaning and clarification of PyBuffer_Release()
Sebastian Berg
report at bugs.python.org
Mon Jan 27 17:28:22 EST 2020
Sebastian Berg <sebastian at sipsolutions.net> added the comment:
Hmmm, it seems I had missed this chunk of PEP 3118 before:
> Exporters will need to define a bf_releasebuffer function if they can re-allocate their memory, strides, shape, suboffsets, or format variables which they might share through the struct bufferinfo.
Which reads like the opposite of what I would like to see, unfortunately. Which I guess means that the parsing issue should be addressed differently. Opinions still welcome, though.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39471>
_______________________________________
More information about the Python-bugs-list
mailing list