STINNER Victor added the comment: > This is a somewhat unfortunate difference between the major C libs and > Python's new IO, but probably too late to change.
Well, it's easy to workaround it: just all file.seek(0, 2) after open() to always to the end ;-) (or file.seek(0) to always go the beginning). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22651> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com