[issue16273] f.tell() returning negative number on Windows build
Stefan Krah
report at bugs.python.org
Thu Jan 17 19:32:48 CET 2013
Stefan Krah added the comment:
What is in sample.txt? I cannot reproduce this with a source build
(Windows 7, 64-bit pgo build):
Python 2.7.3+ (default, Jan 17 2013, 20:26:24) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> f = open('sample.txt')
>>> f.read(3)
'abc'
>>> f.read(3)
'def'
>>> f.tell()
6L
----------
nosy: +skrah
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16273>
_______________________________________
More information about the Python-bugs-list
mailing list