liugang added the comment: Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> f = open('e:\\1.txt') >>> f.readline() '1\n' >>> f.tell() 340282367000166625996085689099021713410 >>> f.readline() '2\n' >>> f.tell() 340282367000166625996085689099021713412 >>>
---------- title: file tell() report incorrect file position (Windows, Linux is OK) -> file tell() report incorrect file position on Windows (but Linux is OK) Added file: http://bugs.python.org/file45649/1.txt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28804> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com