[Python-Dev] Buffer interface in abstract.c?

M.-A. Lemburg mal@lemburg.com
Tue, 03 Aug 1999 13:29:43 +0200

Jim Fulton wrote:
> Mark Hammond wrote:
> >
> > Hi all,
> >         Im trying to slowly wean myself over to the buffer interfaces.
> OK, I'll bite.  Where is the buffer interface documented?  I found references
> to it in various places (e.g. built-in buffer()) but didn't find the interface
> itself.

I guess it's a read-the-source feature :-) Objects/bufferobject.c
and Include/object.h provide a start. Objects/stringobject.c has
a "sample" implementation.

Marc-Andre Lemburg
Y2000:                                                   150 days left
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/