On Fri, 24 Oct 2008 11:06:54 -0700, Reckoner wrote: > I have multiple packages that have many of the same function names. Is > it possible to do > > from package1 import * > from package2 import * > > without overwriting similarly named objects from package1 with material > in package2? How about a way to do this that at least gives a warning?
That (overwritten names) is exactly the reason why wildcard import should be avoided. Use: from package1 import blah import package2 But avoid: from package3 import * -- http://mail.python.org/mailman/listinfo/python-list