[IPython-dev] Twisted reactor + IPython0
ellisonbg.net at gmail.com
Thu Mar 20 14:49:57 EDT 2008
Noooooo ;-). Please, don't start doing stuff like this without all of
us discussing the best direction. The parallel computing stuff in
IPython1 is designed to work with IPython0 and uses a very carefully
crafted approach for integrating with the Twisted main loop. Doing
something like this could easily break IPython1 for the many current
users - even if it is optional, I don't want it in IPython0. More
discussion is needed first. Sorry I don't have more time to
participate in the discussion right now - if you are interested in how
we are handling this in IPython1, please look at that code base. What
ever ends up in IPython0 _must_ be compatible with that.
On Thu, Mar 20, 2008 at 12:30 PM, Ville M. Vainio <vivainio at gmail.com> wrote:
> On Thu, Mar 20, 2008 at 7:47 PM, Fernando Perez <fperez.net at gmail.com> wrote:
> > It would certainly be great to have this done in ip0 as an optional
> > component: we could always tell our users: you have two options for
> > gui support:
> It's in trunk now. It's still a threads-based hack, in that ipython
> mainloop runs in a thread, but now the mainloop is a twisted reactor.
> See IPython/twshell.py. You can try it out by "python twshell.py".
> kbdint and Exit seem to work.
> I used the stuff from mtexp branch, so macros should work, and it
> should survive reactor death (5 sec timeout as before). Now, I gotta
> run, but someone might want to take a look at it.
> Ville M. Vainio - vivainio.googlepages.com
> blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
> IPython-dev mailing list
> IPython-dev at scipy.org
More information about the IPython-dev