diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2018-03-31 17:25:21 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2018-03-31 18:46:32 +0200 |
commit | 46f8901b8cf46769f62b7268117d2e60fc785c00 (patch) | |
tree | 154a2669f1dd13c2632f6387fee1d8931fe4c735 /mitmproxy/net | |
parent | 3c52ed6ee1948a1c4b0fa064fe7313bdfadb8950 (diff) | |
download | mitmproxy-46f8901b8cf46769f62b7268117d2e60fc785c00.tar.gz mitmproxy-46f8901b8cf46769f62b7268117d2e60fc785c00.tar.bz2 mitmproxy-46f8901b8cf46769f62b7268117d2e60fc785c00.zip |
Python 3.5 is dead -- long live Python 3.6!
fixes #2266
Diffstat (limited to 'mitmproxy/net')
-rw-r--r-- | mitmproxy/net/tcp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/net/tcp.py b/mitmproxy/net/tcp.py index 85217794..62783023 100644 --- a/mitmproxy/net/tcp.py +++ b/mitmproxy/net/tcp.py @@ -19,7 +19,7 @@ from mitmproxy.coretypes import basethread socket_fileobject = socket.SocketIO # workaround for https://bugs.python.org/issue29515 -# Python 3.5 and 3.6 for Windows is missing a constant +# Python 3.6 for Windows is missing a constant IPPROTO_IPV6 = getattr(socket, "IPPROTO_IPV6", 41) EINTR = 4 |