From aae25833dcd289a53a5c41680a2de451b7d8cbd3 Mon Sep 17 00:00:00 2001 From: R David Murray Date: Sat, 29 Sep 2012 09:49:05 -0400 Subject: [PATCH 1/3] Document the addition of 'quote' to shlex in What's New. --- Doc/whatsnew/3.3.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index b0e3885042a..1c6349d6f74 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -1466,6 +1466,15 @@ sched :issue:`13245`) +shlex +----- + +* The previously undocumented helper function ``quote`` from the + :mod:`pipes` modules has been moved to the :mod:`shlex` module and + documented. :func:`~shlex.quote` properly escapes all characters in a string + that might be otherwise given special meaning by the shell. + + shutil ------ @@ -1497,7 +1506,6 @@ shutil in :issue:`4489`.) - signal ------ From defdb16a3c9ac55647f2b3ccb471b7e4518a7fa3 Mon Sep 17 00:00:00 2001 From: R David Murray Date: Sat, 29 Sep 2012 10:53:31 -0400 Subject: [PATCH 2/3] Remove visible XXX in What's New. --- Doc/whatsnew/3.3.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 1c6349d6f74..e45f3ebc781 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -1089,7 +1089,7 @@ datetime corresponding to the :class:`~datetime.datetime` instance. * The :meth:`datetime.datetime.strftime` method supports formatting years older than 1000. - * XXX The :meth:`datetime.datetime.astimezone` method can now be + * The :meth:`datetime.datetime.astimezone` method can now be called without arguments to convert datetime instance to the system timezone. From 1764c80925795b6f059e961c5a352c5ece5a7fff Mon Sep 17 00:00:00 2001 From: R David Murray Date: Sat, 29 Sep 2012 11:42:36 -0400 Subject: [PATCH 3/3] Add smtpd changes to whatsnew, and integrate 'other' section. Also made the smtplib markup consistent with the rest of the markup. --- Doc/whatsnew/3.3.rst | 41 ++++++++++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index e45f3ebc781..8bb0ded849e 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -1528,14 +1528,27 @@ signal * :func:`signal.signal` and :func:`signal.siginterrupt` raise an OSError, 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 ------- -The :class:`~smtplib.SMTP_SSL` constructor and the :meth:`~smtplib.SMTP.starttls` -method now accept an SSLContext parameter to control parameters of the secure -channel. +* The :class:`~smtplib.SMTP_SSL` constructor and the :meth:`~smtplib.SMTP.starttls` + method now accept an SSLContext parameter to control parameters of the secure + channel. -(Contributed by Kasun Herath in :issue:`8809`) + (Contributed by Kasun Herath in :issue:`8809`) socket @@ -1996,14 +2009,16 @@ Building C extensions (implemented in :issue:`14040`.) -Other issues ------------- +Command Line Switch Changes +--------------------------- -.. Issue #11591: When :program:`python` was started with :option:`-S`, - ``import site`` will not add site-specific paths to the module search - paths. In previous versions, it did. See changeset for doc changes in - various files. Contributed by Carl Meyer with editions by Éric Araujo. +* The -Q command-line flag and related artifacts have been removed. Code + checking sys.flags.division_warning will need updating. -.. Issue #10998: the -Q command-line flag and related artifacts have been - removed. Code checking sys.flags.division_warning will need updating. - Contributed by Éric Araujo. + (:issue:`10998`, contributed by Éric Araujo.) + +* When :program:`python` is started with :option:`-S`, ``import site`` + will no longer add site-specific paths to the module search paths. In + previous versions, it did. + + (:issue:`11591`, contributed by Carl Meyer with editions by Éric Araujo.)