[IPython-dev] Servers down? Plus, ignoring SIGINT on 'sh' profile
fperez.net at gmail.com
Wed Dec 6 20:43:21 CST 2006
On 12/6/06, Ville M. Vainio <vivainio at gmail.com> wrote:
> Just a heads up - ipython servers seem to be down at the moment.
> Another thing:
> I thought about monkeypatching IPython.iplib.ipsystem() in the 'sh'
> profile to ignore ctrl + C by doing
> old_handler = signal.signal(signal.SIGINT, signal.SIG_IGN)
> and restoring the old signal handler after running the system command.
> It seems to work on win32, but I need to test in Linux as well (at
> Does anyone see any problems with this? In this release it wouldn't be
> used in any multithreaded profile.
As long as it's only used when running system commands and not normal
python code (which should ALWAYS be interruptible in the normal
non-threaded shells) I don't see a problem.
Note that I will have zero net access til next Monday or Tuesday
starting basically now.
More information about the IPython-dev