mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
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. ........
This commit is contained in:
parent
90374f5102
commit
24af0e9656
4 changed files with 50 additions and 5 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue