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

Henk-Jaap Wagenaar report at bugs.python.org
Tue Nov 14 06:40:15 EST 2017


Henk-Jaap Wagenaar <wagenaarhenkjaap at gmail.com> added the comment:

I think this showcases how difficult it is to get this right, requires carefully reading the EBNF language spec, not just the text, and the behaviour is unexpected.

----------

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


More information about the Python-bugs-list mailing list