Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/asyncio/
Dfutures.py119 def get_loop(self): member in Future
276 get_loop = fut.get_loop
280 return get_loop()
Devents.py175 def get_loop(self): member in AbstractServer
Dbase_events.py292 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()
767 Add get_loop() method to Server and AbstractServer classes.
/external/python/cpython3/Doc/library/
Dasyncio-future.rst187 .. method:: get_loop()
Dasyncio-eventloop.rst1331 .. method:: get_loop()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py146 self.assertIs(t.get_loop(), self.loop)
2589 def get_loop(self): member in CTask_Future_Tests.test_foobar.Fut
2633 def get_loop(self): member in BaseTaskIntrospectionTests.test__register_task_2.TaskLike
2649 def get_loop(self): member in BaseTaskIntrospectionTests.test__register_task_3.TaskLike
2710 task.get_loop = lambda: loop
Dtest_futures.py142 self.assertIs(f.get_loop(), self.loop)
Dtest_events.py3331 self.assertEqual(server.get_loop(), loop)
3351 events.AbstractServer().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.c202 _Py_IDENTIFIER(get_loop); in get_future_loop()