You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
pitrou commentedon Oct 19, 2017
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.
1st1 commentedon Oct 19, 2017
I'm going to approve this unless there are any objections.
gvanrossum commentedon Oct 19, 2017
SGTM.
On Oct 19, 2017 11:05 AM, "Yury Selivanov" <report@bugs.python.org> wrote:
1st1 commentedon Oct 19, 2017
New changeset 525f40d by Yury Selivanov (Antoine Pitrou) in branch 'master':
bpo-31819: Add AbstractEventLoop.sock_recv_into() (bpo-4051)
525f40d
1st1 commentedon Oct 19, 2017
Merged. Thank you, Antoine!
vstinner commentedon Aug 3, 2020
Follow-up issue, bpo-41467: asyncio: recv_into() must not return b'' if the socket/pipe is closed.