classification
Title: Adding `read_into` method to `asyncio.StreamReader`
Type: enhancement Stage:
Components: asyncio Versions: Python 3.11, Python 3.10
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, jakirkham, yselivanov
Priority: normal Keywords:

Created on 2021-02-01 21:14 by jakirkham, last changed 2021-09-27 19:08 by jakirkham.

Messages (1)
msg386114 - (view) Author: (jakirkham) Date: 2021-02-01 21:14
To allow reading into a provided buffer without copying, it would be useful to have a `read_into` method on `asyncio.StreamReader`, which takes a buffer supporting the buffer protocol and fills it.
History
Date User Action Args
2021-09-27 19:08:01jakirkhamsetversions: + Python 3.11
2021-02-01 21:14:14jakirkhamcreate