SIGN IN SIGN UP

gh-107219: Fix concurrent.futures terminate_broken() (#108974)

Fix a race condition in _ExecutorManagerThread.terminate_broken():
ignore the InvalidStateError on future.set_exception(). It can happen
if the future is cancelled before the caller.

Moreover, test_crash_big_data() now waits explicitly until the
executor completes.
V
Victor Stinner committed
a8cae4071c795e55be46e339eda37e241fa0d7f8
Parent: b298b39
Committed by GitHub <noreply@github.com> on 9/6/2023, 1:57:01 PM