Can't figure out where SyntaxError: can not delete variable 'x' referenced in nested scope us coming from in python >=2.6
rdmurray at bitdance.com
rdmurray at bitdance.com
Tue Dec 9 13:43:26 EST 2008
More information about the Python-list mailing list
Tue Dec 9 13:43:26 EST 2008
- Previous message (by thread): Can't figure out where SyntaxError: can not delete variable 'x' referenced in nested scope us coming from in python >=2.6
- Next message (by thread): Can't figure out where SyntaxError: can not delete variable 'x' referenced in nested scope us coming from in python >=2.6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 9 Dec 2008 at 13:11, Albert Hopkins wrote: > Say I have module foo.py: > > def a(x): > def b(): > x > del x [...] > The difference is under Python 2.4 I get a traceback with the lineno and > offending line, but I do not get a traceback in Pythons 2.6 and 3.0. 2.5 also omits the traceback. Smells like a bug to me. --RDM
- Previous message (by thread): Can't figure out where SyntaxError: can not delete variable 'x' referenced in nested scope us coming from in python >=2.6
- Next message (by thread): Can't figure out where SyntaxError: can not delete variable 'x' referenced in nested scope us coming from in python >=2.6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list