[issue13797] Allow objects implemented in pure Python to export PEP 3118 buffers
report at bugs.python.org
Tue Mar 20 18:42:41 CET 2012
Alex Gaynor <alex.gaynor at gmail.com> added the comment:
FWIW pypy has an __buffer__ method (used exclusively internally, AFAIK), which has semantics similar to your first proposal.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list