Lines Matching refs:signal
36 import pty, signal
38 pty = signal = None
2116 @unittest.skipUnless(pty, "the pty and signal modules must be available")
2124 # of "pid, fd = pty.fork()" can raise SIGHUP signal:
2125 # just ignore the signal.
2129 old_sighup = signal.signal(signal.SIGHUP, self.handle_sighup)
2133 signal.signal(signal.SIGHUP, old_sighup)
2149 signal.alarm(2)