[New-bugs-announce] [issue44299] Enable control over daemon flag in ThreadPoolExecutor and ProcessPoolExecutor

Dmitry Kropachev report at bugs.python.org
Thu Jun 3 07:01:05 EDT 2021


New submission from Dmitry Kropachev <dmitry.kropachev at gmail.com>:

ThreadPoolExecutor and ProcessPoolExecutor spawn threads and processes with default value of daemon flag, i.e. None.

In some cases it would handful to have control over daemon flag of spawned threads and processes.
Simple 6-line fix to enable it.

----------
components: Library (Lib)
messages: 394993
nosy: dkropachev
priority: normal
severity: normal
status: open
title: Enable control over daemon flag in ThreadPoolExecutor and ProcessPoolExecutor
versions: Python 3.10, Python 3.11, Python 3.9

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


More information about the New-bugs-announce mailing list