Home
last modified time | relevance | path

Searched refs:get_event_loop (Results 1 – 25 of 34) sorted by relevance

12

/external/python/cpython3/Lib/asyncio/
Devents.py592 def get_event_loop(self): member in AbstractEventLoopPolicy
645 def get_event_loop(self): member in BaseDefaultEventLoopPolicy
752 def get_event_loop(): function
772 return get_event_loop_policy().get_event_loop()
800 _py_get_event_loop = get_event_loop
809 get_running_loop, get_event_loop, _get_event_loop)
817 _c_get_event_loop = get_event_loop
/external/python/pyserial/test/
Dtest_asyncio.py31 self.loop = asyncio.get_event_loop()
57 asyncio.get_event_loop().stop()
/external/python/python-api-core/google/api_core/future/
Dasync_future.py61 self._future = asyncio.get_event_loop().create_future()
151 self._background_task = asyncio.get_event_loop().create_task(
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py2554 self.assertRaises(NotImplementedError, policy.get_event_loop)
2565 loop = policy.get_event_loop()
2569 self.assertIs(loop, policy.get_event_loop())
2579 loop = policy.get_event_loop()
2591 self.assertRaises(RuntimeError, policy.get_event_loop)
2598 self.assertRaises(RuntimeError, policy.get_event_loop)
2613 old_loop = policy.get_event_loop()
2619 self.assertIs(loop, policy.get_event_loop())
2620 self.assertIsNot(old_loop, policy.get_event_loop())
2652 self.get_event_loop_saved = events.get_event_loop
[all …]
Dtest_runners.py18 def get_event_loop(self): member in TestPolicy
89 loop = asyncio.get_event_loop()
Dtest_windows_events.py48 loop = asyncio.get_event_loop()
Dtest_unix_events.py1725 self.assertIsInstance(policy.get_event_loop(),
1732 policy.get_event_loop().close()
1743 loop = policy.get_event_loop()
/external/mesa3d/bin/
Dpick-ui.py30 evl = urwid.AsyncioEventLoop(loop=asyncio.get_event_loop())
Dgen_release_notes.py148 loop = asyncio.get_event_loop()
276 loop = asyncio.get_event_loop()
/external/python/python-api-core/google/api_core/
Dgrpc_helpers_async.py271 self._future = asyncio.get_event_loop().create_future()
289 self._future = asyncio.get_event_loop().create_future()
/external/python/cpython3/Doc/library/
Dasyncio-policy.rst19 :func:`get_event_loop`, :func:`set_event_loop`, and
52 .. method:: get_event_loop()
282 def get_event_loop(self):
287 loop = super().get_event_loop()
Dasyncio-llapi-index.rst21 * - :func:`asyncio.get_event_loop`
261 * :ref:`Using asyncio.get_event_loop() and loop.run_forever()
493 functions like :func:`asyncio.get_event_loop`. See also
Dasyncio-eventloop.rst39 .. function:: get_event_loop()
50 :func:`get_running_loop` function is preferred to :func:`get_event_loop`
69 Note that the behaviour of :func:`get_event_loop`, :func:`set_event_loop`,
1578 loop = asyncio.get_event_loop()
1614 loop = asyncio.get_event_loop()
1646 loop = asyncio.get_event_loop()
/external/python/bumble/apps/link_relay/
Dlink_relay.py283 asyncio.get_event_loop().run_until_complete(relay.start())
284 asyncio.get_event_loop().run_forever()
/external/rust/pica/scripts/
Dconsole.py317 return (await asyncio.get_event_loop().run_in_executor(executor, input, prompt)).rstrip()
321 loop = asyncio.get_event_loop()
426 loop = asyncio.get_event_loop()
/external/python/jinja/src/jinja2/
Dasyncsupport.py47 return _convert_generator(self, asyncio.get_event_loop(), args, kwargs)
69 loop = asyncio.get_event_loop()
/external/libchrome/third_party/jinja2/
Dasyncsupport.py54 return _convert_generator(self, asyncio.get_event_loop(), args, kwargs)
77 loop = asyncio.get_event_loop()
/external/python/portpicker/src/
Dportserver.py133 loop = asyncio.get_event_loop()
370 event_loop = asyncio.get_event_loop()
/external/pigweed/pw_cli/py/pw_cli/
Dprocess.py127 loop = asyncio.get_event_loop()
/external/python/google-auth-library-python/google/auth/transport/
D_aiohttp_requests.py255 self._loop = asyncio.get_event_loop()
/external/python/bumble/examples/
Dkeyboard.py397 await asyncio.get_event_loop().create_future()
/external/python/cpython3/Modules/
D_asynciomodule.c18 _Py_IDENTIFIER(get_event_loop);
322 get_event_loop(int stacklevel) in get_event_loop() function
499 loop = get_event_loop(1); in future_init()
3073 return get_event_loop(1); in _asyncio_get_event_loop_impl()
3085 return get_event_loop(stacklevel-1); in _asyncio__get_event_loop_impl()
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b4.rst197 Fix get_event_loop() return the current loop if called from
/external/python/jinja/tests/
Dtest_async.py15 loop = asyncio.get_event_loop()
/external/python/cpython3/Lib/test/
Dtest_contextlib_async.py386 loop = asyncio.get_event_loop()

12