commit | 9a4b38f66b3e674db94e07980e1cacb39e388c73 | [log] [tgz] |
---|---|---|
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | Wed Apr 15 21:22:10 2020 +0300 |
committer | GitHub <noreply@github.com> | Wed Apr 15 11:22:10 2020 -0700 |
tree | b8046dd0e0b7b9bf0e3592b88c9dc0cd2c7f7ae5 | |
parent | 574547a75c79b506261520c5773ae08a1dcea1b9 [diff] |
bpo-40267: Fix message when last input character produces a SyntaxError (GH-19521) When there is a SyntaxError after reading the last input character from the tokenizer and if no newline follows it, the error message used to be `unexpected EOF while parsing`, which is wrong.