[IPython-dev] Extension loading
Sat Sep 29 15:19:35 CDT 2012
On 29 September 2012 18:47, Jason Grout <firstname.lastname@example.org> wrote:
> In the preliminary Sage extension, we do things like add a pre_run_code
> hook and run a startup file. If we register a hook twice, I suppose it
> runs twice?
I should also add: if the extension does anything that shouldn't be
done twice, it should be reversed, if possible, by the
unload_ipython_extension function. We'll fix reload_extension up to
call unload_.. first.
More information about the IPython-dev