[Biopython-dev] [Bug 2629] Updated Bio.NaiveBayes to listfns import

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Mon Nov 3 22:58:11 UTC 2008


http://bugzilla.open-bio.org/show_bug.cgi?id=2629





------- Comment #5 from biopython-bugzilla at maubp.freeserve.co.uk  2008-11-03 17:58 EST -------
(In reply to comment #4)
> 
> I noticed you are using set (line 145 in the new cvs file) which is not
> compatible with Python2.3. How should this be addressed?
> 

I've been using something like this elsewhere in Biopython:

#TODO - Remove this work around once we drop python 2.3 support
try:
    set
except NameError:
    from sets import Set as set

Peter


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list