[IPython-dev] kernel restart

Fernando Perez fperez.net at gmail.com
Thu Jun 21 01:32:07 EDT 2012

On Wed, Jun 20, 2012 at 10:11 PM, Bob McElrath <bob+ipython at mcelrath.org> wrote:
> %reset seems to be a bit worse though, as far as I can tell it does NOT reload()
> modules (does not recompile them).  What would be required to make %reset see
> source changes on imported modules?

%reset was only meant to delete all variables from your namespace, not
to have anything to do with module import/reload.

You may want to look at the autoreload extension:


and at the dreload() function we also provide:


Note that neither of these can reload extension modules, as that is a
limitation of Python itself.



More information about the IPython-dev mailing list