I think there are subtle differences. I would have to check, but I
believe one difference is that with import doing reload() would work as
expected, but not so with from. In other words, doing:
from datetime import datetime
# then sometime later call
reload(datetime)
would be slightly different than:
import datetime.datetime as datetime
# then sometime later call
reload(datetime)
We haven't been rigorous with enforcing the convention though. And I
don't know if we are actually using reload(), or if we are even planning
on using it, or if it would actually be a bad idea to even try use it.
I don't ever use reload, I've never been able to make it work reliably.
Is anybody using reload ?
Andi..
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev