[Twisted-Python] Re: Events in Python

Toby Dickenson tdickenson at geminidataloggers.com
Thu Jan 31 06:17:26 EST 2008

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.

More information about the Twisted-Python mailing list