signals
#
Intercept signals and handle them gracefully.
Functions#
|
|
|
Attributes#
- INTERRUPT_SIGNALS = ('SIGABRT', 'SIGINT', 'SIGTERM', 'SIGQUIT', 'SIGBREAK')#
- get_signal_name(signum)#
Examples
>>> from signal import SIGINT >>> get_signal_name(SIGINT) 'SIGINT'
- signal_handler(handler)#