Message179394
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? |
|
Date |
User |
Action |
Args |
2013-01-08 23:17:40 | benjamin.peterson | set | recipients:
+ benjamin.peterson |
2013-01-08 23:17:40 | benjamin.peterson | set | messageid: <1357687060.67.0.213189094158.issue16900@psf.upfronthosting.co.za> |
2013-01-08 23:17:40 | benjamin.peterson | link | issue16900 messages |
2013-01-08 23:17:40 | benjamin.peterson | create | |
|