STINNER Victor added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21090>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to