
Oct. 1, 2010
7:26 a.m.
Lenard Lindstrom <len-l@telus.net> added the comment: This will work for bf_getbuffer, though having PyObject_GetBuffer set the obj field before passing it to the callback might be safer. Also, this does not address the case with wrapper types like memoryview. What happens if ~Py_buffer.obj is not visited in tp_traverse? Should this be documented? ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10001> _______________________________________