Message207020
| Author |
martin.panter |
| Recipients |
amaury.forgeotdarc, dstanek, kristjan.jonsson, martin.panter, orsenthil, pitrou, serhiy.storchaka |
| Date |
2013年12月28日.02:47:37 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1388198857.28.0.544495035302.issue7464@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|