Message268658
Thanks for helping to triage this, Pedro. I think there is a typo in your example: ``email.message_from_binary_file(fp)`` needs to be passed to ``bs.flatten()``.
With the following script I'm also unable to reproduce the issue in Python 3.4+:
import email
import email.generator
import sys
with open('flatten-exception.mail', 'rb') as f:
msg = email.message_from_binary_file(f)
gen = email.generator.BytesGenerator(sys.stdout.buffer)
gen.flatten(msg)
Hans-Peter, could you share a reproducer with us? Thanks! |
|
Date |
User |
Action |
Args |
2016-06-16 11:08:59 | berker.peksag | set | recipients:
+ berker.peksag, barry, frispete, r.david.murray, Pedro Lacerda |
2016-06-16 11:08:59 | berker.peksag | set | messageid: <1466075339.42.0.618198578163.issue27258@psf.upfronthosting.co.za> |
2016-06-16 11:08:59 | berker.peksag | link | issue27258 messages |
2016-06-16 11:08:59 | berker.peksag | create | |
|