diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2016-05-21 20:50:31 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2016-05-21 20:50:31 (GMT) |
commit | 72005f17444edbd1e692ef3801b175c8f23a9973 (patch) | |
tree | b055f1b947d2b67638c9f73cc7fdd4a1a3612667 /Lib/asyncio | |
parent | b227b8b1bb00f340fb1f393b114d046a6ad9a26e (diff) | |
parent | f0200e06f0e45714fbe84c46d7b88943c6d1a58b (diff) | |
download | cpython-72005f17444edbd1e692ef3801b175c8f23a9973.zip cpython-72005f17444edbd1e692ef3801b175c8f23a9973.tar.gz cpython-72005f17444edbd1e692ef3801b175c8f23a9973.tar.bz2 |
Merge 3.5 (asyncio)
Diffstat (limited to 'Lib/asyncio')
-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 23dfef4..cb845d9 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py @@ -86,7 +86,7 @@ if hasattr(socket, 'SOCK_CLOEXEC'): _SOCKET_TYPE_MASK |= socket.SOCK_CLOEXEC -@functools.lru_cache(maxsize=1024) +@functools.lru_cache(maxsize=1024, typed=True) def _ipaddr_info(host, port, family, type, proto): # Try to skip getaddrinfo if "host" is already an IP. Since getaddrinfo # blocks on an exclusive lock on some platforms, users might handle name |