Home
last modified time | relevance | path

Searched refs:set_event_loop (Results 1 – 25 of 27) sorted by relevance

12

/external/python/cpython3/Lib/asyncio/
Drunners.py41 events.set_event_loop(loop)
49 events.set_event_loop(None)
Devents.py589 def set_event_loop(self, loop): member in AbstractEventLoopPolicy
640 self.set_event_loop(self.new_event_loop())
648 def set_event_loop(self, loop): member in BaseDefaultEventLoopPolicy
755 def set_event_loop(loop): function
757 get_event_loop_policy().set_event_loop(loop)
Dunix_events.py1105 def set_event_loop(self, loop): member in _UnixDefaultEventLoopPolicy
1113 super().set_event_loop(loop)
/external/python/cpython3/Lib/test/test_asyncio/
Dutils.py506 def set_event_loop(self, loop, *, cleanup=True): member in TestCase
509 events.set_event_loop(None)
515 self.set_event_loop(loop)
529 events.set_event_loop(None)
Dtest_tasks.py149 self.set_event_loop(loop)
166 self.set_event_loop(loop)
183 self.set_event_loop(loop)
205 self.set_event_loop(loop)
227 self.set_event_loop(loop)
559 self.set_event_loop(loop)
578 self.set_event_loop(loop)
801 asyncio.set_event_loop(loop)
807 asyncio.set_event_loop(None)
933 asyncio.set_event_loop(loop)
[all …]
Dfunctional.py26 asyncio.set_event_loop(None)
46 asyncio.set_event_loop(None)
Dtest_streams.py29 self.set_event_loop(self.loop)
72 asyncio.set_event_loop(None)
742 self.addCleanup(asyncio.set_event_loop, None)
743 asyncio.set_event_loop(self.loop)
751 self.addCleanup(asyncio.set_event_loop, None)
752 asyncio.set_event_loop(self.loop)
Dtest_subprocess.py39 self.set_event_loop(self.loop)
519 self.set_event_loop(self.loop)
543 self.set_event_loop(self.loop)
Dtest_runners.py21 def set_event_loop(self, loop): member in TestPolicy
Dtest_locks.py34 asyncio.set_event_loop(self.loop)
70 self.set_event_loop(loop)
347 asyncio.set_event_loop(self.loop)
473 asyncio.set_event_loop(self.loop)
839 asyncio.set_event_loop(self.loop)
Dtest_base_events.py153 self.set_event_loop(self.loop)
296 asyncio.set_event_loop(loop2)
299 asyncio.set_event_loop(None)
691 asyncio.set_event_loop(loop)
802 self.set_event_loop(loop)
1042 self.set_event_loop(self.loop)
1840 asyncio.set_event_loop(self.loop)
1925 self.set_event_loop(self.loop)
Dtest_unix_events.py49 self.set_event_loop(self.loop)
260 self.set_event_loop(self.loop)
466 self.set_event_loop(self.loop)
1835 policy.set_event_loop(policy.new_event_loop())
1861 policy.set_event_loop(new_loop)
1865 policy.set_event_loop(None)
1877 asyncio.set_event_loop(self.loop)
1881 asyncio.set_event_loop(None)
Dtest_events.py56 asyncio.set_event_loop(loop)
241 self.set_event_loop(self.loop)
2788 self.set_event_loop(loop)
3095 self.assertRaises(NotImplementedError, policy.set_event_loop, object())
3117 wraps=policy.set_event_loop) as m_set_event_loop:
3130 policy.set_event_loop(None)
3155 self.assertRaises(AssertionError, policy.set_event_loop, object())
3158 policy.set_event_loop(loop)
3207 asyncio.set_event_loop(self.loop)
3222 asyncio.set_event_loop(None)
[all …]
Dtest_pep492.py37 self.set_event_loop(self.loop)
Dtest_windows_events.py37 self.set_event_loop(self.loop)
Dtest_proactor_events.py737 self.set_event_loop(self.loop)
905 self.set_event_loop(self.loop)
Dtest_queues.py77 asyncio.set_event_loop(self.loop)
Dtest_sslproto.py28 self.set_event_loop(self.loop)
/external/python/cpython3/Lib/test/
Dtest_contextlib_async.py16 asyncio.set_event_loop(loop)
21 asyncio.set_event_loop(None)
296 asyncio.set_event_loop(self.loop)
Dtest_coroutines.py2073 asyncio.set_event_loop(loop)
2080 asyncio.set_event_loop(None)
Dtest_asyncgen.py326 asyncio.set_event_loop(None)
/external/python/cpython3/Doc/library/
Dasyncio-policy.rst19 :func:`get_event_loop`, :func:`set_event_loop`, and
63 .. method:: set_event_loop(loop)
Dasyncio-platforms.rst106 asyncio.set_event_loop(loop)
Dasyncio-eventloop.rst38 in the current OS thread and :func:`set_event_loop` has not yet
50 .. function:: set_event_loop(loop)
58 Note that the behaviour of :func:`get_event_loop`, :func:`set_event_loop`,
1425 asyncio.set_event_loop(loop)
1444 asyncio.set_event_loop(loop)
Dasyncio-llapi-index.rst24 * - :func:`asyncio.set_event_loop`

12