diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-10 17:13:00 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-10 17:13:00 +0200 |
commit | 42bd637389cf900ae1fdca47b3fb688b39679fdf (patch) | |
tree | 5bf1ee325dc32169e6b0be16b59a95fa8e9adcf9 /Doc | |
parent | 9ad1b4e4fba22ddbc6e9cc6dac91b7f98cf01d50 (diff) | |
download | cpython-42bd637389cf900ae1fdca47b3fb688b39679fdf.tar.gz |
Issue #12011: signal.signal() and signal.siginterrupt() raise an OSError,
instead of a RuntimeError: OSError has an errno attribute.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index e657af2472..d4426655d1 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -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 ============= |