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 — gh-147965: Add shutdown() to multiprocessing.Queue excluded methods by WYSIATI · Pull Request #147970 · python/cpython

Conversation

@WYSIATI

@WYSIATI WYSIATI commented Apr 1, 2026 •
edited by github-actions Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Closes #147965.

The multiprocessing.Queue documentation states it implements all methods of queue.Queue except for task_done() and join(). Since queue.Queue.shutdown() was added in Python 3.13, and multiprocessing.Queue does not implement it either, this PR adds shutdown() to the list of excluded methods.

Changes

  • Doc/library/multiprocessing.rst: Add shutdown() to the list of queue.Queue methods not implemented by multiprocessing.Queue
  • Issue: Indicate that multiprocessing.Queue does not implement shutdown() #147965

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@WYSIATI
WYSIATI requested a review from gpshead as a code owner April 1, 2026 13:45
@bedevere-app bedevere-app Bot added the awaiting review label Apr 1, 2026
@python-cla-bot

python-cla-bot Bot commented Apr 1, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels Apr 1, 2026
@github-project-automation github-project-automation Bot added this to Docs PRs Apr 1, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Apr 1, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Apr 1, 2026
Indicate that multiprocessing.Queue does not implement shutdown() #147965
Closed
@WYSIATI
WYSIATI requested review from AA-Turner, ezio-melotti, hugovk and webknjaz as code owners April 1, 2026 13:55
@aisk

aisk commented Apr 1, 2026

Copy link
Copy Markdown
Member

Please avoid modify unrelated files in one PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@YvesDup

YvesDup commented Apr 1, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

@WYSIATI as creator of this #147965 issue, please ask for me before create a PR

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aisk

aisk commented Apr 1, 2026

Copy link
Copy Markdown
Member

And if this PR is fully generated by LLM, please read https://devguide.python.org/getting-started/generative-ai/ first. @WYSIATI

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@WYSIATI
pythongh-147965: Add shutdown() to multiprocessing.Queue excluded met…
fe18363
…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.
@WYSIATI
WYSIATI force-pushed the fix-mp-queue-shutdown-docs-147965 branch from d3b06be to fe18363 Compare April 1, 2026 14:26
@WYSIATI

WYSIATI commented Apr 1, 2026

Copy link
Copy Markdown
Contributor Author

@aisk Thanks for the pointer, I used AI to assist me with writing the commit, but I personally verify it the shutdown is not found by python3 -c "import multiprocessing; q = multiprocessing.Queue(); q.shutdown()"

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hugovk
hugovk removed their request for review April 1, 2026 15:23
@YvesDup YvesDup mentioned this pull request Apr 3, 2026
gh-147965: Document that multiprocessing.Queue does not implement shutdown() #148034
Closed
@YvesDup

YvesDup commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

The fix looks good to me

WYSIATI reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gpshead
gpshead approved these changes Apr 12, 2026
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Apr 12, 2026
@gpshead gpshead added needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes and removed awaiting merge labels Apr 12, 2026
@gpshead
gpshead merged commit 22290ed into python:main Apr 12, 2026
40 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Apr 12, 2026
@miss-islington-app

miss-islington-app Bot commented Apr 12, 2026

Copy link
Copy Markdown

Thanks @WYSIATI for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 12, 2026
@WYSIATI @miss-islington
pythongh-147965: Add shutdown() to multiprocessing.Queue excluded met…
af8019e
…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 <[email protected]>
@bedevere-app

bedevere-app Bot commented Apr 12, 2026

Copy link
Copy Markdown

GH-148416 is a backport of this pull request to the 3.14 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 12, 2026
@WYSIATI @miss-islington
pythongh-147965: Add shutdown() to multiprocessing.Queue excluded met…
5205c80
…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 <[email protected]>
@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Apr 12, 2026
@bedevere-app

bedevere-app Bot commented Apr 12, 2026

Copy link
Copy Markdown

GH-148417 is a backport of this pull request to the 3.13 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Apr 12, 2026
gpshead pushed a commit that referenced this pull request Apr 12, 2026
@miss-islington @WYSIATI
[3.14] gh-147965: Add shutdown() to multiprocessing.Queue excluded me…
a4f9bbf
…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 <[email protected]>
gpshead pushed a commit that referenced this pull request Apr 12, 2026
@miss-islington @WYSIATI
[3.13] gh-147965: Add shutdown() to multiprocessing.Queue excluded me…
4830d29
…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 <[email protected]>
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
@WYSIATI @ljfp
pythongh-147965: Add shutdown() to multiprocessing.Queue excluded met…
a6f4252
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gpshead gpshead gpshead approved these changes
@ezio-melotti ezio-melotti Awaiting requested review from ezio-melotti
@AA-Turner AA-Turner Awaiting requested review from AA-Turner
@webknjaz webknjaz Awaiting requested review from webknjaz

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

docs Documentation in the Doc dir skip news

Projects

Docs PRs
Status: Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Indicate that multiprocessing.Queue does not implement shutdown()

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@WYSIATI @aisk @YvesDup @gpshead
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.
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.