Matthew Davis <ubuntu....@mdavis.xyz> added the comment:
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.) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40359> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com