[Biopython-dev] Python 3 porting

Peter biopython at maubp.freeserve.co.uk
Fri Jul 9 13:25:40 UTC 2010


2010/7/9 Tiago Antão <tiagoantao at gmail.com>:
>
> 2010/7/9 Peter <biopython at maubp.freeserve.co.uk>:
>> The primary aim is to get the main Biopython functionality working on
>> Python 3 (with an eye on performance), while maintaining Python 2
>> support. Getting the unit tests working is just a step towards this - and
>> the more test coverage we have the more useful this will be for us.
>> But that is probably what you meant?
>
> Actually, a bit more: I don't know how to deal with cases for which
> there are no unit tests (and 2to3 warnings).

The simple answer is we really need to write more unit tests ;)

This will be tedious, but useful for improving the robustness of Biopython
on Python 2,x as well as helping with porting to Python 3.x

For example, I recent asked if anyone would like to write some more
tests for Bio.PDB (lots of things using has_key have no test coverage).

Peter




More information about the Biopython-dev mailing list