This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients r.david.murray
Date 2011-01-07.03:31:52
SpamBayes Score 6.9535377e-09
Marked as misclassified No
Message-id <1294371115.69.0.796512899227.issue10686@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2011-01-07 03:31:55r.david.murraysetrecipients: + r.david.murray
2011-01-07 03:31:55r.david.murraysetmessageid: <1294371115.69.0.796512899227.issue10686@psf.upfronthosting.co.za>
2011-01-07 03:31:53r.david.murraylinkissue10686 messages
2011-01-07 03:31:53r.david.murraycreate