Home
last modified time | relevance | path

Searched refs:all_tasks (Results 1 – 14 of 14) sorted by relevance

/external/autotest/venv/skylab_suite/
Dsuite_runner.py56 all_tasks = client.get_child_tasks(suite_id)
58 test_specs, suite_handler, all_tasks)
67 def _get_unscheduled_test_specs(test_specs, suite_handler, all_tasks): argument
73 tasks = [t for t in all_tasks if bot_id_tag in t['tags']]
75 tasks = [t for t in all_tasks if t['name']==test_spec.test.name]
Dcros_suite.py202 all_tasks = self._client.get_child_tasks(suite_id)
203 return [t for t in all_tasks if t['task_id'] in self._task_to_test_maps]
/external/python/cpython3/Misc/NEWS.d/
D3.7.1.rst7 Protect tasks weak set manipulation in ``asyncio.all_tasks()``
D3.7.0a4.rst514 Implement ``asyncio.current_task()`` and ``asyncio.all_tasks()``. Add
518 and ``asyncio.Task.all_tasks()``.
D3.7.0b5.rst150 Make asyncio.all_tasks() return only pending tasks.
D3.6.1rc1.rst261 Fix Task.current_task and Task.all_tasks implemented in C to accept None
D3.7.0a1.rst3331 Fix Task.current_task and Task.all_tasks implemented in C to accept None
/external/python/cpython3/Lib/asyncio/
Drunners.py54 to_cancel = tasks.all_tasks(loop)
Dtasks.py34 def all_tasks(loop=None): function
90 def all_tasks(cls, loop=None): member in Task
/external/python/cpython3/Modules/
D_asynciomodule.c42 static PyObject *all_tasks; variable
1860 all_tasks, &PyId_add, task, NULL); in register_task()
1875 all_tasks, &PyId_discard, task, NULL); in unregister_task()
3207 Py_CLEAR(all_tasks); in module_free()
3285 all_tasks = _PyObject_CallNoArg(weak_set); in module_init()
3287 if (all_tasks == NULL) { in module_init()
3372 Py_INCREF(all_tasks); in PyInit__asyncio()
3373 if (PyModule_AddObject(m, "_all_tasks", all_tasks) < 0) { in PyInit__asyncio()
3374 Py_DECREF(all_tasks); in PyInit__asyncio()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py1963 assert Task.all_tasks(self.loop) == {t}
1987 self.assertEqual(asyncio.all_tasks(loop=self.loop), {task})
1993 self.assertEqual(Task.all_tasks(), {task})
1995 self.assertEqual(Task.all_tasks(None), {task})
2012 self.assertEqual(asyncio.all_tasks(loop=self.loop), set())
2227 self.assertEqual(asyncio.all_tasks(self.loop), set())
2626 self.assertEqual(asyncio.all_tasks(loop), set())
2628 self.assertEqual(asyncio.all_tasks(loop), {task})
2642 self.assertEqual(asyncio.all_tasks(loop), set())
2644 self.assertEqual(asyncio.all_tasks(loop), {task})
[all …]
/external/python/cpython3/Doc/library/
Dasyncio-api-index.rst45 * - :func:`all_tasks`
Dasyncio-task.rst628 .. function:: all_tasks(loop=None)
832 .. classmethod:: all_tasks(loop=None)
841 Python 3.9. Use the :func:`asyncio.all_tasks` function instead.
/external/python/cpython3/Doc/whatsnew/
D3.7.rst664 :class:`~asyncio.Task` instance, and the new :func:`asyncio.all_tasks`
667 :meth:`Task.all_tasks() <asyncio.Task.all_tasks>` methods have been deprecated.
1951 The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks`