Jan Hosang <jan.hos...@gmail.com> added the comment: I attached a path for raising IOErrors in fromfile. I also added a testcase which failed before.
The test opens a file and closes the file with os.close(fd) without telling the file object, so fromfile doesn't notice it's reading from a file that is actually closed. ---------- keywords: +patch nosy: +chuck Added file: http://bugs.python.org/file14963/array_ioerror.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5395> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com