Home
last modified time | relevance | path

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

12

/third_party/python/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
/third_party/grpc/src/python/grpcio_tests/tests_aio/interop/
Dclient.py60 asyncio.get_event_loop().set_debug(True)
61 asyncio.get_event_loop().run_until_complete(test_interoperability())
Dserver.py49 asyncio.get_event_loop().run_until_complete(serve())
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/aio/
Dcommon.pyx.pxi176 Due to a defect of asyncio.get_event_loop, its returned event loop might
182 return asyncio.get_event_loop()
186 return asyncio.get_event_loop()
/third_party/mesa3d/bin/
Dpick-ui.py30 evl = urwid.AsyncioEventLoop(loop=asyncio.get_event_loop())
Dgen_release_notes.py213 loop = asyncio.get_event_loop()
341 loop = asyncio.get_event_loop()
/third_party/python/Lib/test/test_asyncio/
Dtest_runners.py14 def get_event_loop(self): member in TestPolicy
85 loop = asyncio.get_event_loop()
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_windows_events.py48 loop = asyncio.get_event_loop()
/third_party/grpc/src/python/grpcio_tests/tests_aio/benchmark/
Dserver.py39 loop = asyncio.get_event_loop()
Dworker.py59 asyncio.get_event_loop().run_until_complete(run_worker_server(args.port))
Dworker_servicer.py181 self._loop = asyncio.get_event_loop()
/third_party/grpc/src/python/grpcio_tests/tests_aio/unit/
D_test_base.py38 loop = asyncio.get_event_loop()
Doutside_init_test.py60 old_loop = asyncio.get_event_loop()
Dserver_test.py56 self._called = asyncio.get_event_loop().create_future()
107 await asyncio.get_event_loop().create_future()
/third_party/python/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`,
1588 loop = asyncio.get_event_loop()
1624 loop = asyncio.get_event_loop()
1656 loop = asyncio.get_event_loop()
/third_party/node/tools/inspector_protocol/jinja2/
Dasyncsupport.py54 return _convert_generator(self, asyncio.get_event_loop(), args, kwargs)
77 loop = asyncio.get_event_loop()
/third_party/jinja2/
Dasyncsupport.py50 return _convert_generator(self, asyncio.get_event_loop(), args, kwargs)
72 loop = asyncio.get_event_loop()
/third_party/skia/third_party/externals/jinja2/
Dasyncsupport.py50 return _convert_generator(self, asyncio.get_event_loop(), args, kwargs)
72 loop = asyncio.get_event_loop()
/third_party/grpc/src/python/grpcio_tests/
Dcommands.py308 asyncio.get_event_loop().run_until_complete(server.serve())
/third_party/python/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()
3087 return get_event_loop(1); in _asyncio_get_event_loop_impl()
3099 return get_event_loop(stacklevel-1); in _asyncio__get_event_loop_impl()
/third_party/python/Misc/NEWS.d/
D3.6.0b4.rst197 Fix get_event_loop() return the current loop if called from
/third_party/python/Lib/test/
Dtest_contextlib_async.py386 loop = asyncio.get_event_loop()

12