[Python-checkins] closes bpo-37566: Remove _realsocket from socket.py. (GH-14711)
Benjamin Peterson
webhook-mailer at python.org
Thu Jul 11 22:18:16 EDT 2019
https://github.com/python/cpython/commit/c8e7146de257930ea8d0d4aa74b3a64fcaa79d4b
commit: c8e7146de257930ea8d0d4aa74b3a64fcaa79d4b
branch: master
author: Hai Shi <shihai1992 at gmail.com>
committer: Benjamin Peterson <benjamin at python.org>
date: 2019-07-11T19:17:52-07:00
summary:
closes bpo-37566: Remove _realsocket from socket.py. (GH-14711)
files:
M Lib/socket.py
diff --git a/Lib/socket.py b/Lib/socket.py
index 0dd8ec70e168..3016b03104d4 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -104,8 +104,6 @@ def _intenum_converter(value, enum_klass):
except ValueError:
return value
-_realsocket = socket
-
# WSA error codes
if sys.platform.lower().startswith("win"):
errorTab = {}
More information about the Python-checkins
mailing list