[issue30527] PyMemoryView_FromBuffer memory leak

Stefan Krah report at bugs.python.org
Wed May 31 13:05:01 EDT 2017


Stefan Krah added the comment:

"Py_buffer view" is stack allocated. One can use memoryviews based on such buffers *inside* a function, but not return them.

----------
nosy: +skrah

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30527>
_______________________________________


More information about the Python-bugs-list mailing list