Lament: Import is not very smart.

John Roth newsgroups at
Wed Jul 14 14:29:09 CEST 2004

"Greg Ewing" <greg at> wrote in message
news:2ljm4dFch6u1U1 at
> Lonnie Princehouse wrote:
> > Suppose that you've a package named "foo" which contains module "bar".
> >  Because you're careless, you've also put foo/ into your path...
> The solution to that is not to be careless (i.e. don't
> put overlapping entries into your path).

Sometimes it isn't carelessness. You wouldn't believe the
amount of trouble that caused me with the FIT port.

John Roth
> -- 
> Greg Ewing, Computer Science Dept,
> University of Canterbury,
> Christchurch, New Zealand

More information about the Python-list mailing list