Martin v. Löwis <[email protected]> added the comment:
Am 16.09.10 14:06, schrieb Armin Ronacher:
>
> Armin Ronacher<[email protected]> added the comment:
>
>> Hmm. So under what conditions should it continue, and under what
>> conditions should it raise an exception (when errno is EINTR)?
>
> EINTR indicates a temporary failure. In that case it should always retry.
But Ruby doesn't. If you send SIGINT, it will print
-e:1:in `read': Interrupt
from -e:1
If you send SIGHUP, it will print
Hangup
So it is surely more complex than "always retry".
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue9867>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com