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 barry, jwilk, pl, r.david.murray, terry.reedy, vvl, ysj.ray
Date 2010-08-07.14:32:19
SpamBayes Score 1.984054e-08
Marked as misclassified No
Message-id <1281191542.0.0.370478694479.issue5871@psf.upfronthosting.co.za>
In-reply-to
Content
Yeah, after I posted that suggestion it occurred to me that the newline stuff *is* embedded in the way email5 works, but I hadn't gotten back here to post a followup yet.  I don't like it, but it is what it is.  (I believe the theory is to preserve the formatting of the text that was parsed from an input message...in email6 I'm planning on handling that a different and safer way, albeit at the cost of using extra memory.)

So to fix the issue in email5 I we'd have to make sure there is whitespace following the newlines when *emitting* headers...which could then break roundtripping badly formed emails, which is not likely to be acceptable, and certainly would not be backportable. :(

In other words, it's not obvious to me that we *can* fix this in email5. :( :(

Thanks for working on this, and if you come up with any clever ideas let me know, and I'll do the same :)
History
Date User Action Args
2010-08-07 14:32:22r.david.murraysetrecipients: + r.david.murray, barry, terry.reedy, jwilk, pl, ysj.ray, vvl
2010-08-07 14:32:21r.david.murraysetmessageid: <1281191542.0.0.370478694479.issue5871@psf.upfronthosting.co.za>
2010-08-07 14:32:20r.david.murraylinkissue5871 messages
2010-08-07 14:32:19r.david.murraycreate