[issue13131] FD leak in urllib2

2019-10-24 Thread STINNER Victor
STINNER Victor added the comment: This issue is a duplicate of bpo-12133 which has been fixed in Python 2.7 by: commit c74a6ba2d6c1f331896cf8dacc698b0b88c7e670 Author: Victor Stinner Date: Fri Jun 17 14:06:27 2011 +0200 Issue #12133: AbstractHTTPHandler.do_open() of urllib.request clos

[issue13131] FD leak in urllib2

2011-10-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can you test both the leak and fix (if needed) on 3.2? (I am on Win7). -- nosy: +terry.reedy ___ Python tracker ___ __

[issue13131] FD leak in urllib2

2011-10-08 Thread Ezio Melotti
Ezio Melotti added the comment: Pay attention not to introduce regressions like the one in #12576 while fixing this. I'm not sure there are similar tests for urllib2 -- if not they should be added. -- nosy: +ezio.melotti stage: -> patch review __

[issue13131] FD leak in urllib2

2011-10-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue13131] FD leak in urllib2

2011-10-08 Thread Valery Khamenya
Valery Khamenya added the comment: the problem seems to be fixed with the patch attached. Thanks go to fijal@freenode -- keywords: +patch Added file: http://bugs.python.org/file23348/urllib2.patch ___ Python tracker

[issue13131] FD leak in urllib2

2011-10-08 Thread Valery Khamenya
Valery Khamenya added the comment: by the way, timeout parameter should be set to 0.2 as for my 13Mbit ADSL line. With 0.002 it is not reproducible for my environment -- ___ Python tracker ___

[issue13131] FD leak in urllib2

2011-10-08 Thread Valery Khamenya
New submission from Valery Khamenya : Explanation from dablitz's comment at https://bugs.pypy.org/issue867 : urllib2 in the stdlib leaks fd's if an exception is raised while opening a connection. The issue occurs due to a socket being opened then an exception being raised before an object wit