[docs] [issue22651] Python 2: Open file in a+ mode on Windows doesn't go to the end
report at bugs.python.org
Thu Oct 16 11:29:22 CEST 2014
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 <report at bugs.python.org>
More information about the docs