[New-bugs-announce] [issue41305] Add StreamReader.readinto()

Tony report at bugs.python.org
Wed Jul 15 12:16:44 EDT 2020


New submission from Tony <tony.solomonik at gmail.com>:

Add a StreamReader.readinto(buf) function.

Exactly like StreamReader.read() with *n* being equal to the length of buf.

Instead of allocating a new buffer, copy the read buffer into buf.

----------
messages: 373702
nosy: tontinton
priority: normal
severity: normal
status: open
title: Add StreamReader.readinto()

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41305>
_______________________________________


More information about the New-bugs-announce mailing list