[New-bugs-announce] [issue11736] windows installers ssl module / openssl broken for some sites

Mads Kiilerich report at bugs.python.org
Fri Apr 1 14:49:56 CEST 2011


New submission from Mads Kiilerich <mads at kiilerich.com>:

(Probably the same root cause as issue11725 and using the same test case and analysis, but it seems like it isn't just somebody elses problem.)

Expected behaviour:

C:\Python26>python --version

Python 2.6.4


C:\Python26>python -c "import urllib2; urllib2.urlopen('https://www.finratrace.org')"

Traceback (most recent call last):

  File "<string>", line 1, in <module>

  File "C:\Python26\lib\urllib2.py", line 124, in urlopen

    return _opener.open(url, data, timeout)

  File "C:\Python26\lib\urllib2.py", line 395, in open

    response = meth(req, response)

  File "C:\Python26\lib\urllib2.py", line 508, in http_response

    'http', request, response, code, msg, hdrs)

  File "C:\Python26\lib\urllib2.py", line 433, in error

    return self._call_chain(*args)

  File "C:\Python26\lib\urllib2.py", line 367, in _call_chain

    result = func(*args)

  File "C:\Python26\lib\urllib2.py", line 516, in http_error_default

    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

urllib2.HTTPError: HTTP Error 403: Forbidden



but

	

C:\Python26>python --version

Python 2.6.5



C:\Python26>python -c "import urllib2; urllib2.urlopen('https://www.finratrace.org')"
(hangs...)

the same behaviour is seen on all following versions up to 2.7.1.

I guess the Python windows installer started to contain an openssl that changed something?

I think this has caused a number of strange Mercurial bug reports.

----------
components: Windows
messages: 132736
nosy: kiilerix
priority: normal
severity: normal
status: open
title: windows installers ssl module / openssl broken for some sites
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11736>
_______________________________________


More information about the New-bugs-announce mailing list