Antoine Pitrou added the comment: > A few weeks ago I suggested the addition of > ssl.create_default_context() to the stdlib. The patch implements my > proposal. It replaces code in several of modules with one central > function. The patch also removes ssl.wrap_socket() in favor for a > SSLContext object.
Can you call it create_default_client_context() (a bit long) and/or stress that it's for client use? Or will it be ok for server purposes too, i.e. do you promise that it'll never get CERT_REQUIRED by default? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19689> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com