diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-06 13:57:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 13:57:01 (GMT) |
commit | a8cae4071c795e55be46e339eda37e241fa0d7f8 (patch) | |
tree | a91d0b46c6492d7fb090a1d5430acd95db27f979 /Tools/build | |
parent | b298b395e8ab1725c4f0dd736155b8c818664d42 (diff) | |
download | cpython-a8cae4071c795e55be46e339eda37e241fa0d7f8.zip cpython-a8cae4071c795e55be46e339eda37e241fa0d7f8.tar.gz cpython-a8cae4071c795e55be46e339eda37e241fa0d7f8.tar.bz2 |
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.
Diffstat (limited to 'Tools/build')
0 files changed, 0 insertions, 0 deletions