[issue8975] Bug in cookiejar
Popa Claudiu
report at bugs.python.org
Fri Jun 11 19:45:38 CEST 2010
Popa Claudiu <pcmanticore at 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 <report at bugs.python.org>
<http://bugs.python.org/issue8975>
_______________________________________
More information about the Python-bugs-list
mailing list