Bug #978833: Close https sockets by releasing the _ssl object.
diff --git a/Lib/socket.py b/Lib/socket.py
index 4490fc4..45a122f 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -144,6 +144,10 @@
send = recv = recv_into = sendto = recvfrom = recvfrom_into = _dummy
__getattr__ = _dummy
+# Wrapper around platform socket objects. This implements
+# a platform-independent dup() functionality. The
+# implementation currently relies on reference counting
+# to close the underlying socket object.
class _socketobject(object):
__doc__ = _realsocket.__doc__