On Mon, Dec 8, 2008 at 1:29 PM, Márcio Faustino <[EMAIL PROTECTED]>wrote:

> So, no chance of doing this:
>
> # "A.py"
> from __future__ import division, with_statement
>
> # "B.py"
> from A import *
> print 1 / 2
>
> ...and printing 0.5, right? Too bad :)
> Thanks!



That would be a very bad idea. What if you did that and then someone else
tried to use your module? However, future imports are a special case. This
will work with any normal import.

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

Reply via email to