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 loewis, msladek, r.david.murray, tati_alchueyr
Date 2012-03-14.18:00:11
SpamBayes Score 0.0014547835
Marked as misclassified No
Message-id <1331748012.64.0.643398134778.issue14062@psf.upfronthosting.co.za>
In-reply-to
Content
OK, got it.  When I created BytesParser I turned the 'NL' constant into a class attribute, but in the line that handles Header objects in BytesParser I failed to change NL to self._NL.  So when send_message calls flatten with linesep='\r\n', in that one place it was using \n instead of the correct linesep.

I've got a patch which I will commit shortly.
History
Date User Action Args
2012-03-14 18:00:13r.david.murraysetrecipients: + r.david.murray, loewis, msladek, tati_alchueyr
2012-03-14 18:00:12r.david.murraysetmessageid: <1331748012.64.0.643398134778.issue14062@psf.upfronthosting.co.za>
2012-03-14 18:00:12r.david.murraylinkissue14062 messages
2012-03-14 18:00:11r.david.murraycreate