summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-08-06 19:34:52 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-08-06 19:34:52 (GMT)
commit3f004b1cc0190b9e2b0f0e5c26847b5594ca661d (patch)
tree573f106acb895a0e21649fde273ee7631d791a74 /Doc/library
parent40b3744efa2572ce429771d6971f7972a12c2405 (diff)
downloadcpython-3f004b1cc0190b9e2b0f0e5c26847b5594ca661d.zip
cpython-3f004b1cc0190b9e2b0f0e5c26847b5594ca661d.tar.gz
cpython-3f004b1cc0190b9e2b0f0e5c26847b5594ca661d.tar.bz2
Merged revisions 83763 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83763 | brian.curtin | 2010-08-06 14:27:32 -0500 (Fri, 06 Aug 2010) | 3 lines Fix #9324: Add parameter validation to signal.signal on Windows in order to prevent crashes. ........
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/signal.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/signal.rst b/Doc/library/signal.rst
index 7beda4b..309f71b 100644
--- a/Doc/library/signal.rst
+++ b/Doc/library/signal.rst
@@ -210,6 +210,10 @@ The :mod:`signal` module defines the following functions:
see the :ref:`description in the type hierarchy <frame-objects>` or see the
attribute descriptions in the :mod:`inspect` module).
+ On Windows, :func:`signal` can only be called with :const:`SIGABRT`,
+ :const:`SIGFPE`, :const:`SIGILL`, :const:`SIGINT`, :const:`SIGSEGV`, or
+ :const:`SIGTERM`. A :exc:`ValueError` will be raised in any other case.
+
.. _signal-example: