On Tue, Nov 01, 2011 at 02:48:02PM -0400, Glyph wrote:
> If you can think of a better solution that addresses all of these
> concerns simultaneously somehow, please share, I'd love to hear it
> :-).

I'm not sure if it addresses all your concerns, but
twisted.python.context will let you set a particular value for things
you call and all their descendants (unless one of them sets a new value
in the context). I can imagine interleaving code that passes a reactor
parameter explicitly and code that grabs a reactor from the current
context without much hassle.

Tim.

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

Reply via email to