[issue36765] Invalid grammar for f_expression
Eric V. Smith
report at bugs.python.org
Wed May 1 07:36:08 EDT 2019
Eric V. Smith <eric at trueblade.com> added the comment:
I don't think this is a problem. There are plenty of things allowed by Python's grammar that are converted to errors in subsequent passes. For example:
>>> *[1]
File "<stdin>", line 1
SyntaxError: can't use starred expression here
>>> *[1],*[2]
(1, 2)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36765>
_______________________________________
More information about the Python-bugs-list
mailing list