[IPython-dev] ipython -twisted

Glenn H Tarbox, PhD glenn at tarbox.org
Fri May 30 01:30:33 EDT 2008


On Fri, 2008-05-30 at 08:24 +0300, Ville M. Vainio wrote:
> On Fri, May 30, 2008 at 3:30 AM, Glenn H Tarbox, PhD <glenn at tarbox.org> wrote:
> > ipython -twisted hangs and times out on Ubuntu hardy and Osx
> 
> Works on windows, at least. I have to test this at home on ubuntu. The
> first call just takes a while to complete.
> 
> BTW, I was wondering - does twisted even need an ipython shell thread?
> E.g. qt4 event loop uses PyOS_InputHook, so if twisted is doing the
> same thing the reactor should just run in background when ipython is
> doing raw_input.

An extension to this question would be: Why cant the reactor handle all
IO, passing stdin and stdout to the appropriate reader / writer all in
one thread.  This may be due to blocking calls which are hard to avoid
but I don't know the design well enough...

But this discussion did take place to a degree in previous threads.

-glenn

> 
-- 
Glenn H. Tarbox, PhD || 206-494-0819 || glenn at tarbox.org
"Don't worry about people stealing your ideas. If your ideas are any 
 good you'll have to ram them down peoples throats" -- Howard Aiken




More information about the IPython-dev mailing list