[IPython-dev] How to handle extensions

Brian Granger ellisonbg.net@gmail....
Thu Oct 15 11:51:55 CDT 2009

> > I would really hope that packages wouldn't do that. Even if I have
> > the package,
> > I may not want their extensions.
> +1. Two things:
> a) I might not have any use for their package interactively, in which
> case it has the potential to slow down IPython for me if it's always
> loading them (less of a problem if they're only loaded on import from
> the interactive prompt).
> b) Even if I do use their package interactively, their extensions may
> not fit my brain.
Yes, the the loading of extensions should always be in the control of the
Another way of saying this is that an IPython extension should be loaded
if one of the following happens:

* It is listed in the extensions list of the config file.
* The user calls %load_ext to load it.

The only case that is different is in the case of something like isympy,
which is a custom version of ipython that loads various things needed
by sympy.  But in that case, it is a *different program* that is being run.



> David
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20091015/c7f4fa08/attachment.html 

More information about the IPython-dev mailing list