[IPython-dev] Ctrl-C quitting ipython

Fernando Perez fperez.net@gmail....
Thu Nov 4 01:19:41 CDT 2010

On Wed, Nov 3, 2010 at 9:08 AM, Hans Meine <hans_meine@gmx.net> wrote:
> - whether we can detect and report signal handlers being installed

One could monkeypatch signal to catch and report signal.signal()
calls, but that's about it.  As I said in my prior reply, C code can
install handlers we'll never know about.

> - whether that would be annoying (don't know how noisy the result would be)
> - whether we can catch exit() being called and at least report "IPython
> noticed some extension/C-code called exit()", which would have at least
> reduced the debugging time for us

Nope, unfortunately there's no way to catch that, to the best of my
knowledge (would love to be proven wrong, though).



More information about the IPython-dev mailing list