Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1764c80

Browse files
committed
Add smtpd changes to whatsnew, and integrate 'other' section.
Also made the smtplib markup consistent with the rest of the markup.
1 parent defdb16 commit 1764c80

1 file changed

Lines changed: 28 additions & 13 deletions

File tree

Doc/whatsnew/3.3.rst

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,14 +1528,27 @@ signal
15281528
* :func:`signal.signal` and :func:`signal.siginterrupt` raise an OSError,
15291529
instead of a RuntimeError: OSError has an errno attribute.
15301530

1531+
1532+
smtpd
1533+
-----
1534+
1535+
* The :mod:`smtpd` module now supports :rfc:`5321` (extended SMTP) and :rfc:`1870`
1536+
(size extension). Per the standard, these extensions are enabled if and only
1537+
if the client initiates the session with an ``EHLO`` command.
1538+
1539+
(Initial ``ELHO`` support by Alberto Trevino. Size extension by Juhana
1540+
Jauhiainen. Substantial additional work on the patch contributed by Michele
1541+
Orrù and Dan Boswell. :issue:`8739`)
1542+
1543+
15311544
smtplib
15321545
-------
15331546

1534-
The :class:`~smtplib.SMTP_SSL` constructor and the :meth:`~smtplib.SMTP.starttls`
1535-
method now accept an SSLContext parameter to control parameters of the secure
1536-
channel.
1547+
* The :class:`~smtplib.SMTP_SSL` constructor and the :meth:`~smtplib.SMTP.starttls`
1548+
method now accept an SSLContext parameter to control parameters of the secure
1549+
channel.
15371550

1538-
(Contributed by Kasun Herath in :issue:`8809`)
1551+
(Contributed by Kasun Herath in :issue:`8809`)
15391552

15401553

15411554
socket
@@ -1996,14 +2009,16 @@ Building C extensions
19962009
(implemented in :issue:`14040`.)
19972010

19982011

1999-
Other issues
2000-
------------
2012+
Command Line Switch Changes
2013+
---------------------------
2014+
2015+
* The -Q command-line flag and related artifacts have been removed. Code
2016+
checking sys.flags.division_warning will need updating.
2017+
2018+
(:issue:`10998`, contributed by Éric Araujo.)
20012019

2002-
.. Issue #11591: When :program:`python` was started with :option:`-S`,
2003-
``import site`` will not add site-specific paths to the module search
2004-
paths. In previous versions, it did. See changeset for doc changes in
2005-
various files. Contributed by Carl Meyer with editions by Éric Araujo.
2020+
* When :program:`python` is started with :option:`-S`, ``import site``
2021+
will no longer add site-specific paths to the module search paths. In
2022+
previous versions, it did.
20062023

2007-
.. Issue #10998: the -Q command-line flag and related artifacts have been
2008-
removed. Code checking sys.flags.division_warning will need updating.
2009-
Contributed by Éric Araujo.
2024+
(:issue:`11591`, contributed by Carl Meyer with editions by Éric Araujo.)

0 commit comments

Comments
 (0)