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 <1405091577.47.0.168167395594.issue21932@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2014-07-11 15:12:57vstinnersetrecipients: + vstinner, python-dev, serhiy.storchaka
2014-07-11 15:12:57vstinnersetmessageid: <1405091577.47.0.168167395594.issue21932@psf.upfronthosting.co.za>
2014-07-11 15:12:57vstinnerlinkissue21932 messages
2014-07-11 15:12:57vstinnercreate