[IPython-dev] ipython -twisted
Glenn H Tarbox, PhD
Fri May 30 00:30:33 CDT 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 <email@example.com> 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 H. Tarbox, PhD || 206-494-0819 || firstname.lastname@example.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