diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2007-07-27 18:28:22 (GMT) |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2007-07-27 18:28:22 (GMT) |
| commit | f25e35b9ec2bb87833108c5bb615113a93894dce (patch) | |
| tree | 762243a7b55d327261b43be53d7d9981de8687c0 /Lib/socket.py | |
| parent | ec2ce9bbaeb9d21fe0390fea7dca8e04be526a23 (diff) | |
| download | cpython-f25e35b9ec2bb87833108c5bb615113a93894dce.zip cpython-f25e35b9ec2bb87833108c5bb615113a93894dce.tar.gz cpython-f25e35b9ec2bb87833108c5bb615113a93894dce.tar.bz2 | |
Bug #978833: Close https sockets by releasing the _ssl object.
Diffstat (limited to 'Lib/socket.py')
| -rw-r--r-- | Lib/socket.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ class _closedsocket(object): 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__ |
