[issue27346] Implement os.readv() / os.writev() in Windows port
Eryk Sun
report at bugs.python.org
Mon Mar 15 18:26:17 EDT 2021
Eryk Sun <eryksun at gmail.com> added the comment:
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.
----------
status: open -> pending
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27346>
_______________________________________
More information about the Python-bugs-list
mailing list