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 python-dev, serhiy.storchaka, vstinner
Date 2014-07-11.15:12:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Patch LGTM.

Thanks for the review.

> Here is a test for it.

Your test does not pass because Linux truncates the read() size to 2GB - 4096. I tested with /dev/zero device and with a regular file.

I wrote a simplified test to just check that size larger than INT_MAX does not emit an OverflowError.
Date User Action Args
2014-07-11 15:12:57vstinnersetrecipients: + vstinner, python-dev, serhiy.storchaka
2014-07-11 15:12:57vstinnersetmessageid: <>
2014-07-11 15:12:57vstinnerlinkissue21932 messages
2014-07-11 15:12:57vstinnercreate