10000 bpo-46805: Add low level UDP socket functions to asyncio by agronholm · Pull Request #31455 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-46805: Add low level UDP socket functions to asyncio #31455

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

Merged
merged 14 commits into from
Mar 13, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed wrong return value on BrokenPipeError
  • Loading branch information
agronholm committed Mar 11, 2022
commit 7b3c12bced677cb1d3c333746425f5be7b260188
2 changes: 1 addition & 1 deletion Lib/asyncio/windows_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def recvfrom_into(self, conn, buf, flags=0):
try:
ov.WSARecvFromInto(conn.fileno(), buf, flags)
except BrokenPipeError:
return self._result((b'', None))
return self._result((0, None))

def finish_recv(trans, key, ov):
try:
Expand Down
0