[issue44075] Add a PEP578 audit hook for Asyncio loop stalls

Andrew Svetlov report at bugs.python.org
Sat Mar 19 08:00:57 EDT 2022


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

I am still not convinced that audit events should be used.

Maybe support of explicit callbacks pair (on_start() + on_finish()) with `None` for fast-and-cheap "do nothing flag" is a better alternative for catching stale coroutines?

----------

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


More information about the Python-bugs-list mailing list