[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
Thu Feb 21 16:31:00 UTC 2008


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





------- Comment #1 from cracka80 at gmail.com  2008-02-21 11:31 EST -------
Created an attachment (id=867)
 --> (http://bugzilla.open-bio.org/attachment.cgi?id=867&action=view)
Python source file containing a test for object file-like-ness

This just has a test to see if an object has the necessary methods and
attributes to be considered file-like. It is based on code taken from the
'filelike' package, which can be found in the Python package index. It's a
possible idea for a test to see if the handles, as passed to many iterators,
can be considered file-like.


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