This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: RFC improve readability of _queue_management_worker for ProcessPoolExecutor
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: pitrou, tomMoral
Priority: normal Keywords: patch

Created on 2020-02-18 15:13 by tomMoral, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 18551 merged tomMoral, 2020-02-18 15:15
Messages (2)
msg362218 - (view) Author: Thomas Moreau (tomMoral) * Date: 2020-02-18 15:13
As discussed in GH#17670, the the `_queue_management_worker` function has grown quite long and complicated.
It could be turned into an object with a bunch of short and readable helper methods.
msg363094 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2020-03-01 20:49
New changeset 0e89076247580ba0e570c4816f0e5628a7e36e83 by Thomas Moreau in branch 'master':
bpo-39678: refactor queue manager thread (GH-18551)
https://github.com/python/cpython/commit/0e89076247580ba0e570c4816f0e5628a7e36e83
History
Date User Action Args
2022-04-11 14:59:26adminsetgithub: 83859
2020-03-01 20:49:34pitrousetstatus: open -> closed
type: enhancement
resolution: fixed
stage: patch review -> resolved
2020-03-01 20:49:18pitrousetmessages: + msg363094
2020-02-18 15:15:10tomMoralsetkeywords: + patch
stage: patch review
pull_requests: + pull_request17931
2020-02-18 15:13:01tomMoralcreate