[issue4613] Can't figure out where SyntaxError: can not delete variable 'x' referenced in nested scope us coming from in python shows no traceback

Amaury Forgeot d'Arc report at bugs.python.org
Wed Dec 10 00:43:19 CET 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Somehow you caught the only SyntaxError that forgets to add filename and 
line information.
Patch attached, at the expense of not displaying the variable name (it 
should be obvious if the line is displayed)

----------
keywords: +needs review, patch
nosy: +amaury.forgeotdarc
Added file: http://bugs.python.org/file12311/syntaxerror.patch

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


More information about the Python-bugs-list mailing list