[issue41206] behaviour change with EmailMessage.set_content

2020-07-03 Thread David Bremner
New submission from David Bremner : 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.murra

[issue6349] email.Maildir cannot roundtrip messages.

2009-06-28 Thread David Bremner
David Bremner added the comment: that seems to fix my test script. Thanks. I guess the bug can be closed? -- ___ Python tracker <http://bugs.python.org/issue6

[issue6349] email.Maildir cannot roundtrip messages.

2009-06-27 Thread David Bremner
David Bremner added the comment: [ 61 pivot ~/config/scripts ] python test.py Traceback (most recent call last): File "test.py", line 11, in mailbox[key]=msg File "/usr/lib/python2.5/mailbox.py", line 293, in __setitem__ temp_key = self.add(message) File

[issue6349] email.Maildir cannot roundtrip messages.

2009-06-27 Thread David Bremner
New submission from David Bremner : if mailbox is an email.Maildir object the following lines cause an exception for me. for key in mailbox.keys(): msg=mailbox[key] mailbox[key]=msg I attach the whole script. I'm happy to send a tar file of the maildir I used to test