Home
last modified time | relevance | path

Searched refs:getsignal (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Lib/unittest/test/
Dtest_break.py17 self._default_handler = signal.getsignal(signal.SIGINT)
28 default_handler = signal.getsignal(signal.SIGINT)
30 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
51 default_handler = signal.getsignal(signal.SIGINT)
57 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
75 if signal.getsignal(signal.SIGINT) == signal.SIG_IGN:
103 new_handler = signal.getsignal(signal.SIGINT)
107 self.assertEqual(signal.getsignal(signal.SIGINT), new_handler)
128 if signal.getsignal(signal.SIGINT) == signal.SIG_IGN:
135 handler = signal.getsignal(signal.SIGINT)
[all …]
/third_party/python/Lib/unittest/
Dsignals.py29 installed_handler = signal.getsignal(signal.SIGINT)
52 default_handler = signal.getsignal(signal.SIGINT)
61 initial = signal.getsignal(signal.SIGINT)
/third_party/python/Lib/
Dsignal.py60 @_wraps(_signal.getsignal)
61 def getsignal(signalnum): function
62 handler = _signal.getsignal(signalnum)
/third_party/python/Lib/test/
Dtest_signal.py52 self.assertRaises(ValueError, signal.getsignal, 4242)
66 self.assertEqual(signal.getsignal(signal.SIGHUP),
69 self.assertEqual(signal.getsignal(signal.SIGHUP), hup)
129 if signal.getsignal(sig) is not None:
Dtest_threading.py1611 handler = signal.getsignal(signum)
/third_party/python/Doc/library/
Dsignal.rst72 :func:`getsignal`, :func:`pthread_sigmask`, :func:`sigpending` and
306 .. function:: getsignal(signalnum)
520 signal handler will be returned (see the description of :func:`getsignal`
/third_party/python/Misc/NEWS.d/
D3.10.2.rst213 ``getsignal()``) were omitted.
/third_party/python/Lib/asyncio/
Dunix_events.py1232 handler = signal.getsignal(signal.SIGCHLD)
/third_party/python/Lib/test/support/
D__init__.py1778 handler = self.signal.getsignal(signum)
/third_party/python/Lib/test/test_asyncio/
Dtest_events.py482 self.assertEqual(signal.getsignal(signal.SIGINT),