mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #12011: signal.signal() and signal.siginterrupt() raise an OSError,
instead of a RuntimeError: OSError has an errno attribute.
This commit is contained in:
parent
3c6e4dd11f
commit
388196ed72
3 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
=============
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue