[IPython-User] reload module?

Paul Ivanov pi@berkeley....
Thu Mar 14 09:30:15 CDT 2013

Neal Becker, on 2013-03-14 08:50,  wrote:
> Is it possible to reload module code when developing into the currently running 
> ipython?  This is c-based code in the form of dynamic library.
> Typically I'm developing on emacs, using python-mode.  To test, I open the 
> python test code in a buffer, Use C-c ! to start ipython in the other buffer.  
> Everytime I recompile, I have to kill the python buffer and start another, cause 
> it won't reload the module.

This is actually a CPython limitation - C extensions cannot be


Status:	closed	Resolution:	wont fix
"I agree with Grant.  There seems to be no way this can be sanely
implemented with today's infrastructure."

Paul Ivanov
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7

More information about the IPython-User mailing list