[Twisted-Python] runReactor tests vs. t.i.task.cooperate and other users of the global reactor

Glyph Lefkowitz glyph at twistedmatrix.com
Wed Jul 27 15:06:20 MDT 2011


On Jul 26, 2011, at 8:57 AM, Laurens Van Houtven wrote:

> Gut feeling says change the new TLS code to take in a reactor instance and pass it everywhere.

I agree.  Passing parameters explicitly is the way to go.  Especially in the new TLS code, whose primary benefit is the sterner separation of concerns between TLS and reactor socket shenanigans.





More information about the Twisted-Python mailing list