[issue46844] Context-based TaskGroup for legacy libraries

Joongi Kim report at bugs.python.org
Thu Feb 24 02:34:49 EST 2022


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

Ah, and this use case also requires that TaskGroup should have an option like `return_exceptions=True` which makes it not to cancel sibling tasks upon unhandled exceptions, as I suggested in PersistentTaskGroup (bpo-46843).

----------

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


More information about the Python-bugs-list mailing list