Skip to content

Adding read_into method to asyncio.StreamReader #87262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jakirkham mannequin opened this issue Feb 1, 2021 · 2 comments
Closed

Adding read_into method to asyncio.StreamReader #87262

jakirkham mannequin opened this issue Feb 1, 2021 · 2 comments
Labels
3.10 only security fixes 3.11 only security fixes topic-asyncio type-feature A feature request or enhancement

Comments

@jakirkham
Copy link
Mannequin

jakirkham mannequin commented Feb 1, 2021

BPO 43096
Nosy @asvetlov, @1st1, @jakirkham

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2021-02-01.21:14:14.697>
labels = ['3.11', 'type-feature', '3.10', 'expert-asyncio']
title = 'Adding `read_into` method to `asyncio.StreamReader`'
updated_at = <Date 2021-09-27.19:08:01.710>
user = 'https://github.com/jakirkham'

bugs.python.org fields:

activity = <Date 2021-09-27.19:08:01.710>
actor = 'jakirkham'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['asyncio']
creation = <Date 2021-02-01.21:14:14.697>
creator = 'jakirkham'
dependencies = []
files = []
hgrepos = []
issue_num = 43096
keywords = []
message_count = 1.0
messages = ['386114']
nosy_count = 3.0
nosy_names = ['asvetlov', 'yselivanov', 'jakirkham']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue43096'
versions = ['Python 3.10', 'Python 3.11']

@jakirkham
Copy link
Mannequin Author

jakirkham mannequin commented Feb 1, 2021

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.

@jakirkham jakirkham mannequin added 3.10 only security fixes topic-asyncio type-feature A feature request or enhancement labels Feb 1, 2021
@jakirkham jakirkham mannequin added 3.11 only security fixes labels Sep 27, 2021
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
@ezio-melotti ezio-melotti moved this to Todo in asyncio Jul 17, 2022
@kumaraditya303
Copy link
Contributor

Duplicate of #85477

@kumaraditya303 kumaraditya303 marked this as a duplicate of #85477 Aug 28, 2022
@kumaraditya303 kumaraditya303 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 28, 2022
Repository owner moved this from Todo to Done in asyncio Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.10 only security fixes 3.11 only security fixes topic-asyncio type-feature A feature request or enhancement
Projects
Status: Done
Development

No branches or pull requests

1 participant