PEP 476: Better document the warning mechanism discussed on python-dev
This commit is contained in:
parent
77a0b8d7e2
commit
dcaa78ee96
|
@ -115,6 +115,15 @@ In order to make this transition as smooth as possible, the next 3.4.x release
|
|||
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
|
||||
===============
|
||||
|
||||
|
|
Loading…
Reference in New Issue