Hi,

> 
> FWIW Python's `time.sleep` also works like this: 
> https://docs.python.org/3/library/time.html#time.sleep

Python also implements the following:

> If the sleep is interrupted by a signal and no exception is raised by the 
> signal handler, the sleep is restarted with a recomputed timeout.
> 

I think we should also implement that. As a consequence, `sleep(...)` will 
always return `0`.

If we “fix” sleep(), let’s “fix” it completely.

—Claude

Reply via email to