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.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)
870 fut.get_loop()
Dtest_tasks.py193 self.assertIs(t.get_loop(), self.loop)
3001 def get_loop(self): member in CTask_Future_Tests.test_foobar.Fut
3045 def get_loop(self): member in BaseTaskIntrospectionTests.test__register_task_2.TaskLike
3061 def get_loop(self): member in BaseTaskIntrospectionTests.test__register_task_3.TaskLike
3120 task.get_loop = lambda: loop
Dtest_events.py2768 self.assertEqual(server.get_loop(), loop)
2788 events.AbstractServer().get_loop()
/external/python/cpython3/Doc/library/
Dasyncio-future.rst197 .. method:: get_loop()
Dasyncio-eventloop.rst1424 .. method:: get_loop()
/external/python/cpython3/Doc/whatsnew/
D3.7.rst695 * The new :meth:`Future.get_loop() <asyncio.Future.get_loop>` and
696 ``Task.get_loop()`` methods return the instance of the loop on which a task or
698 :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()