[issue10189] SyntaxError: no binding for nonlocal doesn't contain a useful traceback
Benjamin Peterson
report at bugs.python.org
Mon Oct 25 04:35:59 CEST 2010
Benjamin Peterson <benjamin at python.org> added the comment:
Technically, it's because the syntax errors come from a latter part of the compiling phase when the origin of names isn't known. Fixing this would involve attaching line numbers and offsets to names somehow.
----------
nosy: +benjamin.peterson
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10189>
_______________________________________
More information about the Python-bugs-list
mailing list