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 matt-davis
Recipients barry, matt-davis, r.david.murray
Date 2020-04-28.04:26:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588048016.55.0.889748686795.issue40359@roundup.psfhosted.org>
In-reply-to
Content
Ah, yes that workaround works. Thanks!

So what's the exact status of this policy? It's called the default policy, but it's not used by default?

If I download the latest version of python, will this be parsed correctly without explicitly setting the policy?

i.e. Is this still something that should be changed in the code?

(Yes, I already use message_from_bytes in my real application. I just used message_from_string in the MWE, because I could only attach one file in this web page, so I embedded the email body as a string in the script.)
History
Date User Action Args
2020-04-28 04:26:56matt-davissetrecipients: + matt-davis, barry, r.david.murray
2020-04-28 04:26:56matt-davissetmessageid: <1588048016.55.0.889748686795.issue40359@roundup.psfhosted.org>
2020-04-28 04:26:56matt-davislinkissue40359 messages
2020-04-28 04:26:56matt-daviscreate