[Twisted-web] Reactor failure in current Twisted SVN

Paul Reznicek maillists at ivsn.com
Sat Jun 18 02:21:13 MDT 2005


Try this using Twisted 1.3.0, it work as expected
# -----------------------------------------------
from twisted.internet import reactor

def stopTest(passNo):
     reactor.callLater(1, reactor.stop)
     print 'starting reactor', passNo
     reactor.run()
     print 'stopped'

for i in range(10):
     stopTest(i)
# -----------------------------------------------

Try the same with current Twisted, it hung after 1st pass.

Any idea, what is wrong? Thanks in advance,
Paul



More information about the Twisted-web mailing list