]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
#21725: Add RFC 6531 (SMTPUTF8) support to smtpd.
authorR David Murray <rdmurray@bitdance.com>
Sat, 9 Aug 2014 20:40:49 +0000 (16:40 -0400)
committerR David Murray <rdmurray@bitdance.com>
Sat, 9 Aug 2014 20:40:49 +0000 (16:40 -0400)
commit2539e6744b1405404c9e2c02af33381bd349106e
treec0d7b49152de3788e15df46c9560124c6208b6c9
parentae04ba1952fe7610fb93cc127b9ac6fb3782cef4
#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).
Doc/library/smtpd.rst
Doc/whatsnew/3.5.rst
Lib/smtpd.py
Lib/test/mock_socket.py
Lib/test/test_smtpd.py
Misc/NEWS