import precedence

Gordon McMillan gmcm at hypernet.com
Wed Jun 26 08:20:51 EDT 2002


Mark McEahern wrote:

[snip]

> Can I just assume that:
> 
>   from spam import foo
> 
> will only import the foo.py module if the foo.dll and foo.so are not
> found...?

No. On any given installation, you could set things up
so it would work, but it would be fragile and when it
broke, it would be very mysterious.

--Gordon
http://www.mcmillan-inc.com/



More information about the Python-list mailing list