urllib2 spinning CPU on read

John J. Lee jjl at pobox.com
Mon Nov 27 20:19:11 EST 2006


"kdotsky" <kdotsky at gmail.com> writes:

> Hello All,
> I've ran into this problem on several sites where urllib2 will hang
> (using all the CPU) trying to read a page.  I was able to reproduce it
> for one particular site.  I'm using python 2.4
> 
> import urllib2
> url = 'http://www.wautomas.info'
[...]
> Also, where should I go to see if something like this has already been
> reported as a bug?

I didn't try looking at your example, but I think it's likely a bug
both in that site's HTTP server and in httplib.  If it's the same one
I saw, it's already reported, but nobody fixed it yet.

http://python.org/sf/1411097


John



More information about the Python-list mailing list