Eric V. Smith <[email protected]> added the comment:
The line number has been fixed in python 3.9:
File "...\foo.py", line 5
(**kwargs)
^
SyntaxError: f-string: invalid syntax
The error message should improve when we move parsing of f-strings into the
parser. I doubt we'd put in the effort to do anything before then.
----------
nosy: +eric.smith
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42209>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com