Mark Dickinson added the comment:

Note also this code snippet from PEP 3148:

    for number, prime in zip(PRIMES, executor.map(is_prime,
                                                      PRIMES)):

The use of zip here suggests strongly that the intention is that the order of 
the `map` result is well-defined.

It's possible that the docs should be updated to make the ordering requirement 
clearer.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26374>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to