[Twisted-Python] reactor.run() do not return after reactor.stop()

Johann Borck johann.borck at densedata.com
Sat Oct 10 08:40:15 EDT 2009


Stanislav Yudin wrote:
> Hi everyone,
> I am having a problem with current twisted trunk (rev 27375). ...  So 
> the problem is that the first call to execute returns from 
> reactor.run() right after reactor.stop(), but second call to same 
> method of same instance do not return ever.
> I believe I am doing something wrong, so please help with find out 
> what I've missed. Problem code attached.
http://twistedmatrix.com/trac/wiki/FrequentlyAskedQuestions#WhycanttheTwistedsreactorberestarted

But since you can do everything without restarting the reactor, that's 
no real limitation.

hth, Johann



More information about the Twisted-Python mailing list