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 jelie, pitrou, r.david.murray
Date 2010-11-03.02:00:48
SpamBayes Score 1.0135642e-08
Marked as misclassified No
Message-id <1288749652.15.0.548573293094.issue10281@psf.upfronthosting.co.za>
In-reply-to
Content
My conclusion in working on the email package is that only the first space after the ':', if it exists, should be stripped.  That is, even though the RFC (for email) reads as if the space after the colon is part of the value, in practice it is part of the delimiter, but is optional (and almost always present, in email).  Whether additional leading spaces are significant depends on why they are there.  Since they are an unusual case, I would choose to preserve them on the theory that someone might care, and that someone who doesn't care can strip them.
History
Date User Action Args
2010-11-03 02:00:52r.david.murraysetrecipients: + r.david.murray, pitrou, jelie
2010-11-03 02:00:52r.david.murraysetmessageid: <1288749652.15.0.548573293094.issue10281@psf.upfronthosting.co.za>
2010-11-03 02:00:49r.david.murraylinkissue10281 messages
2010-11-03 02:00:48r.david.murraycreate