<br><br><div class="gmail_quote">On Sat, Sep 8, 2012 at 12:16 PM, Jason Grout <span dir="ltr"><<a href="mailto:jason-sage@creativetrax.com" target="_blank">jason-sage@creativetrax.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

When I create a new profile, the default ipython_config.py file has<br>
these lines:<br>
<br>
# A list of dotted module names of IPython extensions to load.<br>
c.InteractiveShellApp.extensions = [ ]<br>
<br>
[snip...]<br>
<br>
# dotted module name of an IPython extension to load.<br>
# c.InteractiveShellApp.extra_extension = ''<br>
<br>
What is the difference between .extensions and .extra_extension?<br></blockquote><div><br></div><div>extra_extension just exists to preserve the `--ext` command-line option, so you can do:</div><div><br></div><div>ipython --ext cythonmagic</div>

<div><br></div><div>Where cythonmagic is *added* to the extensions list.</div><div><br></div><div>`extra_extension = 'cythonmagic'` is identical to `extensions.append('cythonmagic')`</div><div><br></div><div>

This is one case the current config system still doesn't support well: adding to containers.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
<br>
Jason<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</blockquote></div><br>