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.

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 2022-04-11 14:59 by admin.

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
2022-04-11 14:59:40adminsetgithub: 87262
2021-09-27 19:08:01jakirkhamsetversions: + Python 3.11
2021-02-01 21:14:14jakirkhamcreate