On Tue, 20 Jul 2010 18:09:22 -0400 Ken Watford <kwatford+pyt...@gmail.com> wrote: > Is there any way to expose the PEP 3118 buffer interface for objects > that aren't extension types? > > Currently, I can expose the NumPy array interface (using either > __array_interface__ or __array_struct__) for any class, extension or > otherwise. But I can't find any reference to python-side interfacing > for PEP 3118.
There is none, but feel free to make a proposal on python-ideas if you think there's an use case for it. Regards Antoine. -- http://mail.python.org/mailman/listinfo/python-list