[issue9990] PyMemoryView_FromObject alters the Py_buffer after calling PyObject_GetBuffer when ndim 1

Stefan Krah report at bugs.python.org
Thu Feb 9 23:42:31 CET 2012


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

I ran the demo in the pep-3118 repo, and it is fixed (see #10181):

$ ./bufrel 
Accessing buffer directly...
Accessing buffer through a memory view...
Done.

----------
dependencies:  -Problems with Py_buffer management in memoryobject.c (and elsewhere?)
resolution:  -> duplicate
stage: patch review -> committed/rejected
status: open -> closed
superseder:  -> Problems with Py_buffer management in memoryobject.c (and elsewhere?)

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


More information about the Python-bugs-list mailing list