Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue31819

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Add sock_recv_into to AbstractEventLoop
Type:enhancementStage:resolved
Components:asyncio, Library (Lib)Versions:Python 3.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: giampaolo.rodola, gvanrossum, pitrou, vstinner, yselivanov
Priority:normalKeywords:patch

Created on2017-10-19 17:37 bypitrou, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 4051mergedpitrou,2017-10-19 17:38
Messages (6)
msg304623 -(view)Author: Antoine Pitrou (pitrou)*(Python committer)Date: 2017-10-19 17:37
As sock_recv() is already exposed, it is a no-brainer to add sock_recv_into(), allowing finer buffer management when people are willing to handle a socket object.
msg304629 -(view)Author: Yury Selivanov (yselivanov)*(Python committer)Date: 2017-10-19 18:05
I'm going to approve this unless there are any objections.
msg304639 -(view)Author: Guido van Rossum (gvanrossum)*(Python committer)Date: 2017-10-19 19:42
SGTM.On Oct 19, 2017 11:05 AM, "Yury Selivanov" <report@bugs.python.org> wrote:>> Yury Selivanov <yselivanov@gmail.com> added the comment:>> I'm going to approve this unless there are any objections.>> ----------> nosy: +gvanrossum>> _______________________________________> Python tracker <report@bugs.python.org>> <https://bugs.python.org/issue31819>> _______________________________________>
msg304640 -(view)Author: Yury Selivanov (yselivanov)*(Python committer)Date: 2017-10-19 19:46
New changeset525f40d231aba2c004619fc7a5207171ed65b0cb by Yury Selivanov (Antoine Pitrou) in branch 'master':bpo-31819: Add AbstractEventLoop.sock_recv_into() (#4051)https://github.com/python/cpython/commit/525f40d231aba2c004619fc7a5207171ed65b0cb
msg304641 -(view)Author: Yury Selivanov (yselivanov)*(Python committer)Date: 2017-10-19 19:47
Merged. Thank you, Antoine!
msg374761 -(view)Author: STINNER Victor (vstinner)*(Python committer)Date: 2020-08-03 22:30
Follow-up issue,bpo-41467: asyncio: recv_into() must not return b'' if the socket/pipe is closed.
History
DateUserActionArgs
2022-04-11 14:58:53adminsetgithub: 76000
2020-08-05 00:10:19vstinnersetnosy: +giampaolo.rodola
2020-08-03 22:30:13vstinnersetnosy: -giampaolo.rodola
messages: +msg374761
2017-10-19 19:47:17yselivanovsetstatus: open -> closed
resolution: fixed
messages: +msg304641

stage: patch review -> resolved
2017-10-19 19:46:42yselivanovsetmessages: +msg304640
2017-10-19 19:42:38gvanrossumsetmessages: +msg304639
2017-10-19 18:05:30yselivanovsetnosy: +gvanrossum
messages: +msg304629
2017-10-19 17:38:43pitrousetkeywords: +patch
stage: patch review
pull_requests: +pull_request4020
2017-10-19 17:37:49pitroucreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp