[issue32309] Implement asyncio.run_in_executor shortcut

Kyle Stanley report at bugs.python.org
Mon Nov 4 14:15:20 EST 2019


Kyle Stanley <aeros167 at gmail.com> added the comment:

> since the new threads are spawned in ThreadPoolExecutor *after* executor.submit() is called

It's also worth mentioning that ThreadPoolExecutor only spawns up to one additional thread at a time for each executor.submit() called.

----------

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


More information about the Python-bugs-list mailing list