Enji Cooper <[email protected]> added the comment:
Opening and seeking using SEEK_END worked in text mode with python 2.7. I'm not
terribly sure why 3.x should depart from this behavior:
>>> fp = open("configure", "rt"); fp.seek(-100, os.SEEK_END)
>>> fp.tell()
501076
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue36111>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com