[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)
Nick Coghlan
report at bugs.python.org
Tue Jan 4 15:58:48 CET 2011
Nick Coghlan <ncoghlan at gmail.com> added the comment:
>From Lenard Lindstrom in issue 10001 (closed as dupe of this issue):
The ~Py_buffer.obj field is undocumented. Yet memoryview, that acts as a wrapper, includes the field in gc traversal. Also, if the field is not initialized by bf_getbuffer its value can be indeterminate. For memoryview the gc can crash (see attached C demo program).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10181>
_______________________________________
More information about the Python-bugs-list
mailing list