[SciPy-dev] Re: Bug in scipy import

Fernando Perez Fernando.Perez at colorado.edu
Thu Oct 7 19:32:20 CDT 2004

Martin Lüthi schrieb:

> So whether a given library works depends on the file names that one has in a
> random directory. Hmmm. This is a nasty behavior, and I'm glad I never run
> this before. To me this looks like a design flaw if the module names from the
> standard library are not __somehow__ protected.
> I'll have to ponder about PYTHON_PATH, but this whole business seems to be
> quite fragile. As little as I like Java, the module naming scheme is the one
> thing that they got right. Time for a PEP?

Don't bother.  As of python 2.4 (or is it 2.5?, I don't recall), imports will 
require an absolute path, so this problem should be much less common.




More information about the Scipy-dev mailing list