[issue46843] PersistentTaskGroup API

Joongi Kim report at bugs.python.org
Fri Feb 25 13:14:14 EST 2022


Joongi Kim <me at daybreaker.info> added the comment:

Good to hear that TaskGroup already uses WeakSet.

When all tasks finish, PersistentTaskGroup should not finish and wait for future tasks, unless explicitly cancelled or shutdown.  Could this be also configured with asyncio.TaskGroup?

I'm also ok with adding a simple option for such behavior to asyncio.TaskGroup instead of adding a whole new API/class.

----------

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


More information about the Python-bugs-list mailing list