Message248735
Right, it's provisional in 3.4. I'm working on the doc rewrite now (although I suppose there's a chance it won't get accepted for 3.5, I expect it to).
Take a look at https://docs.python.org/3/library/email.policy.html. Basically, if you use EmailMessage instead of Message (and therefore policy.default instead of policy.compat32) header parsing and decoding is handled for you. |
|
Date |
User |
Action |
Args |
2015-08-17 16:10:38 | r.david.murray | set | recipients:
+ r.david.murray, barry, Sebastian Kreft |
2015-08-17 16:10:37 | r.david.murray | set | messageid: <1439827837.96.0.236658945124.issue24797@psf.upfronthosting.co.za> |
2015-08-17 16:10:37 | r.david.murray | link | issue24797 messages |
2015-08-17 16:10:37 | r.david.murray | create | |
|