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

Georg Brandl report at bugs.python.org
Wed Jun 17 11:40:31 CEST 2009


Georg Brandl <georg at python.org> added the comment:

Well, it's the basic principle that an object is not destroyed until
there are no more references to it. The documented semantics I referred
to are that a variable assigned to in an "except X, Y" clause lives
beyond the scope of that clause.

----------

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


More information about the Python-bugs-list mailing list