[IPython-dev] about ipython-zmq
Omar Andrés Zapata Mesa
Sat Jul 24 17:03:47 CDT 2010
i'm working on a very important issue on ipython-zmq
Let's suppose the following code in the prompt:
In : for i in range(100000):
...: print i
This will take a lot of time to run, and if the user wants to stop the
process he will normally do it with ctrl+c.
by capturing KeyboardInterrupt i was experimenting with a message sent to
the kernel to stop such process, but the kernel hangs until the "for"
process is over.
The solution I see is to run the kernel processes on a thread. what do you
And another question:
What magi commands do you think ipython-zmq should have?
Omar Andres Zapata Mesa
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev