Message132389
| Author | torsten.becker |
|---|---|
| Recipients | barry, r.david.murray, terry.reedy, torsten.becker |
| Date | 2011-03-28.09:56:56 |
| SpamBayes Score | 1.9206045e-05 |
| Marked as misclassified | No |
| Message-id | <1301306217.74.0.881573669965.issue1690608@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I incorporated that change as well. My rationale behind the previous version was to be consistent with how Lib/email/header.py handled this, unfortunately I did not look around in the other classes and didn't think about that kind of compatibility. When formataddr() is called with a object which is not a string and which does not have a header_encode it will raise the following exception now: > AttributeError: 'CharsetMock' object has no attribute 'header_encode' Thank you for your patience, sorry that it took probably more of your time by taking 4 iterations for this patch than if you had just implemented it yourself. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-03-28 09:56:58 | torsten.becker | set | recipients: + torsten.becker, barry, terry.reedy, r.david.murray |
| 2011-03-28 09:56:57 | torsten.becker | set | messageid: <1301306217.74.0.881573669965.issue1690608@psf.upfronthosting.co.za> |
| 2011-03-28 09:56:56 | torsten.becker | link | issue1690608 messages |
| 2011-03-28 09:56:56 | torsten.becker | create | |