On Tue, Oct 01, 2013 at 01:05:47AM -0700, David Stainton wrote:
> I add the socket to the reactor in the constructor like this:
> reactor.addWriter(self)
> BTW is that OK? Or is it better to add it to the reactor outside of the
> constructor?

twisted.internet.stdio.StandardIO do that so it is not so bad.

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

Reply via email to