[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
Tue Jun 3 04:39:24 UTC 2008


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





------- Comment #4 from mdehoon at ims.u-tokyo.ac.jp  2008-06-03 00:39 EST -------
I agree that type checking is a problem.
I am not sure if a specialized function in Bio.File is a good idea. The
question is not if "this object is a file-like object", but "does this object
have the attributes/methods needed". So I would prefer to add checks only for
the required attributes/methods in each of the iterators.


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