Is "shelve" thread-safe on Windows?

Skip Montanaro skip at mojam.com
Thu Jul 29 10:30:50 EDT 1999


    Andrew> Can anyone suggest a simple way to gain the functionality of
    Andrew> "shelve" on a Windows platform, but which is safe for handling
    Andrew> concurrent accesses (like from CGI scripts)?

You might take a look at file locking.  On Unix there's the fcntl module.
Not sure if there is similar functionality on Windows.

Skip Montanaro	| http://www.mojam.com/
skip at mojam.com  | http://www.musi-cal.com/~skip/
847-475-3758




More information about the Python-list mailing list