Repository navigation
os.rst: Mark os.preadv and os.pwritev as available on Unix - #162381
Merged
Merged
Conversation
Documentation build overview
|
Member
|
Current change looks good to me. However, according to https://github.com/aosp-mirror/platform_bionic/blob/731631f300090436d7f5df80d50b6275c8c60a93/libc/include/sys/uio.h#L73-L74, Android also supports these two functions since API level 24. Since that is also CPython's minimum supported API level, maybe we can add Android here too. |
Contributor
Author
aisk
approved these changes
Nov 21, 2026
os.rst: List os.preadv and os.pwritev as available on macOSos.rst: List os.preadv and os.pwritev as available on Android, macOS
cmaloney
reviewed
Nov 21, 2026
maurycy
commented
Nov 21, 2026
os.rst: List os.preadv and os.pwritev as available on Android, macOSos.rst: Mark os.preadv and os.pwritev as available on Unix
cmaloney
approved these changes
Nov 21, 2026
|
GH-162403 is a backport of this pull request to the 3.15 branch. |
|
GH-162404 is a backport of this pull request to the 3.14 branch. |
cmaloney
pushed a commit
that referenced
this pull request
Nov 22, 2026
cmaloney
pushed a commit
that referenced
this pull request
Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
They're available:
cpython/Modules/posixmodule.c
Line 506 in e0d0f2e
cpython/Modules/posixmodule.c
Lines 19110 to 19124 in e0d0f2e
https://github.com/apple-oss-distributions/xnu/blob/f6217f891ac0bb64f3d375211650a4c1ff8ca1ea/bsd/sys/uio.h#L275-L276
(
macos(10.16)is macOS 11.0.)3.14, 3.15 backport