[issue17483] In urlopen the check_hostname variable can never be False.

2013-03-19 Thread Jeff Knupp
Jeff Knupp added the comment: Was this discovered when you were trying "to tell urlopen not to check the hostname for https connections?" If so, that should be reflected in the title so others know what the observable effect is. Referencing specific variables is less useful both for searching

[issue17483] In urlopen the check_hostname variable can never be False.

2013-03-19 Thread Daniel Wozniak
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 t