[Twisted-Python] win32eventreactor problems

Justin Johnson justinjohnson at fastmail.fm
Wed Aug 13 13:42:11 MDT 2003


Sure enough... one of my modules was importing twisted.spread.pb.
I guess I'll look into using twistd and a mktap plugin.

Thank you.

On Wed, 13 Aug 2003 15:29:12 -0400, "Itamar Shtull-Trauring"
<itamar at itamarst.org> said:
> Installing a reactor has to be the *first* thing you do. If at any point
> a module did "from twisted.internet import reactor" beforehand, that
> will have the default reactor automatically installed if there is no
> reactor already. So move that to be the first thing that runs.
> 
> This is another good reason to use twistd.
> 
> -- 
> Itamar Shtull-Trauring    http://itamarst.org/
> Available for Python & Twisted consulting
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python




More information about the Twisted-Python mailing list