Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/library/signal.rst

    r2 r391  
    7070   is defined as :const:`signal.SIGHUP`; the variable names are identical to the
    7171   names used in C programs, as found in ``<signal.h>``. The Unix man page for
    72    ':cfunc:`signal`' lists the existing signals (on some systems this is
     72   ':c:func:`signal`' lists the existing signals (on some systems this is
    7373   :manpage:`signal(2)`, on others the list is in :manpage:`signal(7)`). Note that
    7474   not all systems define the same set of signal names; only those names defined by
    7575   the system are defined by this module.
     76
     77
     78.. data:: CTRL_C_EVENT
     79
     80   The signal corresponding to the CTRL+C keystroke event. This signal can
     81   only be used with :func:`os.kill`.
     82
     83   Availability: Windows.
     84
     85   .. versionadded:: 2.7
     86
     87
     88.. data:: CTRL_BREAK_EVENT
     89
     90   The signal corresponding to the CTRL+BREAK keystroke event. This signal can
     91   only be used with :func:`os.kill`.
     92
     93   Availability: Windows.
     94
     95   .. versionadded:: 2.7
    7696
    7797
     
    185205   exception to be raised.
    186206
     207   .. versionadded:: 2.6
     208
    187209
    188210.. function:: siginterrupt(signalnum, flag)
     
    195217   Note that installing a signal handler with :func:`signal` will reset the
    196218   restart behaviour to interruptible by implicitly calling
    197    :cfunc:`siginterrupt` with a true *flag* value for the given signal.
     219   :c:func:`siginterrupt` with a true *flag* value for the given signal.
    198220
    199221   .. versionadded:: 2.6
     
    216238   see the :ref:`description in the type hierarchy <frame-objects>` or see the
    217239   attribute descriptions in the :mod:`inspect` module).
     240
     241   On Windows, :func:`signal` can only be called with :const:`SIGABRT`,
     242   :const:`SIGFPE`, :const:`SIGILL`, :const:`SIGINT`, :const:`SIGSEGV`, or
     243   :const:`SIGTERM`. A :exc:`ValueError` will be raised in any other case.
    218244
    219245
Note: See TracChangeset for help on using the changeset viewer.