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/2006-April/064274.html below:

[Python-Dev] Python Grammar Ambiguity

[Python-Dev] Python Grammar Ambiguity [Python-Dev] Python Grammar Ambiguityskip at pobox.com skip at pobox.com
Mon Apr 24 19:16:00 CEST 2006
    Michael> I've hit on what looks like a fundamental ambiguity in the
    Michael> Python grammar which is difficult to get round with PLY; and
    Michael> I'm wondering *why* the grammar is defined in this way.

Michael,

You refer to the ref manual documentation:

    Michael> List displays (list comprehensions) are defined as (from
    Michael> http://docs.python.org/ref/lists.html )

Note that the BNF there is mostly designed for human consumption.  Have you
verified that the ambiguity is also present in the Grammar file?

Skip
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