[issue27258] Exception in BytesGenerator.flatten

Pedro Lacerda report at bugs.python.org
Thu Jun 16 02:52:58 EDT 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue27258>
_______________________________________


More information about the Python-bugs-list mailing list