[IPython-user] implementing non-blocking thread execution for something other than toolkits

Ville M. Vainio vivainio@gmail....
Wed Feb 25 03:57:52 CST 2009

On Wed, Feb 25, 2009 at 11:49 AM, Rohan Nicholls
<rohan.nicholls@googlemail.com> wrote:

> I have been using ipython's support of -wthread to great effect.
> Another area where this sort of non-blocking thread execution would be
> very handy is with web servers.

The whole point for -wthread and the likes is that ipython code needs
to be run in the main loop of gui thread (which is different from the
thread that runs the "shell loop" that does raw_input.

If you have your own blacking web serving code and want to run ipython
alongside it, you probably don't need such a hack - you can just run
ipython in its own thread & be happy.

So do you have a specific example of what you want to do?

Ville M. Vainio

More information about the IPython-user mailing list