From f34517094049170acc311bac30f68fa67f27a301 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Tue, 5 Feb 2019 17:04:40 +0900 Subject: asyncio: use dict instead of OrderedDict (GH-11710) --- Lib/asyncio/base_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index cec47ce..36fe7e0 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py @@ -1187,7 +1187,7 @@ class BaseEventLoop(events.AbstractEventLoop): (local_addr, remote_addr)), ) else: # join address by (family, protocol) - addr_infos = collections.OrderedDict() + addr_infos = {} # Using order preserving dict for idx, addr in ((0, local_addr), (1, remote_addr)): if addr is not None: assert isinstance(addr, tuple) and len(addr) == 2, ( -- cgit v0.12