bpo-35491, multiprocessing: replace "RUN" with RUN (GH-11178)

This commit is contained in:
Victor Stinner 2018-12-16 23:40:49 +01:00 committed by GitHub
parent b912f9342e
commit 2dfe3511fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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