Issue #19784: poplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
diff --git a/Doc/library/poplib.rst b/Doc/library/poplib.rst
index e248d6b..deb49fc 100644
--- a/Doc/library/poplib.rst
+++ b/Doc/library/poplib.rst
@@ -53,6 +53,10 @@
.. versionchanged:: 3.2
*context* parameter added.
+ .. versionchanged:: 3.4
+ The class now supports hostname check with
+ :attr:`SSLContext.check_hostname` and *Server Name Indicator* (see
+ :data:`~ssl.HAS_SNI`).
One exception is defined as an attribute of the :mod:`poplib` module:
@@ -198,6 +202,11 @@
.. versionadded:: 3.4
+ .. versionchanged:: 3.4
+ The method now supports hostname check with
+ :attr:`SSLContext.check_hostname` and *Server Name Indicator* (see
+ :data:`~ssl.HAS_SNI`).
+
Instances of :class:`POP3_SSL` have no additional methods. The interface of this
subclass is identical to its parent.