R. David Murray added the comment: Sorry, I've been having trouble communicating on this ticket. I thought I'd posetd an apology but I don't see it...I wonder where I did post it? Bad morning :(.
Anyway, create_connection was what I was asking for. Reading the docs, I, at least, agree with you, and if it weren't for backward compatibility I'd suggest making the only way to disable host checking be by passing a context with it disabled. But failing that I don't see any reason to force you to specify a hostname if you've already said you don't want to check hostnames. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27391> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com