[issue34508] return of non-parenthesized star-unpacking expression a SyntaxError

Serhiy Storchaka report at bugs.python.org
Tue Aug 28 05:54:28 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Other examples:

    eval('*(1, 2), 3')

    a = []; a += *(1, 2), 3

    for i in *(1, 2), 3: pass

    def g(): yield *(1, 2), 3

----------
nosy: +benjamin.peterson, gvanrossum, serhiy.storchaka

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


More information about the Python-bugs-list mailing list