[Biopython-dev] ImportWarning is new on Python 2.5
Eric Talevich
eric.talevich at gmail.com
Fri Feb 26 14:56:53 UTC 2010
On Fri, Feb 26, 2010 at 8:09 AM, Peter <biopython at maubp.freeserve.co.uk>wrote:
> Hi Eric,
>
> I've just been running the test suite on Python 2.4 (on CentOS 5.4)
> and noticed you use ImportWarning (which was added in Python 2.5) in
> Bio/Phylo/PhyloXMLIO.py
>
> Although we are going to phase out support for Python 2.4, we still
> need to keep things compatible for now.
>
> Are you happy to switch this to a different warning for now, and add a
> TODO comment to put it back to an ImportWarning once we drop Python
> 2.4 support?
>
Sure, I'll switch it to a generic Warning for now and leave a comment. I
doubt the type of the warning is very important for most uses.
-Eric
More information about the Biopython-dev
mailing list