[New-bugs-announce] [issue41206] behaviour change with EmailMessage.set_content

David Bremner report at bugs.python.org
Fri Jul 3 19:14:58 EDT 2020


New submission from David Bremner <bremner at unb.ca>:

Works in 3.8.3, but not in 3.8.4rc1

from email.message import EmailMessage
msg = EmailMessage()
msg.set_content("")

Apparently now at least one newline is required.

----------
components: email
messages: 372971
nosy: barry, bremner, r.david.murray
priority: normal
severity: normal
status: open
title: behaviour change with EmailMessage.set_content
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41206>
_______________________________________


More information about the New-bugs-announce mailing list