Home
last modified time | relevance | path

Searched refs:new_event_loop (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Lib/asyncio/
Devents.py593 def new_event_loop(self): member in AbstractEventLoopPolicy
640 self.set_event_loop(self.new_event_loop())
654 def new_event_loop(self): member in BaseDefaultEventLoopPolicy
760 def new_event_loop(): function
762 return get_event_loop_policy().new_event_loop()
Drunners.py39 loop = events.new_event_loop()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py113 other_loop = asyncio.new_event_loop()
148 loop = asyncio.new_event_loop()
165 loop = asyncio.new_event_loop()
182 loop = asyncio.new_event_loop()
204 loop = asyncio.new_event_loop()
226 loop = asyncio.new_event_loop()
558 loop = asyncio.new_event_loop()
577 loop = asyncio.new_event_loop()
600 loop = asyncio.new_event_loop()
829 loop = asyncio.new_event_loop()
[all …]
Dtest_runners.py18 def new_event_loop(self): member in TestPolicy
Dfunctional.py15 return asyncio.new_event_loop()
Dtest_events.py55 loop = asyncio.new_event_loop()
2786 loop = asyncio.get_event_loop_policy().new_event_loop()
3061 loop = asyncio.new_event_loop()
3096 self.assertRaises(NotImplementedError, policy.new_event_loop)
3147 loop = policy.new_event_loop()
3157 loop = policy.new_event_loop()
3206 self.loop = asyncio.new_event_loop()
3264 loop = asyncio.new_event_loop()
3327 loop = asyncio.new_event_loop()
3343 loop = asyncio.new_event_loop()
Dtest_unix_events.py465 self.loop = asyncio.new_event_loop()
1835 policy.set_event_loop(policy.new_event_loop())
1860 new_loop = policy.new_event_loop()
1876 self.loop = asyncio.new_event_loop()
Dtest_locks.py69 loop = asyncio.new_event_loop() # don't use TestLoop quirks
811 loop = asyncio.new_event_loop()
Dtest_subprocess.py518 self.loop = policy.new_event_loop()
Dtest_base_events.py1041 self.loop = asyncio.new_event_loop()
1868 loop = asyncio.new_event_loop()
1869 outer_loop = asyncio.new_event_loop()
Dtest_sslproto.py27 self.loop = asyncio.new_event_loop()
Dtest_streams.py28 self.loop = asyncio.new_event_loop()
/external/python/cpython3/Doc/library/
Dasyncio-policy.rst20 :func:`new_event_loop` functions can be customized.
67 .. method:: new_event_loop()
Dasyncio-llapi-index.rst27 * - :func:`asyncio.new_event_loop`
Dasyncio-eventloop.rst54 .. function:: new_event_loop()
59 and :func:`new_event_loop` functions can be altered by
/external/python/cpython3/Lib/test/
Dtest_contextlib_async.py15 loop = asyncio.new_event_loop()
295 self.loop = asyncio.new_event_loop()
Dtest_asyncgen.py325 self.loop = asyncio.new_event_loop()
Dtest_coroutines.py2072 loop = asyncio.new_event_loop()