This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients Jeffrey.Kintscher, Jonathan Horn, barry, r.david.murray
Date 2019-05-23.01:39:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558575597.87.0.653236359562.issue36520@roundup.psfhosted.org>
In-reply-to
Content
Nevermind, I was testing with the wrong version of python.  This bug was introduced somewhere after 3.4 :(

>>> from email.message import EmailMessage
>>> m = EmailMessage()
>>> m['Subject'] = 'Hello Wörld! Hello Wörld! Hello Wörld! Hello Wörld!Hello Wörld!'
>>> bytes(m)
b'Subject: Hello =?utf-8?q?W=C3=B6rld!_Hello_W=C3=B6rld!_Hello_W=C3=B6rld!?=\n Hello =?utf-8?=?utf-8?q?q=3FW=3DC3=3DB6rld!Hello=3F=3D_W=C3=B6rld!?=\n\n'
History
Date User Action Args
2019-05-23 01:39:57r.david.murraysetrecipients: + r.david.murray, barry, Jonathan Horn, Jeffrey.Kintscher
2019-05-23 01:39:57r.david.murraysetmessageid: <1558575597.87.0.653236359562.issue36520@roundup.psfhosted.org>
2019-05-23 01:39:57r.david.murraylinkissue36520 messages
2019-05-23 01:39:57r.david.murraycreate