Lines Matching refs:default_handler
10 def __init__(self, default_handler): argument
12 self.original_handler = default_handler
13 if isinstance(default_handler, int):
14 if default_handler == signal.SIG_DFL:
16 default_handler = signal.default_int_handler
17 elif default_handler == signal.SIG_IGN:
20 def default_handler(unused_signum, unused_frame): function
26 self.default_handler = default_handler
33 self.default_handler(signum, frame)
36 self.default_handler(signum, frame)
52 default_handler = signal.getsignal(signal.SIGINT)
53 _interrupt_handler = _InterruptHandler(default_handler)