[issue32012] Disallow ambiguous syntax f(x for x in [1],)

Nick Coghlan report at bugs.python.org
Tue Nov 14 08:12:52 EST 2017


Nick Coghlan <ncoghlan at gmail.com> added the comment:

OK, I've filed https://bugs.python.org/issue32024 to cover the decorator syntax discrepancy.

So I'd still prefer to restrict the patch for *this* issue to just the genuinely ambiguous case, and leave the unambiguous-but-inconsistent-with-the-language-spec cases to their respective issues.

----------

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


More information about the Python-bugs-list mailing list