peps: PEP 476: Better document the warning mechanism discussed on python-dev
http://hg.python.org/peps/rev/d0de5805cbab changeset: 5537:d0de5805cbab user: Alex Gaynor <alex.gaynor@gmail.com> date: Sun Aug 31 16:57:21 2014 -0700 summary: PEP 476: Better document the warning mechanism discussed on python-dev files: pep-0476.txt | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/pep-0476.txt b/pep-0476.txt --- a/pep-0476.txt +++ b/pep-0476.txt @@ -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 =============== -- Repository URL: http://hg.python.org/peps
participants (1)
-
alex.gaynor