[Bug 399422] [NEW] spambayes issues a sets-related DeprecationWarning from classifier.py:43
Christian Reis
kiko at async.com.br
Tue Jul 14 18:25:12 UTC 2009
Public bug reported:
I am using spambayes from Jaunty:
ii spambayes 1.0.4-5.1 Python-based spam filter using
statistical analysi
When you run it from procmail you get this nice warning in your procmail
log:
/usr/lib/python2.6/dist-packages/spambayes/classifier.py:43: DeprecationWarning: the sets module is deprecated
from sets import Set
If you don't want the warning, you need to patch spambayes with something like the patch available at
https://fedorahosted.org/suds/ticket/55 -- basically making the import conditional on the Python version.
** Affects: spambayes (Ubuntu)
Importance: Undecided
Status: New
** Tags: patch
** Package changed: ubuntu => spambayes (Ubuntu)
--
spambayes issues a sets-related DeprecationWarning from classifier.py:43
https://bugs.launchpad.net/bugs/399422
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list