[Twisted-Python] 9.0.0 question

Tristan Seligmann mithrandi at mithrandi.net
Fri Jan 22 18:04:04 MST 2010


On Sat, Jan 23, 2010 at 1:40 AM, Mikhail Terekhov <termim at gmail.com> wrote:
> So why reactor never stops if it was never run? What it is doing?

You call reactor.stop(); this does nothing but produce a delayed
exception. You then call reactor.run(), which runs the reactor. You
then never call reactor.stop() again, and thus the reactor continues
running forever.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar




More information about the Twisted-Python mailing list