[Spambayes] Guidance re pickles versus DB for Outlook

Skip Montanaro skip@pobox.com
Tue Nov 26 19:00:47 2002


    Tim> Francois gave us a clue on that one yesterday (or so).  Looks like
    Tim> we can rearrange this, but it will require copying the module into
    Tim> spambayes...  yuk... another solution is to clone the
    Tim> module... call it spambayesdbm.  Maybe that would have several
    Tim> advantages.

What's wrong with

    import anydbm
    anydbm._names.remove("dbhash")

?

    Tim> _names = ['pybsddb', 'dbhash', 'gdbm', 'dbm', 'dumbdbm']

Note that you can't probably can't just add "pybsddb" to the front of the
list.  Anydbm expects a certain API to be exported from the underlying
database modules, which is why you see "dbhash" and not "bsddb" in the list.

Skip



More information about the Spambayes mailing list