[IPython-dev] IPython.Extensions on sys.path

Walter Dörwald walter at livinglogic.de
Wed Nov 1 12:52:26 CST 2006


Hello list!

Currently IPython/__init__.py adds IPython.Extensions to sys.path. IMHO
this is bad, because it can lead to hard to detect bugs: If a module is
imported from both locations you get two modules that look and smell the
same, yet are totally unrelated (chaing one doesn't change the other).
Furthermore modules in IPython.Extensions can shadow modules that are
installed globally which leads to different behaviour depending on
whether code runs in pure Python or in IPython.

Is there a reason why IPython.Extensions is added? Could we drop this in
the next IPython release?

Servus,
   Walter


More information about the IPython-dev mailing list