8000 bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR by aeros · Pull Request #17311 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR #17311

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
Prev Previous commit
Next Next commit
Remove reuse_address from socket modifiers conditional
  • Loading branch information
aeros committed Dec 3, 2019
commit 55314d85955b58c1f222f8c11474f275ffaf894b
2 changes: 1 addition & 1 deletion Lib/asyncio/base_events.py
7757
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ async def create_datagram_endpoint(self, protocol_factory,
f'A UDP Socket was expected, got {sock!r}')
if (local_addr or remote_addr or
family or proto or flags or
reuse_address or reuse_port or allow_broadcast):
reuse_port or allow_broadcast):
# show the problematic kwargs in exception msg
opts = dict(local_addr=local_addr, remote_addr=remote_addr,
family=family, proto=proto, flags=flags,
Expand Down
0