[issue38306] High level API for loop.run_in_executor(None, ...)?

Antoine Pietri report at bugs.python.org
Tue Oct 1 04:26:27 EDT 2019


Antoine Pietri <antoine.pietri1 at gmail.com> added the comment:

> run_in_executor doesn't necessarily create a new thread each time so create_thread would be misleading. run_in_thread might be better.

Right, the idea was to have an analogy with create_task, because the run_in_executor would be wrapped in a Task. I'm okay with run_thread() too.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38306>
_______________________________________


More information about the Python-bugs-list mailing list