[New-bugs-announce] [issue40176] unterminated string literal tokenization error messages could be better

Benjamin Peterson report at bugs.python.org
Fri Apr 3 13:58:44 EDT 2020


New submission from Benjamin Peterson <benjamin at python.org>:

It has been pointed out to me that the errors the tokenizer produces for unterminated strings, "EOL while scanning string literal" and "EOF while scanning triple-quoted string literal", contain parsing jargon that make it difficult for new users to understand the problem, likely a missing quote.

----------
components: Interpreter Core
messages: 365713
nosy: benjamin.peterson
priority: normal
severity: normal
status: open
title: unterminated string literal tokenization error messages could be better
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40176>
_______________________________________


More information about the New-bugs-announce mailing list