[Python-Dev] Fw: Behavior of buffer()

Guido van Rossum guido@python.org
Fri, 12 Jul 2002 14:51:06 -0400


> I'm not too interested in this anymore (I _was_ a year ago, IIRC).
> I have given up using the buffer object myself, I've written
> my own (maybe in the same way as others).

Right.

> > Maybe the name 'buffer' suggests false expectations?  It's not a
> > buffer, it's an alias for a memory area.
> > 
> Hm. The name could be right (and I cold give up my own memory
> object) if there were a way to create a buffer owning it's
> own memory.

Maybe your memory object could become a standard Python extension.
Extra points if it works well with the memmap and the array modules.

--Guido van Rossum (home page: http://www.python.org/~guido/)