Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/asyncio/
Dunix_events.py58 self.remove_signal_handler(sig)
126 self.remove_signal_handler(sig) # Remove it properly.
130 def remove_signal_handler(self, sig): member in _UnixSelectorEventLoop
864 self._loop.remove_signal_handler(signal.SIGCHLD)
Devents.py542 def remove_signal_handler(self, sig): member in AbstractEventLoop
/external/python/cpython3/Doc/library/
Dasyncio-platforms.rst33 :meth:`loop.remove_signal_handler` are not supported.
Dasyncio-llapi-index.rst225 * - :meth:`loop.remove_signal_handler`
Dasyncio-eventloop.rst977 .. method:: loop.remove_signal_handler(sig)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py65 self.loop.remove_signal_handler = mock.Mock()
67 self.loop.remove_signal_handler.assert_called_with(signal.NSIG + 1)
163 self.loop.remove_signal_handler(signal.SIGHUP))
179 self.loop.remove_signal_handler(signal.SIGINT))
194 self.loop.remove_signal_handler(signal.SIGHUP)
205 OSError, self.loop.remove_signal_handler, signal.SIGHUP)
217 RuntimeError, self.loop.remove_signal_handler, signal.SIGHUP)
Dtest_events.py532 TypeError, self.loop.remove_signal_handler, 'boom')
537 ValueError, self.loop.remove_signal_handler, signal.NSIG+1)
541 ValueError, self.loop.remove_signal_handler, 0)
545 ValueError, self.loop.remove_signal_handler, -1)
550 self.assertFalse(self.loop.remove_signal_handler(signal.SIGKILL))
558 self.assertTrue(self.loop.remove_signal_handler(signal.SIGINT))
562 self.assertFalse(self.loop.remove_signal_handler(signal.SIGINT))
3006 NotImplementedError, loop.remove_signal_handler, 1)
3008 NotImplementedError, loop.remove_signal_handler, 1)