STINNER Victor added the comment:

"2.7.6 or 3.4.1 with OS X 10.8. I can only reproduce it an automated test 
environment when the load is high on the machine. I've also seen it with 
10.6/10.7. It's definitely inconsistently reproducible."

I'm surprised that the Python read() method doesn't handle EINTR internally.

I'm in favor of handling EINTR internally almost everywhere, I mean in the 
Python modules implemented in the C, not in each call using these C methods. 
"handling EINTR" means calling PyErr_CheckSignals() which may raises a Python 
exception (ex: KeyboardInterrupt).

----------

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

Reply via email to