[Python-3000] PEP Draft: Enhancing the buffer protcol

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Feb 28 05:21:50 CET 2007

Josiah Carlson wrote:

> About the only issue I can see with implementing the mechanism as you
> describe is that everything that wants to offer the buffer interface
> would need to store its data in a PyArray structure.

And that wouldn't be acceptable, because the point of
the buffer interface is to provide access to memory
which is *not* kept in any standard kind of container.
Often the memory is allocated and managed by an
external library, and we have no control over it.


More information about the Python-3000 mailing list