Issue #20319: concurrent.futures.wait() can block forever even if Futures have completed

Applied https://github.com/python/cpython/commit/403f8cf425cd45a3ffcdd277091be465dce35532
1 file changed