[IPython-dev] sys.path in python != sys.path in ipython

Walter Dörwald walter at livinglogic.de
Thu Aug 17 12:24:09 CDT 2006

Ville Vainio wrote:
> Just noticed this in a blog (via planet python):
> http://bruynooghe.blogspot.com/2006/08/todays-wtf-syspath-in-python-syspath.html
> Just a heads up; I am unable to look into this at the moment (waiting
> to get my home computer fixed and using an "interim" computer in the
> meantime), perhaps next week.

Somewhat related. It's unfortunate that the package IPython.Extensions
is itself on the path, which leads to strange things like:

In [1]: from IPython.Extensions import path as p1
In [2]: import path as p2
In [3]: p1
Out[3]: <module 'IPython.Extensions.path' from
In [4]: p2
Out[4]: <module 'path' from
In [5]: p1 is p2
Out[5]: False
In [6]: p1.path is p2.path
Out[6]: False
In [7]:


More information about the IPython-dev mailing list