[New-bugs-announce] [issue31326] concurrent.futures: ProcessPoolExecutor.shutdown(wait=True) should wait for the call queue thread
STINNER Victor
report at bugs.python.org
Fri Sep 1 12:45:47 EDT 2017
New submission from STINNER Victor:
concurrent.futures.ProcessPoolExecutor.shutdown(wait=True) doesn't wait for the call queue thread, and so test_concurrent_futures randomly emits warnings about dangling threads, especially with PR 3138 of bpo-31234.
Attached PR fixes the issue.
----------
messages: 301135
nosy: haypo
priority: normal
severity: normal
status: open
title: concurrent.futures: ProcessPoolExecutor.shutdown(wait=True) should wait for the call queue thread
type: resource usage
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31326>
_______________________________________
More information about the New-bugs-announce
mailing list