[Twisted-Python] Re: Events in Python
waterbug at pangalactic.us
Thu Jan 31 09:17:53 EST 2008
Toby Dickenson wrote:
> Simon Pickles wrote:
>> Drew Smathers wrote:
>>> Deferreds are a one-shot deal - you can only call them once.
>> eeek! of course they are! Well at least in Python the roll-your-own
>> option is very straight forward.
> Or check out http://pydispatcher.sourceforge.net/.
> We use this extensively with twisted.... Deferred for one shot events, and
> dispatcher for events that can be fired multiple times.
Actually, the latest incarnation of PyDispatcher is Louie:
... which offers more features and works fine as a drop-in
replacement for PyDispatcher.
More information about the Twisted-Python