This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benjamin.peterson
Recipients benjamin.peterson
Date 2013-01-08.23:17:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357687060.67.0.213189094158.issue16900@psf.upfronthosting.co.za>
In-reply-to
Content
Python 3.3.0+ (3.3:ab36d3bb5996+, Jan  8 2013, 17:08:35) 
[GCC 4.5.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>>> del s
__main__:1: ResourceWarning: unclosed <socket.socket object, fd=3, family=2, type=1, proto=0>
>>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>>> import ssl
>>> ssl.wrap_socket(s)
<ssl.SSLSocket object, fd=3, family=2, type=1, proto=0>
>>> del s

We can just remove the __del__ on SSLSocket, right?
History
Date User Action Args
2013-01-08 23:17:40benjamin.petersonsetrecipients: + benjamin.peterson
2013-01-08 23:17:40benjamin.petersonsetmessageid: <1357687060.67.0.213189094158.issue16900@psf.upfronthosting.co.za>
2013-01-08 23:17:40benjamin.petersonlinkissue16900 messages
2013-01-08 23:17:40benjamin.petersoncreate