]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix FileIO.readall() (new_buffersize()) for large files
authorVictor Stinner <victor.stinner@haypocalc.com>
Tue, 11 Oct 2011 21:00:31 +0000 (23:00 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Tue, 11 Oct 2011 21:00:31 +0000 (23:00 +0200)
commitc5af7730e34f15d917730c66076125d4e545f11a
tree9ec4c70c1b7240708ec19bf37447a85e9194cf40
parent950468e5532e2af6bbda8e953854fe74d45aa9f0
Fix FileIO.readall() (new_buffersize()) for large files

Truncate the buffer size to PY_SSIZE_T_MAX.
Modules/_io/fileio.c