STINNER Victor <vstin...@python.org> added the comment:
> 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? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44019> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com