Message400628
> An actual use case I had for such an operator was collecting a bunch of callables in a list and wanting to dispatch them to concurrent.futures.Executor.map, i.e. something like `executor.map(operator.call, funcs)` (to get the parallelized version of `[func() for func in funcs]`).
Can't you use functools.partial() for that? |
|
| Date |
User |
Action |
Args |
| 2021-08-30 15:51:53 | vstinner | set | recipients:
+ vstinner, brett.cannon, rhettinger, mark.dickinson, Antony.Lee, hrik2001 |
| 2021-08-30 15:51:53 | vstinner | set | messageid: <[email protected]> |
| 2021-08-30 15:51:53 | vstinner | link | issue44019 messages |
| 2021-08-30 15:51:53 | vstinner | create | |
|