Author csapuntz
Recipients csapuntz, dugan, janssen
Date 2009-04-30.18:34:35
SpamBayes Score 3.36537e-07
Marked as misclassified No
Message-id <1241116476.91.0.319634344352.issue5238@psf.upfronthosting.co.za>
In-reply-to
Content
I ran into this problem when trying to use wrapsocket with httplib.py
and came up with the same fix.

The problem turns out to be even simpler than a ref counting issue.

In the current tree, the _fileobject constructor is called without the
close = True argument, As a result, _fileobject._close gets set to False
and _fileobject.close() method never propagates the close to
SSLSocket.close(). See line 269 of socket.py.
History
Date User Action Args
2009-04-30 18:34:37csapuntzsetrecipients: + csapuntz, janssen, dugan
2009-04-30 18:34:36csapuntzsetmessageid: <1241116476.91.0.319634344352.issue5238@psf.upfronthosting.co.za>
2009-04-30 18:34:36csapuntzlinkissue5238 messages
2009-04-30 18:34:35csapuntzcreate