[issue44448] Suggestion: change existing error message for invalid function name

Pablo Galindo Salgado report at bugs.python.org
Fri Jun 18 07:02:51 EDT 2021


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

Unfortunately these are tokenizer errors and the tokenizer had no idea of what's a function, so introducing syntactic structure in the error is going to be quite error prone, as the tokenizer still sees whitespace and other stuff that the parser doesn't.

----------
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list