[Python-Dev] marshal (was:Buffer interface in abstract.c? )

Guido van Rossum guido@CNRI.Reston.VA.US
Wed, 11 Aug 1999 10:42:10 -0400


> btw, how about adding support for buffer access
> to data that have strange internal formats (like cer-
> tain PIL image memories) or isn't directly accessible
> (like "virtual" and "abstract" image buffers in PIL 1.1).
> something like:
> 
> int initbuffer(PyObject* obj, void** context);
> int exitbuffer(PyObject* obj, void* context);
> 
> and corresponding context arguments to the
> rest of the functions...

Can you explain this idea more?  Without more understanding of PIL I
have no idea what you're talking about...

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