[issue5641] Local variables not freed when Exception raises in function called from cycle

Georg Brandl 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."

----------
nosy: +georg.brandl
resolution:  -> wont fix
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5641>
_______________________________________


More information about the Python-bugs-list mailing list