[IPython-dev] about ipython-zmq

Omar Andrés Zapata Mesa andresete.chaos at gmail.com
Sat Jul 24 18:03:47 EDT 2010


Hi everyone.
i'm working on a very important issue on ipython-zmq
.
Let's suppose the following code in the prompt:
In [1]: 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
think?

And another question:
What magi commands do you think ipython-zmq should have?

Omar Andres Zapata Mesa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20100724/fae66ee5/attachment.html>


More information about the IPython-dev mailing list