Skip to content

Commit 2dfe351

Browse files
authored
bpo-35491, multiprocessing: replace "RUN" with RUN (GH-11178)
1 parent b912f93 commit 2dfe351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/multiprocessing/pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ def _handle_results(outqueue, get, cache):
486486
util.debug('result handler got EOFError/OSError -- exiting')
487487
return
488488

489-
if thread._state != "RUN":
489+
if thread._state != RUN:
490490
assert thread._state == TERMINATE, "Thread not in TERMINATE"
491491
util.debug('result handler found thread._state=TERMINATE')
492492
break

0 commit comments

Comments
 (0)