summaryrefslogtreecommitdiffstats
path: root/Tools/build
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-09-06 13:57:01 (GMT)
committerGitHub <noreply@github.com>2023-09-06 13:57:01 (GMT)
commita8cae4071c795e55be46e339eda37e241fa0d7f8 (patch)
treea91d0b46c6492d7fb090a1d5430acd95db27f979 /Tools/build
parentb298b395e8ab1725c4f0dd736155b8c818664d42 (diff)
downloadcpython-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