Stefan Krah added the comment: > First garbage collector calls tp_clear for all objects in the loop > (memory_clear() for memoryview). If self->exports != 0 for memoryview, _memory_release() fails and the _Py_MEMORYVIEW_RELEASED flag is not set.
I don't understand: 1) memory_clear() 2) _memory_release() 3) if self->exports > 0 then BufferError. Please state the code path clearly. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25525> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com