Skip to content

gh-96471: Add threading queue shutdown - #104225

Closed
EpicWink wants to merge 3 commits into
python:mainfrom
EpicWink:threading-queue-shutdown
Closed

gh-96471: Add threading queue shutdown#104225
EpicWink wants to merge 3 commits into
python:mainfrom
EpicWink:threading-queue-shutdown

Conversation

@EpicWink

@EpicWinkEpicWink commented May 6, 2023

Copy link
Copy Markdown
Contributor

Threading-only changes from #102499 (on top of #96474)


📚 Documentation preview 📚: https://cpython-previews--104225.org.readthedocs.build/

@EpicWink

Copy link
Copy Markdown
ContributorAuthor

@willingc ready for review

@EpicWink
EpicWinkforce-pushed the threading-queue-shutdown branch from fa1debe to ddeb9b6CompareMay 6, 2023 04:27
EpicWinkand others added 2 commits May 6, 2023 14:34
* Include raised exception in docstrings
* Handle queue shutdown in task_done and join
* Factor out queue-state checks and updates to methods
* Logic fixes in qsize, get and shutdown
* Don't set unfinished_tasks to 0 on immediate shutdown
* Updated tests
* Document feature added in 3.13
@EpicWink
EpicWinkforce-pushed the threading-queue-shutdown branch from ddeb9b6 to 9c2971bCompareMay 6, 2023 04:38
@gvanrossum

Copy link
Copy Markdown
Member

Closing in favor of gh-104750.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@EpicWink@gvanrossum@bedevere-bot@YvesDup