Re: Possible bug in ThreadPoolExecutor, or just misinterpretation

2018-05-27 Thread INADA Naoki
On Mon, May 28, 2018 at 1:12 AM Santiago Basulto wrote: > Hey list! I might have encountered a "bug", or maybe it's just a "design > decision" :) > Here's some example code: > https://gist.github.com/santiagobasulto/3513a50ec0dc939e8f7bb2ecfa8d4ae2 > The problem is `ThreadPoolExecutor.map()`. I

Possible bug in ThreadPoolExecutor, or just misinterpretation

2018-05-27 Thread Santiago Basulto
Hey list! I might have encountered a "bug", or maybe it's just a "design decision" :) Here's some example code: https://gist.github.com/santiagobasulto/3513a50ec0dc939e8f7bb2ecfa8d4ae2 The problem is `ThreadPoolExecutor.map()`. It's not returning tasks "as completed" but sequentially. I understa