[issue11114] file.tell extremely slow
Antoine Pitrou
report at bugs.python.org
Fri Feb 4 15:10:50 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
That's expected. seek() and tell() on text (unicode) files are slow by construction. You should open your file in binary mode instead, if you want to do any seeking.
Maybe I should add a note in http://docs.python.org/dev/library/io.html#performance
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11114>
_______________________________________
More information about the Python-bugs-list
mailing list