[Twisted-Python] deferred list behaviour

Nathan nathan.stocks at gmail.com
Tue Dec 15 12:42:09 EST 2009


On Tue, Dec 15, 2009 at 10:34 AM,  <exarkun at twistedmatrix.com> wrote:
> On 05:17 pm, nathan.stocks at gmail.com wrote:
>>Are the results of a deferred list guaranteed to be in the same order
>>as the list of deferreds that was given to it?
>>
>>i.e. if I pass [d1, d2, d3] to a deferred list and the results list in
>>the call back has [(True, (something,)), (False, (something,)), (True,
>>(something))] is it guaranteed that items 0, 1, and 2 in each list
>>correspond to each other?
>
> Yep.

Perfect, that's what I thought.

~ Nathan



More information about the Twisted-Python mailing list