Closed
Description
Bug report
Bug description:
Caused by #104750
import queue
import threading
q = queue.Queue()
t = threading.Thread(target=q.get)
t.start()
q.shutdown()
t.join(timeout=10.0)
assert not t.is_alive() # raises AssertionError
Discovered here: #104228 (comment)
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Labels
An unexpected behavior, bug, or errorAn unexpected behavior, bug, or error