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

Antoine Pitrou report at bugs.python.org
Thu Jan 17 20:05:04 CET 2013


Antoine Pitrou added the comment:

I am afraid I cannot reproduce with the 2.7.3 64-bit installer either:

C:\>python27\python.exe
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> f = open("sample.txt")
>>> f.read(3)
'xxx'
>>> f.read(3)
'xxx'
>>> f.tell()
6L

----------

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


More information about the Python-bugs-list mailing list