[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

Yury Selivanov report at bugs.python.org
Mon Nov 13 10:00:45 EST 2017


Yury Selivanov <yselivanov at gmail.com> added the comment:

Guido,

The second example ("No active exception to reraise") was an actual long open bug.  It was recently fixed by Mark Shannon in [1].

I think we should be able to fix the first case (missing __context__) although it's not critical.  I'll look into it after the context PEP and few other open asyncio issues.

[1] https://github.com/python/cpython/pull/1773

----------

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


More information about the Python-bugs-list mailing list