Message269740
In issue #16324, I contributed an improvement so as MIMEText __init__ accept Charset instances, not only encoding strings. The use case is from Django where we customize the Charset.body_encoding before passing it to the MIMEText initialization.
Unfortunately, what I didn't notice when Berker adapted my patch is that the Charset is casted to its string representation for the whole method, while I initially intended to let the unchanged Charset passed to self.set_payload. And the test I suggested was not smart enough to detect that. |
|
Date |
User |
Action |
Args |
2016-07-02 21:13:07 | claudep | set | recipients:
+ claudep, barry, r.david.murray |
2016-07-02 21:13:07 | claudep | set | messageid: <1467493987.65.0.715756200587.issue27445@psf.upfronthosting.co.za> |
2016-07-02 21:13:07 | claudep | link | issue27445 messages |
2016-07-02 21:13:07 | claudep | create | |
|