[issue11605] EMail generator.flatten() disintegrates over non-ascii multipart/alternative

R. David Murray report at bugs.python.org
Sat Mar 19 15:22:53 CET 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

I can reproduce this just using message_from_binary_file and BytesGenerator on your input file, so thanks for attaching the email.  I have a test in the test suite that is *supposed* to test this, but clearly there is a case here that is not being tested.  It looks like there is something about multipart that my code isn't handling.  I'll look in to it.  (I'm very annoyed with myself that I didn't put in a test case for this to start with.)

----------
stage:  -> needs patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11605>
_______________________________________


More information about the Python-bugs-list mailing list