[Python-Dev] PEP 298 - the Fixed Buffer Interface

Scott Gilbert xscottg@yahoo.com
Tue, 30 Jul 2002 23:30:58 -0700 (PDT)


--- Neil Hodgson <nhodgson@bigpond.net.au> wrote:
> 
>    I'd like to see the purpose of the interface defined here rather than
> rely upon a reference to an email which talks about two buffer entities,
> the API and the object. Reading the email produces a purpose that could 
> be used here:
> 
> [the Buffer API is] intended to allow efficient
> binary I/O from and (in some cases) to large objects that have a
> relatively well-understood underlying memory representation
> 

It's not just for I/O.  In addition to I/O, I intend to use it for
numerical calculations that can be run independently of the GIL.


Cheers,
    -Scott








__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com