Popa Claudiu <pcmantic...@gmail.com> added the comment: """ CHttp.__init__(self,1,proxy = shared.setts.currentGoogleProxy) self.timeout = shared.setts.cGglHttpTimeout
self.proxy = globShare.currentGoogleProxy[globShare.currentGoogleIndex] if self.proxy: proxy_support = urllib.request.ProxyHandler({'http':self.proxy,'https':self.proxy,'ftp':self.proxy}) else: proxy_support = urllib.request.ProxyHandler({}) #socket.setdefaulttimeout(30) #self._cp = urllib.request.HTTPCookieProcessor(http.cookiejar.CookieJar()) self._cj = http.cookiejar.MozillaCookieJar() self._opener1 = urllib.request.build_opener(proxy_support,self._cp) ..... openedUrl = self._opener1.open(req)""" The script was a crawler that searches for pdf's on internet. One thread printed the untreated exception. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8975> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com