commit | 934c88588541141144ce4d013a4ac769c80d62ce | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Thu Feb 20 21:59:38 2014 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Thu Feb 20 21:59:38 2014 +0100 |
tree | 4624f4dbc26c256780e84de8318f7ba5ef76e7e6 | |
parent | d3f8e308286731eda3cb488a008de094f980353d [diff] [blame] |
asyncio: _check_resolved_address() must also accept IPv6 without flow_info and scope_id: (host, port).
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 1615ecb..80df927 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py
@@ -48,7 +48,7 @@ if family == socket.AF_INET: host, port = address elif family == socket.AF_INET6: - host, port, flow_info, scope_id = address + host, port = address[:2] else: return