Taras Voinarovskyi <voyn1...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue35751>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to