threads and urllib
e toffi
etoffi at bigfoot.com
Fri Feb 22 04:14:18 EST 2002
"Andrew Ward" <winelight at spamcop.net> wrote in message news:<nkUc8.19043$kX6.133584 at NewsReader>...
> > self.webpage = urllib.urlopen(self.url).read()
>
> Yes, this can cause Python to hang (thread passim).
>
> It *seems* that using httplib() instead *might* avoid the hang.
>
> Andrew ward
it seems i might be having the same sort of problem...
i am writing a special (http) server using SimpleHTTPServer and when i
try to read from do_POST, it hangs...
any suggestions?
--
etoffi
More information about the Python-list
mailing list