Message207020
Sounds like urlopen() is relying on garbage collection to close the socket and connection. Maybe it would be better to explicitly close the socket, even if you do eliminate all the garbage reference cycles.
My test code for Issue 19524 might be useful here. It verifies close() has been called on the HTTP socket. |
|
Date |
User |
Action |
Args |
2013-12-28 02:47:37 | martin.panter | set | recipients:
+ martin.panter, amaury.forgeotdarc, orsenthil, pitrou, kristjan.jonsson, dstanek, serhiy.storchaka |
2013-12-28 02:47:37 | martin.panter | set | messageid: <1388198857.28.0.544495035302.issue7464@psf.upfronthosting.co.za> |
2013-12-28 02:47:37 | martin.panter | link | issue7464 messages |
2013-12-28 02:47:37 | martin.panter | create | |
|