Message86850
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. |
|
Date |
User |
Action |
Args |
2009-04-30 18:34:37 | csapuntz | set | recipients:
+ csapuntz, janssen, dugan |
2009-04-30 18:34:36 | csapuntz | set | messageid: <1241116476.91.0.319634344352.issue5238@psf.upfronthosting.co.za> |
2009-04-30 18:34:36 | csapuntz | link | issue5238 messages |
2009-04-30 18:34:35 | csapuntz | create | |
|