A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2008-December/084077.html below:

[Python-Dev] Nonlocal shortcut

[Python-Dev] Nonlocal shortcut [Python-Dev] Nonlocal shortcutAmaury Forgeot d'Arc amauryfa at gmail.com
Sun Dec 7 23:45:09 CET 2008
Hello,

Fabio Zadrozny  wrote:
> Hi,
>
> I'm currently implementing a parser to handle Python 3.0, and one of
> the points I found conflicting with the grammar specification is the
> PEP 3104.
>
> It says that a shortcut would be added to Python 3.0 so that "nonlocal
> x = 0" can be written. However, the latest grammar specification
> (http://docs.python.org/dev/3.0/reference/grammar.html?highlight=full%20grammar)
> doesn't seem to take that into account... So, can someone enlighten me
> on what should be the correct treatment for that on a grammar that
> wants to support Python 3.0?

An issue was already filed about this:
http://bugs.python.org/issue4199
It should be ready for inclusion in 3.0.1.

-- 
Amaury Forgeot d'Arc
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