[issue16273] f.tell() returning negative number on Windows build

Sijin Joseph report at bugs.python.org
Sat Apr 13 22:15:20 CEST 2013


Sijin Joseph added the comment:

Attaching a patch with a doc update to the tutorial, specifying that

1. The return value from f.tell is an opaque number for text files.
2. When seeking using text files the offset value needs to come from f.tell(). http://docs.python.org/3.4/library/io.html#io.TextIOBase.seek

----------
keywords: +patch
nosy: +sijinjoseph
Added file: http://bugs.python.org/file29823/16273-doc-update.patch

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


More information about the Python-bugs-list mailing list