diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-10 15:13:00 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-05-10 15:13:00 (GMT) |
commit | 388196ed72fbac61eea511eefb36f8f94634a8b4 (patch) | |
tree | 63e4d35fb69562e044124873bf83c0d3f743ee9c /Doc/whatsnew | |
parent | 3c6e4dd11fa2c3d43f94a6d5c6e2af221ac5cf99 (diff) | |
download | cpython-388196ed72fbac61eea511eefb36f8f94634a8b4.zip cpython-388196ed72fbac61eea511eefb36f8f94634a8b4.tar.gz cpython-388196ed72fbac61eea511eefb36f8f94634a8b4.tar.bz2 |
Issue #12011: signal.signal() and signal.siginterrupt() raise an OSError,
instead of a RuntimeError: OSError has an errno attribute.
Diffstat (limited to 'Doc/whatsnew')
-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 e657af2..d442665 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 ============= |