[spambayes-dev] gdbm error (was Error running pop3proxy.py)

Meyer, Tony T.A.Meyer at massey.ac.nz
Tue Sep 9 19:28:49 EDT 2003


[Tony]
> Thanks.  If I do this:
>     state.bayes.store()
>     del state.bayes

[Mark]
> state.bayes = None
> 
> is better style IMO.

Stored for future reference (since it's no use here).

> > Or do I need to add a close() method
> > to the classifier objects?  (which would do nothing for the pickle).
> 
> It should grow one, yes.  Outlook does similar hacks (and I 
> apologize for not fixing it in the first place). 

So you should <wink>.

[...]
> So I just checked in a close method to storage.py - it works 
> for Outlook (which I also changed to call it).

Thanks. I've checked in a change for sb_server.py and sb_imapfilter to
do likewise.

=Tony Meyer



More information about the spambayes-dev mailing list