[Biopython-dev] Python 3 porting

Peter biopython at maubp.freeserve.co.uk
Thu Jul 15 16:32:01 UTC 2010


2010/7/6 Peter <biopython at maubp.freeserve.co.uk>:
>
> I could add explicit encode calls which would help SFF output under
> Python 3.x. This shouldn't change the functionality on Python 2.x, but
> I am a little concerned about it having a negative impact on the speed,
> but I have not measured this.
>

With my recent commits, SFF support now seems to work on Python 3.
This includes test_SeqIO_index.py although there are other issues here:
http://lists.open-bio.org/pipermail/biopython-dev/2010-July/008004.html

I had to add some conditional code to handle bytes <-> unicode, which
may have a measurable slow down on Python 2.

Peter



More information about the Biopython-dev mailing list