[issue32610] asyncio.all_tasks() should return only non-finished tasks.

Andrew Svetlov report at bugs.python.org
Mon Feb 26 04:47:19 EST 2018


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

After re-thinking I come to another idea: let's keep `all_tasks()` behavior as is but add an `active_tasks()` function for returning all non-finished tasks.

It should be done in Python 3.8

----------
versions: +Python 3.8 -Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32610>
_______________________________________


More information about the Python-bugs-list mailing list