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

Appearance settings

bpo-20175: Convert Modules/_multiprocessing to the Argument Clinic#14245

Merged
serhiy-storchaka merged 3 commits into
python:masterpython/cpython:masterfrom
ZackerySpytz:bpo-20175-_multiprocessing-Argument-ClinicZackerySpytz/cpython:bpo-20175-_multiprocessing-Argument-ClinicCopy head branch name to clipboard
Jul 12, 2020
Merged

bpo-20175: Convert Modules/_multiprocessing to the Argument Clinic#14245
serhiy-storchaka merged 3 commits into
python:masterpython/cpython:masterfrom
ZackerySpytz:bpo-20175-_multiprocessing-Argument-ClinicZackerySpytz/cpython:bpo-20175-_multiprocessing-Argument-ClinicCopy head branch name to clipboard

Conversation

@ZackerySpytz

@ZackerySpytz ZackerySpytz commented Jun 19, 2019

Copy link
Copy Markdown
Contributor

Py_END_ALLOW_THREADS

PyBuffer_Release(&buf);
PyBuffer_Release(buf);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is not needed.

Comment thread Modules/_multiprocessing/semaphore.c Outdated
/*[clinic input]
_multiprocessing.SemLock.acquire

block as blocking: int = 1

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
block as blocking: int = 1
block as blocking: bool(accept={int}) = True

Comment thread Modules/_multiprocessing/semaphore.c Outdated
block as blocking: int = 1
timeout as timeout_obj: object = None

acquire the semaphore/lock

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
acquire the semaphore/lock
Acquire the semaphore/lock.

Comment thread Modules/_multiprocessing/semaphore.c Outdated
/*[clinic input]
_multiprocessing.SemLock.release

release the semaphore/lock

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
release the semaphore/lock
Release the semaphore/lock.

Comment thread Modules/_multiprocessing/semaphore.c Outdated
value: int
maxvalue: int
name: str
unlink: int

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
unlink: int
unlink: bool(accept={int})

@bedevere-bot

Copy link
Copy Markdown

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 I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.