changeset: 5537:d0de5805cbab user: Alex Gaynor date: Sun Aug 31 16:57:21 2014 -0700 files: pep-0476.txt description: PEP 476: Better document the warning mechanism discussed on python-dev diff -r f7f926c75521 -r d0de5805cbab pep-0476.txt --- a/pep-0476.txt Sun Aug 31 12:12:42 2014 -0400 +++ b/pep-0476.txt Sun Aug 31 16:57:21 2014 -0700 @@ -115,6 +115,15 @@ following this PEP will be modified to emit a warning in cases that would raise an Exception in Python 3.5. +Warnings +-------- + +To support this warning, in 3.4.next a new ``verify_mode`` is introduced +``CERT_WARN``, which is equivilant to ``CERT_NONE``, except in cases that would +fail as ``CERT_REQUIRED`` or fail the hostname check emits a warning. In +3.4.next the ``httplib`` module will set this as the ``verify_mode`` if the +default context is used. + Other protocols ===============