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

Guido van Rossum guido@python.org
Mon, 29 Jul 2002 13:10:44 -0400


> >   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.

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