[issue26374] concurrent_futures Executor.map semantics better specified in docs
Mark Dickinson
report at bugs.python.org
Thu Feb 18 14:00:01 EST 2016
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 <report at bugs.python.org>
<http://bugs.python.org/issue26374>
_______________________________________
More information about the Python-bugs-list
mailing list