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

Thomas Heller thomas.heller@ion-tof.com
Tue, 30 Jul 2002 18:51:41 +0200


From: "Guido van Rossum" <guido@python.org>
> > > ..., but I understand Neil's requirements.
> > > 
> > > Can they be fulfilled by adding some kind of UnlockObject()
> > > call to the 'safe buffer interface', which should mean 'I won't
> > > use the pointer received by getsaferead/writebufferproc any more'?
> > 
> >    Yes, that is exactly what I want.
> 
> I guess I still don't understand Neil's requirements.  What can't be
> done with the existing buffer interface (which requires you to hold
> the GIL while using the pointer)?

Processing in Python :-(.

Thoms