gh-147965: Add shutdown() to multiprocessing.Queue excluded methods#147970
Merged
gpshead merged 1 commit intopython:mainfrom Apr 12, 2026
Merged
gh-147965: Add shutdown() to multiprocessing.Queue excluded methods#147970gpshead merged 1 commit intopython:mainfrom
gpshead merged 1 commit intopython:mainfrom
Conversation
Member
|
Please avoid modify unrelated files in one PR. |
Contributor
Member
|
And if this PR is fully generated by LLM, please read https://devguide.python.org/getting-started/generative-ai/ first. @WYSIATI |
…hods The multiprocessing.Queue documentation states it implements all methods of queue.Queue except task_done() and join(). Since queue.Queue.shutdown() was added in Python 3.13, multiprocessing.Queue also does not implement it. Update the docs to include shutdown() in the list of excluded methods.
d3b06be to
fe18363
Compare
Contributor
Author
|
@aisk Thanks for the pointer, I used AI to assist me with writing the commit, but I personally verify it the |
Contributor
|
The fix looks good to me |
gpshead
approved these changes
Apr 12, 2026
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Apr 12, 2026
…hods (pythonGH-147970) The multiprocessing.Queue documentation states it implements all methods of queue.Queue except task_done() and join(). Since queue.Queue.shutdown() was added in Python 3.13, multiprocessing.Queue also does not implement it. Update the docs to include shutdown() in the list of excluded methods. (cherry picked from commit 22290ed011a8ac4060390e57f53053ab932fb3f3) Co-authored-by: WYSIATI <chester.lee.cold@gmail.com>
|
GH-148416 is a backport of this pull request to the 3.14 branch. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Apr 12, 2026
…hods (pythonGH-147970) The multiprocessing.Queue documentation states it implements all methods of queue.Queue except task_done() and join(). Since queue.Queue.shutdown() was added in Python 3.13, multiprocessing.Queue also does not implement it. Update the docs to include shutdown() in the list of excluded methods. (cherry picked from commit 22290ed) Co-authored-by: WYSIATI <chester.lee.cold@gmail.com>
|
GH-148417 is a backport of this pull request to the 3.13 branch. |
gpshead
pushed a commit
that referenced
this pull request
Apr 12, 2026
…thods (GH-147970) (#148416) gh-147965: Add shutdown() to multiprocessing.Queue excluded methods (GH-147970) The multiprocessing.Queue documentation states it implements all methods of queue.Queue except task_done() and join(). Since queue.Queue.shutdown() was added in Python 3.13, multiprocessing.Queue also does not implement it. Update the docs to include shutdown() in the list of excluded methods. (cherry picked from commit 22290ed) Co-authored-by: WYSIATI <chester.lee.cold@gmail.com>
gpshead
pushed a commit
that referenced
this pull request
Apr 12, 2026
…thods (GH-147970) (#148417) gh-147965: Add shutdown() to multiprocessing.Queue excluded methods (GH-147970) The multiprocessing.Queue documentation states it implements all methods of queue.Queue except task_done() and join(). Since queue.Queue.shutdown() was added in Python 3.13, multiprocessing.Queue also does not implement it. Update the docs to include shutdown() in the list of excluded methods. (cherry picked from commit 22290ed) Co-authored-by: WYSIATI <chester.lee.cold@gmail.com>
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #147965.
The
multiprocessing.Queuedocumentation states it implements all methods ofqueue.Queueexcept fortask_done()andjoin(). Sincequeue.Queue.shutdown()was added in Python 3.13, andmultiprocessing.Queuedoes not implement it either, this PR addsshutdown()to the list of excluded methods.Changes
Doc/library/multiprocessing.rst: Addshutdown()to the list ofqueue.Queuemethods not implemented bymultiprocessing.Queuemultiprocessing.Queuedoes not implementshutdown()#147965📚 Documentation preview 📚: https://cpython-previews--147970.org.readthedocs.build/