-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-20175: Convert Modules/_multiprocessing to the Argument Clinic #14245
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-20175: Convert Modules/_multiprocessing to the Argument Clinic #14245
Conversation
Py_END_ALLOW_THREADS | ||
|
||
PyBuffer_Release(&buf); | ||
PyBuffer_Release(buf); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not needed.
Modules/_multiprocessing/semaphore.c
Outdated
/*[clinic input] | ||
_multiprocessing.SemLock.acquire | ||
|
||
block as blocking: int = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
block as blocking: int = 1 | |
block as blocking: bool(accept={int}) = True |
Modules/_multiprocessing/semaphore.c
Outdated
block as blocking: int = 1 | ||
timeout as timeout_obj: object = None | ||
|
||
acquire the semaphore/lock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
acquire the semaphore/lock | |
Acquire the semaphore/lock. |
Modules/_multiprocessing/semaphore.c
Outdated
/*[clinic input] | ||
_multiprocessing.SemLock.release | ||
|
||
release the semaphore/lock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
release the semaphore/lock | |
Release the semaphore/lock. |
Modules/_multiprocessing/semaphore.c
Outdated
value: int | ||
maxvalue: int | ||
name: str | ||
unlink: int |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unlink: int | |
unlink: bool(accept={int}) |
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 |
…rocessing-Argument-Clinic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
https://bugs.python.org/issue20175