Classify incomplete input from tokenizer EOF flags (#8703) · RustPython/RustPython@b6fc810 · GitHub
Skip to content

Commit b6fc810

Browse files
authored
Classify incomplete input from tokenizer EOF flags (#8703)
* Classify incomplete input from tokenizer EOF flags Treat exec's implicit newline, single-quoted f/t-strings, blank single input, and unclosed field braces the way E_EOF, E_EOFS, and E_EOLS do. Assisted-by: Grok:4.6 * address review: lambda defaults, unicode prefixes, comments Keep lambda parameter defaults and Unicode identifiers continuable, and report comment-only single input as SyntaxError. Assisted-by: Grok:4.6
1 parent 6fd55a4 commit b6fc810

3 files changed

Lines changed: 277 additions & 25 deletions

File tree

crates/compiler/src/lib.rs

Lines changed: 147 additions & 13 deletions

crates/vm/src/vm/vm_new.rs

Lines changed: 55 additions & 12 deletions

0 commit comments

Comments
 (0)