New submission from Benjamin Peterson: 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? ---------- messages: 179394 nosy: benjamin.peterson priority: normal severity: normal status: open title: SSL sockets don't give resource warnings type: behavior versions: Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16900> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com