__del__ pattern?

Bryan Olson fakeaddress at nowhere.org
Fri Aug 19 18:33:21 CEST 2005


BranoZ wrote:
 > bryanjugglercryptographer at yahoo.com wrote:
 >
 >>For a reasonably portable solution, leave the lock file open.
 >>On most systems, you cannot delete an open file,..
 >
 > On most UNIXes, you can delete an open file.
 > Even flock-ed. This is BTW also an hack around flock.

Yes, sorry; my bad.

 > Use file that is writeable by A and B in a directory that is
 > writeable only by root.

Is that portable? What's the sequence the program should try?


-- 
--Bryan



More information about the Python-list mailing list