Title: Display exit-codes for abruptly terminated processes in concurrent.futures
Type: enhancement Stage: patch review
Components: Library (Lib) Versions: Python 3.10
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Epic_Wink
Priority: normal Keywords: patch

Created on 2020-06-26 05:18 by Epic_Wink, last changed 2020-06-26 07:25 by Epic_Wink.

Pull Requests
URL Status Linked Edit
PR 21166 open Epic_Wink, 2020-06-26 07:25
Messages (1)
msg372409 - (view) Author: Laurie Opperman (Epic_Wink) * Date: 2020-06-26 05:18
When a process terminates in the process-pool of concurrent.futures.process, it simply gives the exception (with no __cause__):

    BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

I would like to include the terminated processes' exit codes in the error, either as part of the message or as a separate exception set as the error's __cause__
Date User Action Args
2020-06-26 07:25:13Epic_Winksetkeywords: + patch
stage: patch review
pull_requests: + pull_request20324
2020-06-26 05:18:59Epic_Winkcreate