[issue11114] TextIOWrapper.tell extremely slow

Laurens report at bugs.python.org
Fri Feb 4 21:09:29 CET 2011


Laurens <3.14159265358 at xs4all.nl> added the comment:

All,

thanks for your help. Opening the file in binary mode worked immediately in the toy program (that is, the benchmark code I sent you). (Antoine, thanks for the hint.) In my real world program, I solved the problem by reading a line from a binary input file, and decode it explicitly and immediately to a string. The performance has become acceptable now, and I propose to close this issue.


Thanks again, cheers,

Laurens

----------
resolution:  -> accepted

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11114>
_______________________________________


More information about the Python-bugs-list mailing list