This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients eryksun, paul.moore, socketpair, steve.dower, tim.golden, zach.ware
Date 2021-03-15.22:26:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615847177.21.0.0950680863366.issue27346@roundup.psfhosted.org>
In-reply-to
Content
The need for asynchronous I/O (i.e. FILE_FLAG_OVERLAPPED) with ReadFileScatter() and WriteFileGather() makes them a poor fit for POSIX os.readv() and os.writev(), since we can't open the file with open() or os.open(). Python's socket module opens sockets in asynchronous mode, but ReadFileScatter() and WriteFileGather() don't support sockets, and there are socket-specific alternatives (e.g. WSASend with multiple buffers). If these Windows API functions are supported at all, I expect it will be in _winapi or _overlapped, and only if needed by the standard library.

I'm changing the status of this enhancement request to pending, awaiting feedback from Марк and the core developers.
History
Date User Action Args
2021-03-15 22:26:17eryksunsetrecipients: + eryksun, paul.moore, tim.golden, socketpair, zach.ware, steve.dower
2021-03-15 22:26:17eryksunsetmessageid: <1615847177.21.0.0950680863366.issue27346@roundup.psfhosted.org>
2021-03-15 22:26:17eryksunlinkissue27346 messages
2021-03-15 22:26:17eryksuncreate