[issue40631] PEG Parser: Cannot used starred expression in parenthesised expr
Lysandros Nikolaou
report at bugs.python.org
Wed Dec 30 19:27:32 EST 2020
Lysandros Nikolaou <lisandrosnik at gmail.com> added the comment:
Yup, this all sounds much more reasonable. Thanks for the explanation, Guido.
> Also the current behavior allows `(*x), y = 1` assignment. If `(*x)` is to be totally disallowed, `(*x), y = 1` should also be rejected.
This is allowed in 3.9.1 and 3.10.0a2, but not allowed in 3.9.0 and 3.10.0a1. I'll work on finding out when this got messed up and fix it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40631>
_______________________________________
More information about the Python-bugs-list
mailing list