Message 58388 - Python tracker
The other leak comes from this code: s = ssl.wrap_socket(socket.socket(), ...) s.connect((SOME BOGUS ADDRESS OR SERVER)) The connect() fails, and the SSLSocket "s"gets dropped on the floor, but never seems to be GC'd, (or the GC never seems to call the __del__ method). Any idea why? Could this be because the base class is a C class?