threads and urllib

Andrew Ward winelight at spamcop.net
Wed Feb 20 16:13:58 EST 2002


>         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






More information about the Python-list mailing list