[issue2833] __exit__ silences the active exception
Antoine Pitrou
report at bugs.python.org
Wed May 14 11:22:27 CEST 2008
Antoine Pitrou <pitrou at free.fr> added the comment:
Small typo in the snippet above, this should obviously read:
try:
raise Exception("foo")
except Exception as e:
try: raise KeyError("caught")
except KeyError: pass
raise e
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2833>
__________________________________
More information about the Python-bugs-list
mailing list