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/2001-August/016895.html below:

[Python-Dev] future and present

[Python-Dev] future and present [Python-Dev] future and presentJeremy Hylton jeremy@zope.com
Fri, 10 Aug 2001 16:52:06 -0400 (EDT)
If a script has
    from __future__ import nested_scopes
and is run by Python 2.2, should the interpreter complain?  The PEP
says "the compiler knows which features names have been defined, and
raises a compile-time error if a future_statement contains a feature
not known to it."  I think I'd interpret this as: nested_scopes is
known to 2.2 (and redundant since the feature is now mandatory),
therefore the compiler does nothing.

Jeremy





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