[Twisted-Python] win32eventreactor problems

Itamar Shtull-Trauring itamar at itamarst.org
Wed Aug 13 15:29:12 EDT 2003


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




More information about the Twisted-Python mailing list