Changes by R. David Murray rdmur...@bitdance.com:
--
priority: - normal
type: compile error - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7747
___
New submission from Adrian May adrian.alexander@gmail.com:
Hi folks,
The attached program says:
$ ./bug.py
a
None
b
Traceback (most recent call last):
File ./bug.py, line 49, in module
print number(s)
File ./bug.py, line 34, in foo
while eat != None:
UnboundLocalError: local
Ezio Melotti ezio.melo...@gmail.com added the comment:
This is not a bug, see
http://docs.python.org/faq/programming.html#why-am-i-getting-an-unboundlocalerror-when-the-variable-has-a-value
--
nosy: +ezio.melotti
resolution: - invalid
stage: - committed/rejected
status: open - closed