• Victor Stinner's avatar
    Issue #23715: signal.sigwaitinfo() and signal.sigtimedwait() are now retried · a453cd8d
    Victor Stinner yazdı
    when interrupted by a signal not in the *sigset* parameter, if the signal
    handler does not raise an exception. signal.sigtimedwait() recomputes the
    timeout with a monotonic clock when it is retried.
    
    Remove test_signal.test_sigwaitinfo_interrupted() because sigwaitinfo() doesn't
    raise InterruptedError anymore if it is interrupted by a signal not in its
    sigset parameter.
    a453cd8d
test_signal.py 37.6 KB