On Tue, Dec 18, 2018 at 7:43 PM Jeff Grimmett <grimmto...@gmail.com> wrote:

> This pattern works:
>
>
>
> *from twisted.internet import wxreactorreactor = wxreactor.install()*
>

The fact that a reactor is returned by install is a bit of a mistake and is
not really part of the interface of *install.*

For whatever reason, asyncioreactor.install doesn't bother to return the
reactor it creates.

You should do this instead:

from twisted.internet import wxreactor

wxreactor.install()

from twisted.internet import reactor


Or don't do reactor installation yourself at all, use twistd or twist or
some other similar tool.

Jean-Paul
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to