[SciPy-dev] scipy.linalg shadowed

Travis Oliphant oliphant.travis at ieee.org
Fri Oct 27 11:11:37 CDT 2006


Nils Wagner wrote:
>>   
>>     
>>>> import scipy
>>>> scipy.__version__
>>>>         
> '0.5.2.dev2299'
>   
>>>> scipy.linalg.__file__
>>>>         
> '/usr/lib64/python2.4/site-packages/numpy/linalg/__init__.pyc'
>   
>>>> import numpy
>>>> numpy.linalg.__file__
>>>>         
> '/usr/lib64/python2.4/site-packages/numpy/linalg/__init__.pyc'
>   
>>>> from scipy import *
>>>> scipy.linalg.__file__
>>>>         
> '/usr/lib64/python2.4/site-packages/scipy/linalg/__init__.pyc'
>
>
>   

This is odd.  Here's what I get.


In [1]: import scipy

In [2]: scipy.__version__
Out[2]: '0.5.2.dev2299'

In [3]: scipy.linalg
Out[3]: <module 'scipy.linalg' from 
'/usr/lib/python2.4/site-packages/scipy/linalg/__init__.pyc'>

In [4]: scipy.linalg.__file__
Out[4]: '/usr/lib/python2.4/site-packages/scipy/linalg/__init__.pyc'


-Travis




More information about the Scipy-dev mailing list