[issue5641] Local variables not freed when Exception raises in function called from cycle
report at bugs.python.org
Wed Apr 1 17:51:11 CEST 2009
Georg Brandl <georg at python.org> added the comment:
This is not a question of "correct" behavior, but of documented
semantics. We can't change that semantics in 2.x, like we did for 3.x,
because many people rely on the exception variable being available after
the except clause finishes.
Closing as "won't fix."
resolution: -> wont fix
status: open -> closed
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list