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 suryak
Recipients barry, r.david.murray, suryak
Date 2014-03-04.11:28:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393932537.77.0.63891488196.issue18886@psf.upfronthosting.co.za>
In-reply-to
Content
Forget about my previous comment.
David Murray:

One possible way to fix this issue is to ignore email.header.Header.encode() on Message values in email._policybase_Compat32._fold() if they come from BytesGenerator and not Generator. We can do this by encoding the value to bytes in email.generator.BytesGenerator._write_headers()

Do you think its a fix? Or even values from ByteGenerators should be formatted using Header.encode()? In that case, I'd look into how it can be done.
History
Date User Action Args
2014-03-04 11:28:57suryaksetrecipients: + suryak, barry, r.david.murray
2014-03-04 11:28:57suryaksetmessageid: <1393932537.77.0.63891488196.issue18886@psf.upfronthosting.co.za>
2014-03-04 11:28:57suryaklinkissue18886 messages
2014-03-04 11:28:57suryakcreate