R. David Murray <rdmur...@bitdance.com> added the comment:

Here is a patch.  Three of the tests currently fail due to what appears to be a 
bug in the Header formatting routines.  I'll have to look in to that before 
finishing this issue.

Note that doing str on a message with binary headers can produce overlong 
lines, since str does not limit line widths.  generator.flatten does, though, 
so in that case the lengthened lines are correctly rewrapped.  (Well, as 
correctly as Header rewraps any headers, at least, which is not all that well 
in certain cases).

----------
keywords: +patch
Added file: http://bugs.python.org/file20297/email_unknown-8bit.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10686>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to