Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Queue non-immediate shutdown doesn't unblock getters #117531

Copy link
Copy link
Closed
@EpicWink

Description

@EpicWink
Issue body actions

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

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.