This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xiang.zhang
Recipients Klamann, xiang.zhang
Date 2017-05-10.14:30:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494426620.77.0.105063906222.issue30323@psf.upfronthosting.co.za>
In-reply-to
Content
IIUC, the meaning of executor.map() is to run the tasks concurrently. So you have to loop the iterable ahead to submit all the tasks. If you make it a generator comprehension, you are actually submitting a task and then getting the result. So you are executing the tasks sequentially. Doesn't it violate the intention and meaning of executor.map()?
History
Date User Action Args
2017-05-10 14:30:20xiang.zhangsetrecipients: + xiang.zhang, Klamann
2017-05-10 14:30:20xiang.zhangsetmessageid: <1494426620.77.0.105063906222.issue30323@psf.upfronthosting.co.za>
2017-05-10 14:30:20xiang.zhanglinkissue30323 messages
2017-05-10 14:30:20xiang.zhangcreate