[Twisted-Python] Global reactor unit tests in the Twisted test suite
glyph at twistedmatrix.com
Tue Nov 8 00:44:44 EST 2011
On Nov 7, 2011, at 10:25 AM, exarkun at twistedmatrix.com wrote:
>> reactor = getUtility(IReactor)?
> That's not really a solution. It's the barest glimpse of a large system which might be applied as a solution. Do you want to expand it?
I'd like to echo this request for exposition. My understanding is that 'getUtility' is just a baroque way to access a global variable, with most of the disadvantages of said globalness intact. What does it provide that our existing import strategy doesn't?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python