STINNER Victor <victor.stin...@haypocalc.com> added the comment: > Needs backport to trunk and 2.6, if someone is interested.
I'm interrested by a backport at least in trunk. I updated the patch to trunk: - test directly _file._FileIO() instead of using open() because in Python trunk, a file has no seekable() method :-/ - use contextlib.closing() because _FileIO doesn't implement context API (not __exit__() method) ---------- Added file: http://bugs.python.org/file13429/fileio_seekable-trunk.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5016> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com