[New-bugs-announce] [issue23754] Add a new os.read_into() function to avoid memory copies

STINNER Victor report at bugs.python.org
Mon Mar 23 22:16:11 CET 2015


New submission from STINNER Victor:

Sockets have a recv_into() method, io.IOBase has a readinto() method, but there is no os.read_into() function. It would avoid memory copies. It would benefit to the Python implementation FileIO (readall() and readinto() methods), see the issue #21859.

----------
components: Library (Lib)
messages: 239069
nosy: haypo
priority: normal
severity: normal
status: open
title: Add a new os.read_into() function to avoid memory copies
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23754>
_______________________________________


More information about the New-bugs-announce mailing list