classification
Title: Enable control over daemon flag in ThreadPoolExecutor and ProcessPoolExecutor
Type: Stage: patch review
Components: Library (Lib) Versions: Python 3.11, Python 3.10, Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: dkropachev
Priority: normal Keywords: patch

Created on 2021-06-03 11:01 by dkropachev, last changed 2021-06-03 11:09 by dkropachev.

Pull Requests
URL Status Linked Edit
PR 26511 open dkropachev, 2021-06-03 11:09
Messages (1)
msg394993 - (view) Author: Dmitry Kropachev (dkropachev) * Date: 2021-06-03 11:01
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.
History
Date User Action Args
2021-06-03 11:09:24dkropachevsetkeywords: + patch
stage: patch review
pull_requests: + pull_request25107
2021-06-03 11:01:05dkropachevcreate