[IPython-dev] Extensions: decisions on loading them and API (thoughts from R. Kern's branch)

Gael Varoquaux gael.varoquaux at normalesup.org
Sun Mar 15 05:27:14 EDT 2009

On Sun, Mar 15, 2009 at 10:57:52AM +0200, Ville M. Vainio wrote:
> On Sun, Mar 15, 2009 at 2:27 AM, Fernando Perez <fperez.net at gmail.com> wrote:

> > The two key things we need to do, probably right after the 0.10 release:

> > 1. Stop putting Extensions into sys.path.  This is just bad practice,
> > as it pollutes people's import path with our stuff.  Users who want an

> -1. This just breaks stuff without any real benefits (provided that
> there are no collisions - something taken care of by ipy_ prefix).

Monkey patching sys.path is ugly and fragile. it makes code impossible to
run without going throught the one given entry point, and most often
break Python import priority. I am +1 on the proposition.


More information about the IPython-dev mailing list