[issue2833] __exit__ silences the active exception

Antoine Pitrou report at bugs.python.org
Tue May 13 20:36:21 CEST 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

I've just discovered that the patch in r62847 doesn't clean up the
exception state if the except clause does not mention a local variable,
e.g. "except MyException" instead of "except MyException as e".

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2833>
__________________________________


More information about the Python-bugs-list mailing list