[Twisted-Python] knowing which reactor is running

Manlio Perillo manlio_perillo at libero.it
Mon Oct 23 12:48:18 MDT 2006


Jean-Paul Calderone ha scritto:
> On Sat, 21 Oct 2006 12:11:29 +0200, Manlio Perillo
> <manlio_perillo at libero.it> wrote:
>> In a test suite I need to know if the win32eventreactor is running.
>> Any solution?
> 
> You generally shouldn't need this information.  Rather, you should rely
> on the interfaces provided by the reactor you're using, and less commonly
> the modules which you are able to import.
>

But the win32eventreactor does not implement a "special" interface like,
say, IWin32EventReactor.


Regards  Manlio Perillo




More information about the Twisted-Python mailing list