Dallas Marlow <[email protected]> added the comment:
I also verified that this issue persists with blocking futures other than sleep
calls:
import concurrent.futures
import subprocess
with concurrent.futures.ThreadPoolExecutor() as ex:
futures = [
ex.submit(subprocess.run, ['sleep', '30']),
ex.submit(print, 'test'),
]
for future in concurrent.futures.as_completed(futures, timeout=1):
_ = future.result()
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue41694>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com