threads and urllib

Andrew Ward winelight at spamcop.net
Wed Feb 20 22:13:58 CET 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