Message55457
| 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 | <1188444968.67.0.366339586526.issue504152@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| Files | |
|---|---|
| File name | Uploaded |
| rfc822.diff | gvanrossum, 2007-08-30.03:36:08 |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007-08-30 03:36:08 | gvanrossum | set | spambayes_score: 0.380173 -> 0.38017327 recipients: + gvanrossum, loewis, skip.montanaro, barry, richard |
| 2007-08-30 03:36:08 | gvanrossum | set | spambayes_score: 0.380173 -> 0.380173 messageid: <1188444968.67.0.366339586526.issue504152@psf.upfronthosting.co.za> |
| 2007-08-30 03:36:08 | gvanrossum | link | issue504152 messages |
| 2007-08-30 03:36:08 | gvanrossum | create | |