[issue46844] Context-based TaskGroup for legacy libraries
Joongi Kim
report at bugs.python.org
Thu Feb 24 01:58:54 EST 2022
Joongi Kim <me at daybreaker.info> added the comment:
Conceptually it is similar to replace malloc using LD_PRELOAD or LD_LIBRARY_PATH manipulation. When I cannot modify the executable/library binaries, this allows replacing the functionality of specific functions.
If we could assign a specific (persistent) task group to all asyncio tasks spawned by a black-box code (when the black-box itself does not use task groups), we could achieve the full application-level transparency on the timing of task cancellation.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46844>
_______________________________________
More information about the Python-bugs-list
mailing list