A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-November/150495.html below:

[Python-Dev] Disallow ambiguous syntax f(x for x in [1],)

[Python-Dev] Disallow ambiguous syntax f(x for x in [1],) [Python-Dev] Disallow ambiguous syntax f(x for x in [1],)Serhiy Storchaka storchaka at gmail.com
Sun Nov 12 17:57:53 EST 2017
12.11.17 18:57, Guido van Rossum пише:
> Sounds good to me.

Thanks! Here is an implementation: https://bugs.python.org/issue32012.

I have found that formally trailing comma after generator expression is 
not allowed by the grammar defined in the language reference:

    call: `primary` "(" [`argument_list` [","] | `comprehension`] ")"

But the actual Grammar file contains different rules.

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4