[issue25498] Python 3.4.3 core dump with simple sample code
Stefan Krah
report at bugs.python.org
Fri Oct 30 17:01:47 EDT 2015
Stefan Krah added the comment:
If memoryview B is created from memoryview A, then B must be
registered with the same ManagedBuffer as A, otherwise the
whole scheme breaks down (PyMemoryView_FromObject() performs
this check).
PyMemoryView_FromBuffer() is really a legacy function that
should be only used for creating temporary views within a
function. As far as I know, it has usually been used that
way from the start (since 3.0).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25498>
_______________________________________
More information about the Python-bugs-list
mailing list