[issue27391] server_hostname should only be required when checking host names

Krzysztof Warunek report at bugs.python.org
Fri Sep 15 15:35:01 EDT 2017


Krzysztof Warunek added the comment:

The case appears in asyncio's create_connection. Actually it's known thing https://github.com/python/cpython/blob/3.6/Lib/asyncio/base_events.py#L699, a workaround mentioned (same as Jim has pointed) is used widely. It seems reasonably at first sight to "fix it", but I consider this requirement (pass '') as a safety check.

----------
nosy: +kwarunek
status: pending -> open

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27391>
_______________________________________


More information about the Python-bugs-list mailing list