GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Queue non-immediate shutdown doesn't unblock getters · Issue #117531 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
Queue non-immediate shutdown doesn't unblock getters#117531
Copy link
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@EpicWink
EpicWink
opened on Apr 4, 2024
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

  • gh-117531: Unblock getters after non-immediate queue shutdown #117532

Activity

  1. EpicWink
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Apr 4, 2024
  2. gvanrossum
    added a commit that references this issue on Apr 10, 2024

    gh-117531: Unblock getters after non-immediate queue shutdown (#117532)

    6bc0b33
  3. EpicWink
    closed this as completedon Apr 11, 2024
  4. diegorusso
    added a commit that references this issue on Apr 17, 2024

    pythongh-117531: Unblock getters after non-immediate queue shutdown (p…

    56927d4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.