[issue32250] Add loop.current_task() and loop.all_tasks() methods

2017-12-09 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +4669 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue32250] Add loop.current_task() and loop.all_tasks() methods

2017-12-07 Thread Andrew Svetlov
New submission from Andrew Svetlov : Existing `Task.current_task()` and `Task.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. -- components: asyncio messages: