> Well this is wishing thinking, since by returning an empty list you
> force the user to handle EINTR - just in a different way.
I know that returning an empty list changes the semantics: I just
think that's better - or not as bad - than the current possibility of
having any single piece of code possibly die upon EINTR.
If you want to implement retry with timeout re-computation, I'm not
the one to who must be convinced :-)
(BTW, if we go this way, then time.sleep() should probably also be
fixed to retry upon EINTR). |