[Twisted-Python] deferred list behaviour

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Tue Dec 15 12:34:43 EST 2009


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.

Jean-Paul



More information about the Twisted-Python mailing list