[Python-Dev] pre-PEP: The Safe Buffer Interface
Greg Ewing
greg@cosc.canterbury.ac.nz
Thu, 01 Aug 2002 11:52:53 +1200 (NZST)
Thomas Heller <thomas.heller@ion-tof.com>:
> The consequence: mmap objects need a 'buffer lock counter',
> and cannot be closed while the count is >0. Which exception
> is raised then?
Maybe instead of raising an exception at all, the
closing could simply be deferred until the lock
count reaches 0?
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg@cosc.canterbury.ac.nz +--------------------------------------+