]> granicus.if.org Git - python/commit
bpo-28936: Detect lexically first syntax error first (#4097)
authorIvan Levkivskyi <levkivskyi@gmail.com>
Thu, 26 Oct 2017 21:28:35 +0000 (23:28 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 26 Oct 2017 21:28:35 +0000 (00:28 +0300)
commit8c83c23fa32405aa9212f028d234f4129d105a23
tree17bffa5e67b52870e4d3e4db2c20ebcb320f5a4e
parent66c88ce30ca2b23daa37038e1a3c0de98f241f50
bpo-28936: Detect lexically first syntax error first (#4097)

Lexically first global and nonlocal syntax errors at given scope should be detected first.
Lib/test/test_syntax.py
Misc/NEWS.d/next/Core and Builtins/2017-10-23-23-39-26.bpo-28936.C288Jh.rst [new file with mode: 0644]
Python/symtable.c