Home
last modified time | relevance | path

Searched refs:remove_signal_handler (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Doc/library/
Dasyncio-platforms.rst43 :meth:`loop.remove_signal_handler` are not supported.
Dasyncio-llapi-index.rst225 * - :meth:`loop.remove_signal_handler`
Dasyncio-eventloop.rst1050 .. method:: loop.remove_signal_handler(sig)
/external/python/cpython3/Lib/asyncio/
Dunix_events.py61 self.remove_signal_handler(sig)
129 self.remove_signal_handler(sig) # Remove it properly.
133 def remove_signal_handler(self, sig): member in _UnixSelectorEventLoop
1001 self._loop.remove_signal_handler(signal.SIGCHLD)
Devents.py541 def remove_signal_handler(self, sig): member in AbstractEventLoop
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py68 self.loop.remove_signal_handler = mock.Mock()
70 self.loop.remove_signal_handler.assert_called_with(signal.NSIG + 1)
172 self.loop.remove_signal_handler(signal.SIGHUP))
189 self.loop.remove_signal_handler(signal.SIGINT))
205 self.loop.remove_signal_handler(signal.SIGHUP)
217 OSError, self.loop.remove_signal_handler, signal.SIGHUP)
230 RuntimeError, self.loop.remove_signal_handler, signal.SIGHUP)
Dtest_events.py434 TypeError, self.loop.remove_signal_handler, 'boom')
439 ValueError, self.loop.remove_signal_handler, signal.NSIG+1)
443 ValueError, self.loop.remove_signal_handler, 0)
447 ValueError, self.loop.remove_signal_handler, -1)
452 self.assertFalse(self.loop.remove_signal_handler(signal.SIGKILL))
460 self.assertTrue(self.loop.remove_signal_handler(signal.SIGINT))
464 self.assertFalse(self.loop.remove_signal_handler(signal.SIGINT))
2467 NotImplementedError, loop.remove_signal_handler, 1)
2469 NotImplementedError, loop.remove_signal_handler, 1)