[New-bugs-announce] [issue17483] In urlopen the check_hostname variable can never be False.

Daniel Wozniak report at bugs.python.org
Tue Mar 19 18:55:31 CET 2013


New submission from Daniel Wozniak:

In the urllib.request.urlopen on line 154 the code path that sets check_hostname to False will never run. I'm not sure what the desired behavior is. If we want to have a way to tell urlopen not to check the hostname for https connections it looks as though there needs to be some re-factoring.

----------
components: Library (Lib)
files: comments.diff
keywords: patch
messages: 184650
nosy: dwoz, giampaolo.rodola, janssen, pitrou
priority: normal
severity: normal
status: open
title: In urlopen the check_hostname variable can never be False.
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file29482/comments.diff

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


More information about the New-bugs-announce mailing list