[IPython-dev] How to handle extensions
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.
> IPython-dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev