Stefan Behnel <sco...@users.sourceforge.net> added the comment:

FWIW, Cython lets user code implement the buffer interface for extension types 
using the special methods "__getbuffer__()" and "__releasebuffer__()", so 
providing the same methods (although with a different signature) also for 
normal Python types would IMHO fit nicely.

----------
nosy: +scoder

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13797>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to