Guido van Rossum <gu...@python.org> added the comment:

There's a similar issue with concurrent.futures.Future, and really, anything 
that stores exceptions and later raises them can get in trouble if there's a 
way to get the exception raised multiple times. This is rarely noticed because 
usually the exception isn't raised more than once. 

We need separate bpo issues for the other cases.

The fix is easy enough (separately store a traceback and raise using 
e.with_traceback(tb)) so I'm marking this as an easy issue.

----------
keywords: +easy -patch
stage: patch review -> needs patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45924>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to