Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/asyncio/
Dfutures.py122 def get_loop(self): member in Future
300 get_loop = fut.get_loop
304 return get_loop()
Devents.py169 def get_loop(self): member in AbstractServer
Dbase_events.py323 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.py158 self.assertIs(f.get_loop(), self.loop)
168 self.assertIs(f.get_loop(), self.loop)
917 fut.get_loop()
Dtest_tasks.py200 self.assertIs(t.get_loop(), self.loop)
3066 def get_loop(self): member in CTask_Future_Tests.test_foobar.Fut
3110 def get_loop(self): member in BaseTaskIntrospectionTests.test__register_task_2.TaskLike
3126 def get_loop(self): member in BaseTaskIntrospectionTests.test__register_task_3.TaskLike
3185 task.get_loop = lambda: loop
Dtest_events.py2848 self.assertEqual(server.get_loop(), loop)
2868 events.AbstractServer().get_loop()
/external/python/cpython3/Doc/library/
Dasyncio-future.rst212 .. method:: get_loop()
Dasyncio-eventloop.rst1432 .. method:: get_loop()
/external/python/cpython3/Doc/whatsnew/
D3.7.rst696 * The new :meth:`Future.get_loop() <asyncio.Future.get_loop>` and
697 ``Task.get_loop()`` methods return the instance of the loop on which a task or
699 :meth:`Server.get_loop() <asyncio.Server.get_loop>` allows doing the same for
/external/python/cpython3/Modules/
D_asynciomodule.c200 _Py_IDENTIFIER(get_loop); in get_future_loop()