[issue28022] SSL releated deprecation for 3.6

Martin Panter report at bugs.python.org
Sun Sep 11 06:26:18 EDT 2016


Martin Panter added the comment:

New test failure when using -Werror:

======================================================================
ERROR: test_local_bad_hostname (test.test_httplib.HTTPSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/media/disk/home/proj/python/cpython/Lib/test/test_httplib.py", line 1646, in test_local_bad_hostname
    check_hostname=True)
  File "/media/disk/home/proj/python/cpython/Lib/http/client.py", line 1373, in __init__
    DeprecationWarning, 2)
DeprecationWarning: key_file, cert_file and check_hostname are deprecated, use a custom context instead.

----------

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


More information about the Python-bugs-list mailing list