[issue7276] UnboundLocalError scoping problem with nested functions

R. David Murray report at bugs.python.org
Mon Nov 9 20:15:30 CET 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

The relevant section is
http://docs.python.org/reference/executionmodel.html#naming-and-binding.
 Perhaps a cross-reference should be added to the assignment section. 
If you think it should, please open a new issue for that.

I have opened issue 7290 with a suggested improvement to the FAQ entry
that most closely deals with this.  Could you review that and let me
know in that issue if you think it is a worthwhile improvement?

----------
nosy: +r.david.murray
priority:  -> low
stage:  -> committed/rejected
type: compile error -> behavior

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


More information about the Python-bugs-list mailing list