This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients pitrou, vstinner
Date 2011-05-25.12:13:58
SpamBayes Score 1.0702108e-08
Marked as misclassified No
Message-id <>
FileIO.readall() reads the file position and size before each call to read(), to adjust the buffer size.

Moreover FileIO.readall() calls lseek() on Windows: it should use _lseeki64() instead, to handle correctly file bigger than 2 GB (or maybe 4 GB? I don't know).

Attached patch fixes both problems.

-- calls until returns an empty byte string. Why not calling only once?
Date User Action Args
2011-05-25 12:14:00vstinnersetrecipients: + vstinner, pitrou
2011-05-25 12:14:00vstinnersetmessageid: <>
2011-05-25 12:13:59vstinnerlinkissue12175 messages
2011-05-25 12:13:59vstinnercreate