summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-08-06 19:41:01 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-08-06 19:41:01 (GMT)
commit24af0e965694b997e90c46bd754a394e1ac86b45 (patch)
treeaabd01076d3553a1420d73ed9bdcf4078f4be07a /Doc
parent90374f510223f559a70dcd762e223762d4f2ad85 (diff)
downloadcpython-24af0e965694b997e90c46bd754a394e1ac86b45.zip
cpython-24af0e965694b997e90c46bd754a394e1ac86b45.tar.gz
cpython-24af0e965694b997e90c46bd754a394e1ac86b45.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')
-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 0f84537..74ff78d 100644
--- a/Doc/library/signal.rst
+++ b/Doc/library/signal.rst
@@ -236,6 +236,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: