[issue40093] ThreadPoolExecutor with wait=True shuts down too early

fireattack report at bugs.python.org
Thu Apr 16 04:29:21 EDT 2020


fireattack <human.peng at gmail.com> added the comment:

>Yes, you are right. This is a feature of the ThreadPoolExecutor.

So is there any way to make the Executor actually wait and accept new job(s) after a while? I tried as_completed(), wait(), none seem to work.

----------

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


More information about the Python-bugs-list mailing list