[Biopython-dev] Python 3 porting

Tiago Antão tiagoantao at gmail.com
Tue Jul 6 14:05:33 UTC 2010


2010/7/6 Peter <biopython at maubp.freeserve.co.uk>:
> Python 2.4+ strings and unicode objects do support encode and decode,
> but we don't want to be converting from strings to unicode on Python 2.x -
> I want everything to stay as plain strings. Adding explicit decode calls
> would have side effects on Python 2.x (things becoming unicode), but
> would be needed for SFF parsing on Python 3.
>

Argh...  I will have to correct some code I submitted (with decode). I
am testing on 2.6.5.
I will start testing on 2.4, it is safer



More information about the Biopython-dev mailing list