Márcio Faustino schrieb:
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 :)

Au contraire - *very* good. If it were otherwise, what would happen to code that _relies_ on / returning an int - some 3rd-party-lib for example? The same goes for code that contains "with" as variable name or some such.


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

Reply via email to