[Twisted-Python] Callbacks, Looping, and Variable Binding

Justin Johnson justinjohnson at fastmail.fm
Thu Jul 31 14:29:45 MDT 2003


> > 
> > 	Besides, you are adding the outer d to deferreds once per
> > 	iteration. That's broken.
> 
> I'm not sure what you mean here.  I was adding my deferred to a list and
> it seemed to be doing what I wanted (at least I think it was).
> 

To clarify, what I'm trying to do here is create a bunch of Deferred's
that aren't dependent on each other, and then put them in a DeferredList
so I can add a callback to the list which will only fire when all
Deferred's in the list are done.  Does that make sense?




More information about the Twisted-Python mailing list