Stargaming wrote:

> The 'from' clause is a keyword in python used for
> imports in the module namespace.

Typically, but in the case of "from __future__ ..." it actually changes the
logic of the interpreter/compiler. As a result if you intend to use any
features from __future__ you have to ensure that that directive comes first.
It looks like any other module on the surface, but it's a little special.

(This also means that if you intend to use any modules that use these
features you need to import it in your top level code as well)


Michael.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to