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 kcarnold
Recipients barry, gvanrossum, kcarnold, loewis, richard, skip.montanaro
Date 2008-08-20.20:50:12
SpamBayes Score 7.418996e-06
Marked as misclassified No
Message-id <>
This issue still seems to be present in Python 2.5's email module. line 444-445 says:

# XXX reconsider the joining of folded lines
lhdr = EMPTYSTRING.join(lastvalue)[:-1].rstrip('\r\n')

I think that should be something like:
lhdr = EMPTYSTRING.join(ln.rstrip('\r\n') for ln in lastvalue)[:-1])

The resulting headers still need a fair amount of massaging, though; why
not just use Header instances for the headers?
Date User Action Args
2008-08-20 20:50:13kcarnoldsetrecipients: + kcarnold, gvanrossum, loewis, skip.montanaro, barry, richard
2008-08-20 20:50:13kcarnoldsetmessageid: <>
2008-08-20 20:50:12kcarnoldlinkissue504152 messages
2008-08-20 20:50:12kcarnoldcreate