[New-bugs-announce] [issue46725] Unpacking without parentheses is allowed since 3.9

Pablo Galindo Salgado report at bugs.python.org
Fri Feb 11 13:10:30 EST 2022


New submission from Pablo Galindo Salgado <pablogsal at gmail.com>:

Seems that this is allowed since the PEG parser rewrite:

for x in *a, *b:
    print(x)

but I cannot find anywhere were we discussed this. I am not sure if we should keep it or treat it as a bug and fix it.

----------
components: Parser
messages: 413089
nosy: BTaskaya, gvanrossum, lys.nikolaou, pablogsal
priority: normal
severity: normal
status: open
title: Unpacking without parentheses is allowed since 3.9
versions: Python 3.10, Python 3.11, Python 3.9

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


More information about the New-bugs-announce mailing list