A better python interface for buffer objects

Paul Barrett barrett at stsci.edu
Tue Dec 5 10:01:05 EST 2000


Alex Martelli wrote:

> > confusing?)  Since I can't use a string object as a writeable buffer, is
> > there some other object that I can use as a writeable buffer, not
>
> Maybe an array.array object?  Haven't tested... it should, I guess.
>
> Alex

I've tried this and it also appears to be a read-only buffer!

I'm not aware of any other options at this time.

I suppose a PEP may be in order here.

--
Dr. Paul Barrett       Space Telescope Science Institute
Phone: 410-338-4475    ESS/Science Software Group
FAX:   410-338-4767    Baltimore, MD 21218






More information about the Python-list mailing list