gh-151427: add 'not macOS' restriction on availabitity state of 7 functions in os module.#151537
Conversation
os module.os module.
Documentation build overview
26 files changed ·
|
vstinner
left a comment
There was a problem hiding this comment.
LGTM, but I don't have access to macOS to double check.
|
Helper to validate on macOS |
ned-deily
left a comment
There was a problem hiding this comment.
Thanks for the PR. It looks OK as far as it goes. But, since we now document iOS availabilities as well as macOS, we should include not iOS on these. At the os module level, iOS is very similar to macOS with some more restrictions. But with a quick check in the iOS simulator, it appears that these seven are also not available on iOS. @freakboy3742, do you agree?
|
Correct - these methods aren't available on iOS, so flagging them as "not iOS" as well would make sense to me. |
|
While checking all |
|
You can update plock() availability documentation in the same PR. |
|
I did not add |
|
Thanks @YvesDup for the PR, and @ned-deily for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Thanks @YvesDup for the PR, and @ned-deily for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Thanks @YvesDup for the PR, and @ned-deily for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
GH-151697 is a backport of this pull request to the 3.13 branch. |
|
GH-151698 is a backport of this pull request to the 3.14 branch. |
|
GH-151699 is a backport of this pull request to the 3.15 branch. |
These functions are not available on macOS.
getresgid,setresgidgetresuid,setresuidpipe2posix_fallocateposix_fadviseThese updates should be backport to 3.13, 3.14 and 3.15 versions. The functions were added in 3.2 and 3.3 versions.