[issue5016] FileIO.seekable() can return False
STINNER Victor
report at bugs.python.org
Fri Mar 27 01:43:00 CET 2009
STINNER Victor <victor.stinner at 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 <report at bugs.python.org>
<http://bugs.python.org/issue5016>
_______________________________________
More information about the Python-bugs-list
mailing list