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

Scott Gilbert xscottg@yahoo.com
Tue, 30 Jul 2002 23:29:59 -0700 (PDT)

--- Thomas Heller <thomas.heller@ion-tof.com> wrote:
> In plain text:
> Provide a method which returns a 'view' into your object's
> buffer after locking the object. The view holds a reference
> to object, the objects is unlocked and decref'd when the
> view is destroyed.

Exactly.  This is just like putting an explicit close() on the file object.


Do You Yahoo!?
Yahoo! Health - Feel better, live better