[issue40599] Improve error messages with expected keywords
Pablo Galindo Salgado
report at bugs.python.org
Mon May 11 18:10:51 EDT 2020
New submission from Pablo Galindo Salgado <pablogsal at gmail.com>:
Using the new parser, we could improve the plain "syntax error" messages with the tokens/keywords that would have made the parser advance. There is a proof of concept in https://github.com/python/cpython/pull/20039 you can play with.
I would like to get some initial opinions on the idea before going deeper in the issue :)
----------
components: Interpreter Core
messages: 368664
nosy: gvanrossum, lys.nikolaou, pablogsal
priority: normal
severity: normal
status: open
title: Improve error messages with expected keywords
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40599>
_______________________________________
More information about the Python-bugs-list
mailing list