[Twisted-Python] deferred proposed update

Glyph Lefkowitz glyph at twistedmatrix.com
Thu Jan 29 10:09:22 EST 2004

Fabrice Coudert wrote:

> So, I restate the probleme with chainDeferred :
> chainDeferred(d) is equivalent to addCallbacks(d.callback, d.errback),
> but this two methods are not really sort of callback methods for
> deferred coz they didn't return a result.

This is not a problem, this is a specification of the way it works.  
chainDeferred is a holdover from before one could sensibly return one 
Deferred from the callback to another.  If you want to add callbacks in 
some other way, don't use chainDeferred.

More information about the Twisted-Python mailing list