Issue #12011: signal.signal() and signal.siginterrupt() raise an OSError,

instead of a RuntimeError: OSError has an errno attribute.
This commit is contained in:
Victor Stinner 2011-05-10 17:13:00 +02:00
parent 3c6e4dd11f
commit 388196ed72
3 changed files with 8 additions and 2 deletions

View file

@ -148,6 +148,9 @@ signal
a nul byte into the wakeup file descriptor. So it is possible to wait more
than one signal and know which signals were raised.
* :func:`signal.signal` and :func:`signal.siginterrupt` raise an OSError,
instead of a RuntimeError: OSError has an errno attribute.
Optimizations
=============