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 Claudiu.Popa, ivank, pitrou, vstinner
Date 2014-04-04.16:26:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1396628783.94.0.945712584566.issue21090@psf.upfronthosting.co.za>
In-reply-to
Content
> Python 2.7 uses C fopen() and fread(), so what happens probably is that fread() silences the error.

I see that file_read() checks ferror() if fread() returned 0. I would nice to run the test in strace and attach the output of strace to see if the EIO is returneded by the kernel at least.
History
Date User Action Args
2014-04-04 16:26:24vstinnersetrecipients: + vstinner, pitrou, ivank, Claudiu.Popa
2014-04-04 16:26:23vstinnersetmessageid: <1396628783.94.0.945712584566.issue21090@psf.upfronthosting.co.za>
2014-04-04 16:26:23vstinnerlinkissue21090 messages
2014-04-04 16:26:23vstinnercreate