[Biopython-dev] [Bug 3168] different StringIO import for Python 3

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Thu Jan 13 10:51:48 UTC 2011


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





------- Comment #1 from biopython-bugzilla at maubp.freeserve.co.uk  2011-01-13 05:51 EST -------
Hi Michael,

We have started looking at calling 2to3 via the setup.py script, and will
update the REAME file if things change. However, for now you must run the 2to3
script twice (as described in the README file) before installing Biopython.
The 2to3 script automatically switches this:


import StringIO
...
StringHandle = StringIO.StringIO


to a Python 3 equivalent:


import io
...
StringHandle = io.StringIO



i.e. I can't reproduce any problem. Could you clarify what you are doing?


Thanks,

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