[Biopython-dev] [Bug 2454] Iterators can't use file-like objects

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Sat Jun 7 08:26:54 UTC 2008


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





------- Comment #8 from mdehoon at ims.u-tokyo.ac.jp  2008-06-07 04:26 EST -------
(In reply to comment #7)
> I understand your approach that these functions should be converted to modern
> Python, but it must also be remembered that Biopython as a whole is Python
> 2.3-compatible, so care must be taken not to modernise code too much. I can't
> remember when iterators were phased in, but it should be possible, I think it
> was around 2.2 anyway.
> 
Bio.Blast.NCBIXML already uses generator functions to return iterators, so I
think we are fine as far as compatibility with Python 2.3 and later is
concerned.

I'll ask on the mailing list if Bio.Gobase has any users, to get started.


-- 
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