diff options
author | 2021-03-15 08:49:28 +0100 | |
---|---|---|
committer | 2021-10-04 22:22:54 +0100 | |
commit | 25866774b51ce49b1aaf1ec933db2478a8a89c31 (patch) | |
tree | 694ce3eebd32bf8ff47ec0d8c886148a86a8ccbf | |
parent | ssl: Hard-disable SSLv3 to avoid automagic deps (diff) | |
download | cpython-gentoo-3.10.0.tar.gz cpython-gentoo-3.10.0.tar.bz2 cpython-gentoo-3.10.0.zip |
Fix dictionary iteration error in _ExecutorManagerThreadgentoo-3.10.0
-rw-r--r-- | Lib/concurrent/futures/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/concurrent/futures/process.py b/Lib/concurrent/futures/process.py index 764719859f7..9c4a6e3dd0e 100644 --- a/Lib/concurrent/futures/process.py +++ b/Lib/concurrent/futures/process.py @@ -373,7 +373,7 @@ class _ExecutorManagerThread(threading.Thread): assert not self.thread_wakeup._closed wakeup_reader = self.thread_wakeup._reader readers = [result_reader, wakeup_reader] - worker_sentinels = [p.sentinel for p in self.processes.values()] + worker_sentinels = [p.sentinel for p in self.processes.copy().values()] ready = mp.connection.wait(readers + worker_sentinels) cause = None |