[SciPy-dev] Bug in scipy import

Martin Lüthi answer at tnoo.net
Mon Oct 4 14:06:23 CDT 2004


Hi

There is a subtle bug in the import structure of scipy which nearly drove me
crazy.

Here is how to reproduce it:

====
import scipy
====

imports and executes any file named "new.py" in the current working
directory. 

Python 2.3.3 (#1, Apr  6 2004, 01:47:39) 
[GCC 3.3.3 (SuSE Linux)] on linux2

scipy.__version__
'0.3.1_285.4270'

Thanks, Martin
-- 
Martin Lüthi                 answer at tnoo.net





More information about the Scipy-dev mailing list