diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-08-09 20:40:49 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-08-09 20:40:49 (GMT) |
commit | 2539e6744b1405404c9e2c02af33381bd349106e (patch) | |
tree | c0d7b49152de3788e15df46c9560124c6208b6c9 /Doc/whatsnew/3.5.rst | |
parent | ae04ba1952fe7610fb93cc127b9ac6fb3782cef4 (diff) | |
download | cpython-2539e6744b1405404c9e2c02af33381bd349106e.zip cpython-2539e6744b1405404c9e2c02af33381bd349106e.tar.gz cpython-2539e6744b1405404c9e2c02af33381bd349106e.tar.bz2 |
#21725: Add RFC 6531 (SMTPUTF8) support to smtpd.
Patch by Milan Oberkirch, developed as part of his 2014 GSOC project.
Note that this also fixes a bug in mock_socket ('getpeername' was returning a
simple string instead of the tuple required for IPvX protocols), a bug in
DebugServer with respect to handling binary data (should have been fixed when
decode_data was introduced, but wasn't found until this patch was written),
and a long-standing bug in DebugServer (it was printing an extra blank line at
the end of the displayed message text).
Diffstat (limited to 'Doc/whatsnew/3.5.rst')
-rw-r--r-- | Doc/whatsnew/3.5.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index e448f30..28c2447 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -218,6 +218,10 @@ smtpd addresses in the :class:`~smtpd.SMTPServer` constructor, and have it successfully connect. (Contributed by Milan Oberkirch in :issue:`14758`.) +* :mod:`~smtpd.SMTPServer` now supports :rfc:`6531` via the *enable_SMTPUTF8* + constructor argument and a user-provided + :meth:`~smtpd.SMTPServer.process_smtputf8_message` method. + smtplib ------- |