[Twisted-Python] DeferredList and errbacks
I just noticed [what appears to me to be] a contradiction in the twisted documentation. The "Using Deferreds" howto [1] says, "A standard DeferredList will never call errback," while the "Twisted FAQ" [2] states, "Always add errbacks!" in response to the question, "My Deferred or DeferredList never fires, so my program just mysteriously hangs! What's wrong?" So, which is it? I suppose what this is getting at is that each deferred in a DeferredList should have an errback attached separately, but this isn't super-clear to me. Is this the right way to interpret the above statements? thanks, Lenny G. [1] http://twistedmatrix.com/documents/current/howto/defer [2] http://twistedmatrix.com/documents/current/howto/faq#auto19 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
participants (4)
-
Andrew Bennetts
-
David Bolen
-
Jp Calderone
-
Lenny G Arbage