diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-01-21 23:30:42 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-01-21 23:30:42 (GMT) |
commit | f1e4fdcf16f84fe1b065fb7d65390d9e2724afa9 (patch) | |
tree | 3a0b1fa8ae581d542888827ad745575ae4d39c70 /Doc/whatsnew | |
parent | b772f2e89def5c778b79db07665fb1801e26dc1a (diff) | |
download | cpython-f1e4fdcf16f84fe1b065fb7d65390d9e2724afa9.zip cpython-f1e4fdcf16f84fe1b065fb7d65390d9e2724afa9.tar.gz cpython-f1e4fdcf16f84fe1b065fb7d65390d9e2724afa9.tar.bz2 |
whatsnew: smtpd *map* argument, new ssl functions/methods.
Fleshed out Christian's placeholder for the new ssl methods.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.4.rst | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index a5bbdf0..5d397fe 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -974,6 +974,16 @@ and will be automatically closed at the end of the :keyword:`with` block. (Contributed by Filip Gruszczyński in :issue:`13896`.) +smtpd +----- + +The :class:`~smtpd.SMTPServer` and :class:`~smtpd.SMTPChannel` classes now +accept a *map* keyword argument, which if specified is passed in to +:class:`asynchat.async_chat` as its *map* argument. This allows an application +to avoid affecting the global socket map. (Contributed by Vinay Sajip in +:issue:`11959`.) + + smtplib ------- @@ -1019,10 +1029,19 @@ TLSv1.2 support) have been added; support for these protocols is only available Python is linked with OpenSSL 1.0.1 or later. (Contributed by Michele Orrù and Antoine Pitrou in :issue:`16692`) -New diagnostic functions :func:`~ssl.get_default_verify_paths`, -:meth:`~ssl.SSLContext.cert_store_stats` and -:meth:`~ssl.SSLContext.get_ca_certs` (Contributed by Christian Heimes -in :issue:`18143` and :issue:`18147`) +New function :func:`~ssl.get_default_verify_paths` returns +a named tuple of the paths and environment variables that the +:meth:`~ssl.SSLContext.set_default_verify_paths` method uses to set +OpenSSL's default ``cafile`` and ``capath``. This can be an aid in +debugging default verification issues. (Contributed by Christian Heimes +in :issue:`18143`.) + +:class:`~ssl.SSLContext` has a new method, +:meth:`~ssl.SSLContext.cert_store_stats`, that reports the number of loaded +``X.509`` certs, ``X.509 CA`` certs, and certificate revocation lists (``crl``\ +s), as well as a :meth:`~ssl.SSLContext.get_ca_certs` method that returns a +list of the loaded ``CA`` certificates. (Contributed by Christian Heimes in +and :issue:`18147`.) Add :func:`ssl.enum_cert_store` to retrieve certificates and CRL from Windows' cert store. (Contributed by Christian Heimes in :issue:`17134`.) |