[Python-Dev] pre-PEP: The Safe Buffer Interface

Thomas Heller thomas.heller@ion-tof.com
Fri, 26 Jul 2002 17:06:55 +0200


From: "Scott Gilbert" <xscottg@yahoo.com>
> > Here is the draft PEP for the ideas posted here.
> > 
> [...]
> 
> I like it.  :-)
:-)

> 
> >         typedef size_t (*getlargereadbufferproc)(PyObject *, void **);
> >         typedef size_t (*getlargewritebufferproc)(PyObject *, void **);
> 
> I'm sure this is a cut-and-pasto for 
> 
>           typedef size_t (*getsafereadbufferproc)(PyObject *, void **);
>           typedef size_t (*getsafewritebufferproc)(PyObject *, void **);
> 
Exactly. Everything is named safebuffer instead of largebuffer.

Thanks,

Thomas