diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-20 20:59:38 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-20 20:59:38 (GMT) |
commit | 934c88588541141144ce4d013a4ac769c80d62ce (patch) | |
tree | 4624f4dbc26c256780e84de8318f7ba5ef76e7e6 /Lib/asyncio/base_events.py | |
parent | d3f8e308286731eda3cb488a008de094f980353d (diff) | |
download | cpython-934c88588541141144ce4d013a4ac769c80d62ce.zip cpython-934c88588541141144ce4d013a4ac769c80d62ce.tar.gz cpython-934c88588541141144ce4d013a4ac769c80d62ce.tar.bz2 |
asyncio: _check_resolved_address() must also accept IPv6 without flow_info and
scope_id: (host, port).
Diffstat (limited to 'Lib/asyncio/base_events.py')
-rw-r--r-- | Lib/asyncio/base_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ def _check_resolved_address(sock, address): 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 |