Home
last modified time | relevance | path

Searched refs:get_loop (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Lib/asyncio/
Dfutures.py116 def get_loop(self): member in Future
276 get_loop = fut.get_loop
280 return get_loop()
Devents.py170 def get_loop(self): member in AbstractServer
Dbase_events.py318 def get_loop(self): member in Server
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a4.rst313 asyncio: Add Task.get_loop() and Future.get_loop()
766 Add get_loop() method to Server and AbstractServer classes.
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_futures.py146 self.assertIs(f.get_loop(), self.loop)
849 fut.get_loop()
Dtest_tasks.py146 self.assertIs(t.get_loop(), self.loop)
2656 def get_loop(self): member in CTask_Future_Tests.test_foobar.Fut
2700 def get_loop(self): member in BaseTaskIntrospectionTests.test__register_task_2.TaskLike
2716 def get_loop(self): member in BaseTaskIntrospectionTests.test__register_task_3.TaskLike
2777 task.get_loop = lambda: loop
Dtest_events.py2728 self.assertEqual(server.get_loop(), loop)
2748 events.AbstractServer().get_loop()
/external/python/cpython3/Doc/library/
Dasyncio-future.rst194 .. method:: get_loop()
Dasyncio-eventloop.rst1398 .. method:: get_loop()
/external/python/cpython3/Doc/whatsnew/
D3.7.rst690 * The new :meth:`Future.get_loop() <asyncio.Future.get_loop>` and
691 ``Task.get_loop()`` methods return the instance of the loop on which a task or
693 :meth:`Server.get_loop() <asyncio.Server.get_loop>` allows doing the same for
/external/python/cpython3/Modules/
D_asynciomodule.c206 _Py_IDENTIFIER(get_loop); in get_future_loop()