Lament: Import is not very smart.

Antoon Pardon apardon at forel.vub.ac.be
Thu Jul 15 11:49:25 CEST 2004


Op 2004-07-14, Greg Ewing schreef <greg at cosc.canterbury.ac.nz>:
> 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).
>

Oh come on. When people ask for certain features, those are
denied with the argument that they will introduce subtle bugs
that will be hard to find.

Now here we have something that can introduce subtle bugs that
can be hard to find and the response is: don't be careless.

-- 
Antoon Pardon



More information about the Python-list mailing list