Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-133146: Add the old publicget_value method to documentation and refactor code.#133301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
YvesDup wants to merge4 commits intopython:main
base:main
Choose a base branch
Loading
fromYvesDup:sem-macosx-multiprocessing-get_value

Conversation

YvesDup
Copy link
Contributor

@YvesDupYvesDup commentedMay 2, 2025
edited
Loading

  1. Update documentation ofmultiprocessing.Lockclass.
  2. Refactor code to mask calls to the private_semlock attribute ofmultiprocessing.Sempahore class.
    Themultiprocessing.BoundedSempahore,multiprocessing.Condition andmultiprocessing.Queue classes will update.

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

@YvesDupYvesDup requested a review fromgpshead as acode ownerMay 2, 2025 14:26
@YvesDupYvesDup changed the titlegh-133146: Add the older publicget_value method to documantation and refactor code.gh-133146: Add the old publicget_value method to documantation and refactor code.May 2, 2025
@YvesDupYvesDup changed the titlegh-133146: Add the old publicget_value method to documantation and refactor code.gh-133146: Add the old publicget_value method to documentation and refactor code.May 2, 2025
Comment on lines +138 to +142
'''Returns current value of Semaphore.

Raises NotImplementedError on Mac OSX
because of broken sem_getvalue().
'''
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

This file has no docstring. Should we remove this one ?

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

@gpsheadgpsheadAwaiting requested review from gpsheadgpshead is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@YvesDup

[8]ページ先頭

©2009-2025 Movatter.jp