Pedro Lacerda added the comment:
I was unable to reproduce this bug using the following snippet
import email, sys
from email.generator import BytesGenerator
from email.mime.text import MIMEText
fp = open('flatten-exception.mail', 'rb')
email.message_from_binary_file(fp)
bs = BytesGenerator(sys.stdout.buffer)
bs.flatten(MIMEText('msg', 'plain', 'utf-8'))
----------
nosy: +Pedro Lacerda
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue27258>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com