Martin Panter added the comment: Yes I just figured out that myself. Specifically, PyBufferProcs.bf_releasebuffer has to be NULL, and the buffer stays alive as long as the object stays alive.
Also it looks like I was wrong about āuā being useless. I was tricked by a contradiction in the documentation, but I will try to fix this in a patch to Issue 24278. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24009> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com