Commit 1764c809 authored by R David Murray's avatar R David Murray

Add smtpd changes to whatsnew, and integrate 'other' section.

Also made the smtplib markup consistent with the rest of the markup.
parent defdb16a
...@@ -1528,14 +1528,27 @@ signal ...@@ -1528,14 +1528,27 @@ signal
* :func:`signal.signal` and :func:`signal.siginterrupt` raise an OSError, * :func:`signal.signal` and :func:`signal.siginterrupt` raise an OSError,
instead of a RuntimeError: OSError has an errno attribute. instead of a RuntimeError: OSError has an errno attribute.
smtpd
-----
* The :mod:`smtpd` module now supports :rfc:`5321` (extended SMTP) and :rfc:`1870`
(size extension). Per the standard, these extensions are enabled if and only
if the client initiates the session with an ``EHLO`` command.
(Initial ``ELHO`` support by Alberto Trevino. Size extension by Juhana
Jauhiainen. Substantial additional work on the patch contributed by Michele
Orrù and Dan Boswell. :issue:`8739`)
smtplib smtplib
------- -------
The :class:`~smtplib.SMTP_SSL` constructor and the :meth:`~smtplib.SMTP.starttls` * The :class:`~smtplib.SMTP_SSL` constructor and the :meth:`~smtplib.SMTP.starttls`
method now accept an SSLContext parameter to control parameters of the secure method now accept an SSLContext parameter to control parameters of the secure
channel. channel.
(Contributed by Kasun Herath in :issue:`8809`) (Contributed by Kasun Herath in :issue:`8809`)
socket socket
...@@ -1996,14 +2009,16 @@ Building C extensions ...@@ -1996,14 +2009,16 @@ Building C extensions
(implemented in :issue:`14040`.) (implemented in :issue:`14040`.)
Other issues Command Line Switch Changes
------------ ---------------------------
* The -Q command-line flag and related artifacts have been removed. Code
checking sys.flags.division_warning will need updating.
(:issue:`10998`, contributed by Éric Araujo.)
.. Issue #11591: When :program:`python` was started with :option:`-S`, * When :program:`python` is started with :option:`-S`, ``import site``
``import site`` will not add site-specific paths to the module search will no longer add site-specific paths to the module search paths. In
paths. In previous versions, it did. See changeset for doc changes in previous versions, it did.
various files. Contributed by Carl Meyer with editions by Éric Araujo.
.. Issue #10998: the -Q command-line flag and related artifacts have been (:issue:`11591`, contributed by Carl Meyer with editions by Éric Araujo.)
removed. Code checking sys.flags.division_warning will need updating.
Contributed by Éric Araujo.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment