[issue19335] codeop misclassifies incomplete code with 'nonlocal'
R. David Murray
report at bugs.python.org
Tue Oct 22 15:21:10 CEST 2013
R. David Murray added the comment:
A complete fix is going to require setting a flag that we have a pending non-local, and check that flag when the code input is complete to raise the SyntaxError at that point if the non-local hasn't been set.
----------
nosy: +r.david.murray
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19335>
_______________________________________
More information about the Python-bugs-list
mailing list