[Spambayes] Guidance re pickles versus DB for Outlook

FrançoisGranger francois.granger@free.fr
Tue Nov 26 21:38:33 2002

At 10:38 -0600 26/11/02, in message Re: [Spambayes] Guidance re 
pickles versus DB for Outlo, Tim Stone - Four Stones Expressions 
>Francois gave us a clue on that one yesterday (or so).  Looks like we can
>rearrange this, but it will require copying the module into spambayes...
>yuk... another solution is to clone the module... call it spambayesdbm.  Maybe
>that would have several advantages.
>Quoting Francois:
>on 25/11/02 12:04, Moore, Paul at Paul.Moore@atosorigin.com wrote:
>>   Or would it be worth
>>  specifically looking for pybsddb, and using that in preference if it
>>  is present?
>Since it use anydbm, you can copy lib/anydbm.py in your spambayes folder and
>modify  the line 51:
>_names = ['dbhash', 'gdbm', 'dbm', 'dumbdbm']
>and add your preferred dbm in front of the list. It will use it if it exist.
>_names = ['pybsddb', 'dbhash', 'gdbm', 'dbm', 'dumbdbm']

We can even preselect the dbm in use even through anydbm. Doing it 
based on the plateform would be a nice idea until the ZODB one is 
packaged with Python distro. And this is a 5 line of codes 

It is even easier to customize the behavior of these 'standard' dbms. 
See the /Demo/classes/Dbm.py script.....

PS: I am sorry, I made several 'reply to sender' instead of 'Reply 
all' tonight. my apologies.....
Le courrier électronique est un moyen de communication. Les gens devraient
se poser des questions sur les implications politiques des choix (ou non
choix) de leurs outils et technologies.
Pour des courriers propres : http://minilien.com/?IXZneLoID0 - 
http://marc.herbert.free.fr/mail/ http://expita.com/nomime.html

More information about the Spambayes mailing list