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 gvanrossum
Recipients barry, gvanrossum, loewis, richard, skip.montanaro
Date 2007-08-30.03:36:08
SpamBayes Score 0.38017327
Marked as misclassified No
Message-id <>
How about this patch? It basically does

  self.dict[headerseen] += line.rstrip()

which should be what the RFC prescribes, maintaining the invariant that
the dict values don't end in whitespace.

I haven't written a test for this behavior.
File name Uploaded
rfc822.diff gvanrossum, 2007-08-30.03:36:08
Date User Action Args
2007-08-30 03:36:08gvanrossumsetspambayes_score: 0.380173 -> 0.38017327
recipients: + gvanrossum, loewis, skip.montanaro, barry, richard
2007-08-30 03:36:08gvanrossumsetspambayes_score: 0.380173 -> 0.380173
messageid: <>
2007-08-30 03:36:08gvanrossumlinkissue504152 messages
2007-08-30 03:36:08gvanrossumcreate