urllib2 spinning CPU on read
John J. Lee
jjl at pobox.com
Thu Nov 30 20:47:03 EST 2006
"kdotsky" <kdotsky at gmail.com> writes:
> > 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
>
> Thanks. I tried the example in the link you gave, and it appears to be
> the same behavior.
>
> Do you have any suggestions on how I could avoid this in the meantime?
Yes: read the recent messages on the tracker I linked to, and apply
the fix I suggest there.
John
More information about the Python-list
mailing list