[issue9611] FileIO not 64-bit safe under Windows

STINNER Victor report at bugs.python.org
Tue Jul 5 11:49:53 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

I backported fixes to 2.7, and also add a new fix to FileIO.read(). I don't see anything else to do on this issue, so I close it.

Note: read() and write() methods the file object in 2.7 are 64-bit safe on any OS. They use fread() and frwrite() which take a length in the size_t type, not in int type even on Windows.

----------
resolution:  -> fixed
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9611>
_______________________________________


More information about the Python-bugs-list mailing list