[issue23353] generator bug with exception: tstate->exc_value is not cleared after an except block
STINNER Victor
report at bugs.python.org
Sat Jan 31 02:38:15 CET 2015
STINNER Victor added the comment:
> > Currently, a generator inherits the currently handled exception from
> > the "caller"
>
> This is expected, since this is how normal functions behave.
Do you see how to fix the issue without changing the behaviour?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23353>
_______________________________________
More information about the Python-bugs-list
mailing list