[issue7747] Function variable wrongly reported unassigned

2010-01-21 Thread Adrian May
Adrian May added the comment: OK, Thanks. Sorry for the hassle. Adrian. -- type: behavior -> compile error ___ Python tracker <http://bugs.python.org/iss

[issue7747] Function variable wrongly reported unassigned

2010-01-20 Thread Adrian May
New submission from Adrian May : Hi folks, The attached program says: $ ./bug.py a None b Traceback (most recent call last): File "./bug.py", line 49, in print number(s) File "./bug.py", line 34, in foo while eat != None: UnboundLocalError: local variable &#x