You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add asyncio.current_task() and asyncio.all_tasks() funcitons #76431
changed the title [-]Add loop.current_task() and loop.all_tasks() methods[/-][+]Add asyncio.current_task() and asyncio.all_tasks() funcitons[/+]on Dec 11, 2017
Activity
asvetlov commentedon Dec 7, 2017
Existing
Task.current_task()andTask.all_tasks()class methods are not overridable by custom event loop implementation.The proposal is adding new optional loop methods and using them by existing task methods.
asvetlov commentedon Dec 11, 2017
In #4766 discussion we decided to use module level functions instead of loop methods.
[-]Add loop.current_task() and loop.all_tasks() methods[/-][+]Add asyncio.current_task() and asyncio.all_tasks() funcitons[/+]asvetlov commentedon Dec 16, 2017
New changeset 44d1a59 by Andrew Svetlov in branch 'master':
bpo-32250: Implement asyncio.current_task() and asyncio.all_tasks() (bpo-4799)
44d1a59