[issue19509] No SSL match_hostname() in ftp, imap, nntp, pop, smtp modules

Guido van Rossum report at bugs.python.org
Mon Dec 2 23:58:44 CET 2013


Guido van Rossum added the comment:

The asyncio patch looks fine, but I'd like to see a unittest that actually fails (or mocks failing) the hostname check where it is now performed (in wrap_socket() IIUC?), to make sure that the exception is propagated out properly.

----------

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


More information about the Python-bugs-list mailing list