[Python-Dev] future and present
Jeremy 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