gh-123014: Disable pidfd API on older Android versions#124458
gh-123014: Disable pidfd API on older Android versions#124458vstinner merged 2 commits intopython:mainfrom
Conversation
|
!buildbot android |
freakboy3742
left a comment
There was a problem hiding this comment.
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.
Do these methods need addition annotations in the docs to highlight that they're not available?
There was a problem hiding this comment.
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. |
freakboy3742
left a comment
There was a problem hiding this comment.
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.