[issue15821] Improve docs for PyMemoryView_FromBuffer()

Stefan Krah report at bugs.python.org
Thu Aug 30 16:57:21 CEST 2012


Stefan Krah added the comment:

PyMemoryViewObject already is a PyVarObject with its own shape, strides
and suboffsets. It is the PyManagedBuffer object that directly communicates
with exporters.

The decision to store *exactly* the buffer that is obtained from the
exporter was made in #10181.

Your test case seems to pass here. :) Was it supposed to crash?

----------

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


More information about the Python-bugs-list mailing list