[issue13171] Bug in file.read(), can access unknown data.
STINNER Victor
report at bugs.python.org
Fri Oct 14 17:55:20 CEST 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
Le 14/10/2011 14:37, Alexander Steppke a écrit :
> "When a file is opened with update mode ('+' as the second or third character in the above list of mode argument values),
You can just say " '+' in the file mode ".
> the fflush function or to a file positioning function (fseek, fsetpos, or rewind),
You should translate these names into Python method names:
fflush -> file.flush()
fseek/fsetpos -> file.seek()
rewind -> (not exposed in Python)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13171>
_______________________________________
More information about the Python-bugs-list
mailing list