Message293420
| 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:20 | xiang.zhang | set | recipients: + xiang.zhang, Klamann |
| 2017-05-10 14:30:20 | xiang.zhang | set | messageid: <1494426620.77.0.105063906222.issue30323@psf.upfronthosting.co.za> |
| 2017-05-10 14:30:20 | xiang.zhang | link | issue30323 messages |
| 2017-05-10 14:30:20 | xiang.zhang | create | |