Message222757
> 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:57 | vstinner | set | recipients:
+ vstinner, python-dev, serhiy.storchaka |
2014-07-11 15:12:57 | vstinner | set | messageid: <1405091577.47.0.168167395594.issue21932@psf.upfronthosting.co.za> |
2014-07-11 15:12:57 | vstinner | link | issue21932 messages |
2014-07-11 15:12:57 | vstinner | create | |
|