[Spambayes] locking pickle/dbm against concurrent access?
skip at pobox.com
Mon Jan 20 18:32:13 EST 2003
Neale> Hey guys, I'm not quite up on the discussion yet, but doesn't the
Neale> bsddb module already lock the database when you open it for
If it does, that would be fine when anydbm selects that database, but
wouldn't help people who (silently) get other databases. Also, I believe
the shelve module always opens databases for read/write access, probably
generating unnecessary lock activity. It would be nice if hammiefilter (at
least) could open the file read-only.
More information about the Spambayes