[Spambayes-checkins] spambayes classifier.py,1.60,1.61hammie.py,1.43,1.44 storage.py,1.2,1.3 dbdict.py,1.4,NONE

Moore, Paul Paul.Moore@atosorigin.com
Thu Nov 28 09:26:34 2002


From: Neale Pickett [mailto:npickett@users.sourceforge.net]
> + import shelve
> !         self.wordinfo = dbdict.DBDict(self.db_name, self.mode,
> !                              =
classifier.WordInfo,iterskip=[self.statekey])

> !         self.db = shelve.DbfilenameShelf(self.db_name, self.mode)

You do realise that shelve uses anydbm under the hood, making it susceptible to
the same problems with Windows (only broken DBM or dumbdbm available) that the
old version had - but with no obvious way of patching it up to allow customisation
by the user?

As I said, I use pickles now, so I no longer have a use case where Windows users
would be using DBM format anyway, but there probably should be at least a warning
in a comment somewhere...

Paul



More information about the Spambayes-checkins mailing list