[issue35751] traceback.clear_frames manages to deadlock a background task
Taras Voinarovskyi
report at bugs.python.org
Wed Jan 16 19:50:59 EST 2019
Taras Voinarovskyi <voyn1991 at gmail.com> added the comment:
For now, it seems like ``copy.copy(exception)`` before raising seems to prevent this behaviour. So for all exceptions originating from background tasks I raise a copy to the user, rather than the original exception. It prints correct stack, so no real impact on the library.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35751>
_______________________________________
More information about the Python-bugs-list
mailing list