From 2dfe3511fe310c559d5571c52dcac381f33fd3a6 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 16 Dec 2018 23:40:49 +0100 Subject: bpo-35491, multiprocessing: replace "RUN" with RUN (GH-11178) --- Lib/multiprocessing/pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py index cede9bb..1e26a9b 100644 --- a/Lib/multiprocessing/pool.py +++ b/Lib/multiprocessing/pool.py @@ -486,7 +486,7 @@ class Pool(object): util.debug('result handler got EOFError/OSError -- exiting') return - if thread._state != "RUN": + if thread._state != RUN: assert thread._state == TERMINATE, "Thread not in TERMINATE" util.debug('result handler found thread._state=TERMINATE') break -- cgit v0.12