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

Thomas Heller thomas.heller@ion-tof.com
Mon, 29 Jul 2002 19:14:51 +0200


> > >   If an object's buffer isn't allocated for the object's life
> > > when the object is created, it should not support the "safe" version
> > > of the protocol (maybe a different name would be better), and users
> > > should not release the GIL while using on to the pointer.
> > 
> > 'Persistent' buffer interface? Too long?
> 
> No, persistent typically refers to things that survive longer than a
> process.  Maybe 'static' buffer interface would work.
> 
Ahem, right.
Maybe Barry can change it before committing this?

Thomas