mirror of
https://github.com/python/cpython.git
synced 2025-10-26 11:14:33 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| executor.py | ||
| test_as_completed.py | ||
| test_deadlock.py | ||
| test_future.py | ||
| test_init.py | ||
| test_process_pool.py | ||
| test_shutdown.py | ||
| test_thread_pool.py | ||
| test_wait.py | ||
| util.py | ||