Roundup Robot added the comment:
New changeset 6b0e4c87bf9e by R David Murray in branch 'default':
#22027: Add RFC6531 support to smtplib.
https://hg.python.org/cpython/rev/6b0e4c87bf9e
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
Rewrote the tests to keep all the existing tests working against an unmodified
SimSMTPServer, so that we know backward compatibility is maintained. And as I
said, I changed the tests to reflect that a non-ascii body must be provided as
binary data, which
R. David Murray added the comment:
Coming back to this, I noticed a number of things wrong with the logic that I'm
not sure how I missed before. I had to rewrite pretty much all of the logic.
The good news is the patch is now smaller :)
The new tests are failing, because they are wrong: the
Milan Oberkirch added the comment:
After blindly raising errors for 'SMTPUTF8' without 'BODY=.*' I found out that
'SMTPUTF8' alone is actually perfectly fine (for using international names in
addresses but sending ASCII data). Which means I did a mistake in the smtpd
patch :(
The attached 3rd
Changes by Milan Oberkirch milan...@oberkirch.org:
Added file:
http://bugs.python.org/file36324/smtplib_smtputf8_issue21725-dependentV2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22027
___
Changes by Milan Oberkirch milan...@oberkirch.org:
Removed file:
http://bugs.python.org/file36159/smtpd_remove_deprecated_attrs_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22027
___
Changes by Milan Oberkirch milan...@oberkirch.org:
Added file:
http://bugs.python.org/file36159/smtpd_remove_deprecated_attrs_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22027
___
New submission from Milan Oberkirch:
This patch is related to and depends on issue 21725. I put it here for review,
it can be applied (maybe with small changes) as soon as issue 21725 is fixed.
--
components: email
files: smtplib_smtputf8_issue21725-dependent.patch
keywords: patch