[Python-Dev] The buffer interface

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 17 Oct 2000 12:09:55 +1300 (NZDT)


Guido:

> The buffer *API* doesn't guarantee enough about the lifetime of the
> pointers for the buffer *object* to be able to safely preserve those
> pointers, even if the buffer object holds on to the base object.

This seems like a fatal flaw to me, which should have
prevented the buffer object in its present form from
ever having been implemented.

I suggest that this problem MUST be fixed, or the
buffer object removed entirely.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+