-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-123014: Disable pidfd API on older Android versions #124458
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
Conversation
!buildbot android |
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.
LGTM
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.
Makes sense to me; one note inline about documentation.
@@ -0,0 +1,3 @@ | |||
:func:`os.pidfd_open` and :func:`signal.pidfd_send_signal` are now |
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.
Do these methods need addition annotations in the docs to highlight that they're not available?
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.
Ah right, you can write "Android (API level 31 and newer)" in "Availability" of the modified functions.
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. |
Thanks for making the requested changes! @freakboy3742, @vstinner: please review the changes made to this pull request. |
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.
LGTM - thanks for the doc update!
Sorry, @mhsmith and @vstinner, I could not cleanly backport this to
|
Merged, thanks. Ah. The automated backport to 3.13 failed. @mhsmith: If you want this fix in 3.13, can you try to backport the change manually (using |
GH-124543 is a backport of this pull request to the 3.13 branch. |
Since these system calls may cause a crash, we disable them at build time.