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 janssen
Recipients amaury.forgeotdarc, christian.heimes, gvanrossum, janssen
Date 2007-12-10.23:30:55
SpamBayes Score 0.060907412
Marked as misclassified No
Message-id <1197329455.82.0.535751756577.issue1469@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2007-12-10 23:30:56janssensetspambayes_score: 0.0609074 -> 0.060907412
recipients: + janssen, gvanrossum, amaury.forgeotdarc, christian.heimes
2007-12-10 23:30:55janssensetspambayes_score: 0.0609074 -> 0.0609074
messageid: <1197329455.82.0.535751756577.issue1469@psf.upfronthosting.co.za>
2007-12-10 23:30:55janssenlinkissue1469 messages
2007-12-10 23:30:55janssencreate