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-133146: Add the old public `get_value` method to documentation and refactor code. by YvesDup · Pull Request #133301 · python/cpython

Conversation

@YvesDup

@YvesDup YvesDup commented May 2, 2025 •
edited by gpshead
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor
  1. Update documentation of multiprocessing.Lockclass.
  2. Refactor code to mask calls to the private _semlock attribute of multiprocessing.Sempahore class.
    The multiprocessing.BoundedSempahore, multiprocessing.Condition and multiprocessing.Queue classes will update.
  • Issue: Document the public multiprocessing.[Bounded]Semaphore.get_value method and refactor code #133146

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

Closes #133146

Sorry, something went wrong.

Uh oh!

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

All reactions
YvesDup added 2 commits April 11, 2025 15:58
@YvesDup
Initial commit
7809d7b
@YvesDup
Merge branch 'python:main' into sem-macosx-multiprocessing-get_value
ca7f1f6
@YvesDup
YvesDup requested a review from gpshead as a code owner May 2, 2025 14:26
@bedevere-app bedevere-app Bot mentioned this pull request May 2, 2025
Document the public multiprocessing.[Bounded]Semaphore.get_value method and refactor code #133146
Closed
@bedevere-app bedevere-app Bot added the awaiting review label May 2, 2025
@YvesDup YvesDup changed the title gh-133146: Add the older public get_value method to documantation and refactor code. gh-133146: Add the old public get_value method to documantation and refactor code. May 2, 2025
@YvesDup
Merge branch 'main' into sem-macosx-multiprocessing-get_value
bae1ea3
@YvesDup YvesDup changed the title gh-133146: Add the old public get_value method to documantation and refactor code. gh-133146: Add the old public get_value method to documentation and refactor code. May 2, 2025
YvesDup
YvesDup commented May 3, 2025
View reviewed changes
Comment thread Lib/multiprocessing/synchronize.py Resolved

Uh oh!

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

blurb-it Bot and others added 2 commits May 19, 2025 15:49
@blurb-it
📜🤖 Added by blurb_it.
755d263
@YvesDup
Merge branch 'main' into sem-macosx-multiprocessing-get_value
372aefa
@YvesDup

YvesDup commented Jun 9, 2025 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor Author

Why this method is undocumented ?
See here #84974

Updated: I only suggest to refactor code

All reactions

Sorry, something went wrong.

Uh oh!

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

@YvesDup
Merge branch 'python:main' into sem-macosx-multiprocessing-get_value
09eefd6
@gpshead gpshead added the docs Documentation in the Doc dir label Nov 29, 2025
@github-project-automation github-project-automation Bot added this to Docs PRs Nov 29, 2025
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Nov 29, 2025
@gpshead gpshead added the skip news label Nov 29, 2025
@gpshead
reword news
c5eab2e
don't describe documentation updates.  just note that some internal details changed a bit.
gpshead
gpshead approved these changes Nov 29, 2025
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Nov 29, 2025
@gpshead
gpshead enabled auto-merge (squash) November 29, 2025 21:39
@gpshead
remove news entry - it's about internals
14fe3d8
@gpshead
gpshead disabled auto-merge November 29, 2025 21:42
@gpshead
gpshead enabled auto-merge (squash) November 29, 2025 21:43
@gpshead gpshead added the needs backport to 3.14 bugs and security fixes label Nov 29, 2025
@gpshead
gpshead merged commit db098a4 into python:main Nov 29, 2025
48 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 Nov 29, 2025
@miss-islington-app

miss-islington-app Bot commented Nov 29, 2025

Copy link
Copy Markdown

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

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 awaiting merge label Nov 29, 2025
@miss-islington-app

miss-islington-app Bot commented Nov 29, 2025

Copy link
Copy Markdown

Sorry, @YvesDup and @gpshead, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker db098a475a47b16d25c88d95dbcf0c6572c68576 3.14
All reactions

Sorry, something went wrong.

Uh oh!

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

@miss-islington-app miss-islington-app Bot assigned gpshead Nov 29, 2025
hugovk pushed a commit to hugovk/cpython that referenced this pull request Nov 30, 2025
@YvesDup @hugovk
[3.14] pythongh-133146: Add the old public get_value method to docu…
ecab12a
…mentation and refactor code. (pythonGH-133301)

also uses it within the internals in a few places.
(cherry picked from commit db098a4)

Co-authored-by: Duprat <[email protected]>
@bedevere-app

bedevere-app Bot commented Nov 30, 2025

Copy link
Copy Markdown

GH-142110 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.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Nov 30, 2025
gpshead pushed a commit that referenced this pull request Nov 30, 2025
@hugovk @YvesDup
[3.14] gh-133146: Add the old public get_value method to documentat…
b95d16a
…ion and refactor code. (GH-133301) (#142110)

also uses it within the internals in a few places.
(cherry picked from commit db098a4)

Co-authored-by: Duprat <[email protected]>
@YvesDup

YvesDup commented Dec 1, 2025 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor Author

Thank you @gpshead for approving this PR.

All reactions

Sorry, something went wrong.

Uh oh!

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

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
@YvesDup @StanFromIreland
pythongh-133146: Add the old public get_value method to documentati…
a19fde2
…on and refactor code. (pythonGH-133301)

also uses it within the internals in a few places.
@YvesDup
YvesDup deleted the sem-macosx-multiprocessing-get_value branch February 9, 2026 20:25
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

Uh oh!

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

Assignees

@gpshead gpshead

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.

Document the public multiprocessing.[Bounded]Semaphore.get_value method and refactor code

Uh oh!

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

2 participants

@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.