Skip to content

Commit 208ea75

Browse files
committed
better comment
1 parent a5d3266 commit 208ea75

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Lib/concurrent/futures/process.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,10 @@ def _terminate_broken(self, cause):
478478
if cause is not None:
479479
cause_str = ''.join(cause)
480480
else:
481-
# No cause known, synthesize from child process exitcodes
481+
# No cause known, so report any processes that have
482+
# terminated with nonzero exit codes, e.g. from a
483+
# segfault. Multiple may terminate simultaneously,
484+
# so include all of them in the traceback.
482485
errors = []
483486
for p in self.processes.values():
484487
if p.exitcode is not None and p.exitcode != 0:

0 commit comments

Comments
 (0)