[issue4617] SyntaxError when free variable name is also an exception target

Raymond Hettinger report at bugs.python.org
Sat Dec 13 00:29:13 CET 2008


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

Not sure the "del e" idea was a good solution to the garbage collection
problem.  Amaury's code looks correct to me.  Maybe the existing e
variable should be overwritten and the left intact (as it used to be) or
perhaps it should be made both temporary and invisible like the
induction variable in a list comprehension.

Phillip, any thoughts?

----------
assignee:  -> pje
nosy: +pje, rhettinger

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


More information about the Python-bugs-list mailing list