David Cuthbert <[email protected]> added the comment:
Hm... that leaves the only production for expression_list as:
subscription ::= primary "[" expression_list "]"
And I'm not sure that this shouldn't also be replaced by starred_list. It's not
accepted today, though:
In [6]: a[1,*(4, 5, 6)]
File "<ipython-input-6-ba56159162e9>", line 1
a[1,*(4, 5, 6)]
^
SyntaxError: invalid syntax
I will ask about this again on python-dev@
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32117>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com