bpo-40334: Disallow invalid single statements in the new parser (GH-19774)
After parsing is done in single statement mode, the tokenizer buffer has to be checked for additional lines and a `SyntaxError` must be raised, in case there are any. Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
L
Lysandros Nikolaou committed
6d6508765514c7c10719478a0430f5e47c9a96ac
Parent: a4dfe8e
Committed by GitHub <noreply@github.com>
on 4/29/2020, 1:42:27 AM