FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-96471: Correct docs for queue shutdown raises by EpicWink · Pull Request #115838 · python/cpython · GitHub

Repository navigation

gh-96471: Correct docs for queue shutdown raises - #115838

Merged
gvanrossum merged 5 commits into
python:mainfrom
EpicWink:threading-queue-shutdown-no-raise-docs
Feb 25, 2024
Merged

gvanrossum merged 5 commits into
python:mainfrom
EpicWink:threading-queue-shutdown-no-raise-docs

Conversation

EpicWink commented Feb 23, 2024 •
edited
Loading

Copy link
Copy Markdown
Contributor
  • Remove "raises ShutDown" from Queue.join() and Queue.task_done() documentation (including doc-string)
  • Clarify Queue.shutdown() behaviour (it doesn't raise itself, but causes other methods to raise)
  • Add that Queue.task_done() is called by Queue.shutdown(immediate=True) for each item in the queue

Caused by: #104750


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

EpicWink requested a review from rhettinger as a code owner February 23, 2024 02:08
bedevere-app Bot mentioned this pull request Feb 23, 2024
EpicWink force-pushed the threading-queue-shutdown-no-raise-docs branch from 4fdeb68 to 63bdd42 Compare February 23, 2024 02:09
EpicWink force-pushed the threading-queue-shutdown-no-raise-docs branch from 63bdd42 to c1bcb5d Compare February 23, 2024 02:10

gvanrossum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks! Two nits and then I'll merge this. (I feel bad that I didn't catch this in review.)

Comment thread Doc/library/queue.rst Outdated
Comment thread Lib/queue.py
rhettinger removed their request for review February 23, 2024 05:34

This comment was marked as duplicate.

gvanrossum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Please fix the nits I called out.

bedevere-app Bot commented Feb 23, 2024

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

Copy link
Copy Markdown
Contributor Author

I have made the requested changes; please review again

Comment thread Doc/library/queue.rst Outdated
gvanrossum enabled auto-merge (squash) February 25, 2024 16:31
gvanrossum merged commit 9402ea6 into python:main Feb 25, 2024
woodruffw pushed a commit to woodruffw-forks/cpython that referenced this pull request Mar 4, 2024
EpicWink deleted the threading-queue-shutdown-no-raise-docs branch April 11, 2024 01:10
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
LukasWoodtli pushed a commit to LukasWoodtli/cpython that referenced this pull request Jan 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to 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.

2 participants


Back | FazBrowse Home | New Git URL