This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nfl
Recipients cameron, chrisl, djc, doko, dpeterson, kxroberto, matb, mihalis68, mjpieters, mwilck, nfl, orsenthil, poeml, vila
Date 2008-06-30.08:49:17
SpamBayes Score 0.134673
Marked as misclassified No
Message-id <1214815759.99.0.839974928144.issue1424152@psf.upfronthosting.co.za>
In-reply-to
Content
> Can you please try this patch on top of the original patch?

It makes an infinite loop:

Traceback (most recent call last):
  File "F:\nfl\proxyhttps\test.py", line 8, in <module>
    response = urllib2.urlopen(req)
  File "C:\Python25\lib\urllib2.py", line 121, in urlopen
    return _opener.open(url, data)
  File "C:\Python25\lib\urllib2.py", line 377, in open
    req = meth(req)
  File "C:\Python25\lib\urllib2.py", line 1037, in do_request_
    scheme, sel = splittype(request.get_selector())
  File "C:\Python25\lib\urllib2.py", line 253, in get_selector
    return self.__r_host
  File "C:\Python25\lib\urllib2.py", line 215, in __getattr__
    return getattr(self, attr)
  File "C:\Python25\lib\urllib2.py", line 215, in __getattr__
    return getattr(self, attr)
  File "C:\Python25\lib\urllib2.py", line 215, in __getattr__
    return getattr(self, attr)
  File "C:\Python25\lib\urllib2.py", line 215, in __getattr__
    return getattr(self, attr)
  File "C:\Python25\lib\urllib2.py", line 215, in __getattr__
    return getattr(self, attr)
...

The test program was:

import urllib2

targeturl = 'https://www.paypal.com/'
proxyhost = 'proxy.xxxxxxxx.hu:3128'

req = urllib2.Request(targeturl)
req.set_proxy(proxyhost, 'https')
response = urllib2.urlopen(req)
print response.info()
History
Date User Action Args
2008-06-30 08:49:20nflsetspambayes_score: 0.134673 -> 0.134673
recipients: + nfl, doko, mjpieters, orsenthil, kxroberto, vila, djc, mwilck, chrisl, mihalis68, dpeterson, poeml, cameron, matb
2008-06-30 08:49:20nflsetspambayes_score: 0.134673 -> 0.134673
messageid: <1214815759.99.0.839974928144.issue1424152@psf.upfronthosting.co.za>
2008-06-30 08:49:18nfllinkissue1424152 messages
2008-06-30 08:49:17nflcreate