I believe reactor.run() never returns and always blocks the calling thread until reactor.stop() is called, afterwhich you cannot call reactor.run() again. Not sure if that helps you though.
On Sun, 2010-02-14 at 22:36 +0100, giskard wrote: > Hi all, > > i think i'm not doing things in the right way: > > http://paste.debian.net/59855/ > > this code implement a simple jabber client, if you remove the class defnition > and run it (removing also the run def) it works! > > but if i 'class' it and run via: > http://paste.debian.net/59856/ > > reactor.run() hangs. > > where i'm wrong? > > thank you in advance, > -- > ciao, > giskard > > > > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python