|
Methods defined here:
- __del__(self)
- __init__(self,
signals, handler=None)
-
Can take integer signal number (checked in the signal module)
or the string name of a valid signal (encapsulated in an array)
- clear(self,
my_signals=None)
Data and other attributes defined here:
- func = <built-in function
signal>
-
signal(sig, action) -> action
Set the action for the given signal. The action can be SIG_DFL,
SIG_IGN, or a callable Python object. The previous action is
returned. See getsignal() for possible return values.
*** IMPORTANT NOTICE ***
A signal handler function is called with two arguments:
the first is the signal number, the second is the interrupted stack frame.
- ignore = 1
- posix_signal = <module
'posix_signal' from
'/home/sylvain/python/lib/python2.4/site-packages/posix_signal.so'>
|