Issue24211
Created on 2015-05-16 21:19 by r.david.murray, last changed 2015-05-17 23:38 by python-dev. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| email_smtputf8.patch | r.david.murray, 2015-05-16 21:34 | review | ||
| Messages (5) | |||
|---|---|---|---|
| msg243368 - (view) | Author: R. David Murray (r.david.murray) * | Date: 2015-05-16 21:19 | |
I could have sworn there was an issue for this already, but I couldn't find it. Attached patch adds a utf8 policy knob and an SMTPUTF8 policy instance, and modifies BytesGenerator and the _header_value_parser to use that policy setting to generate utf8 headers instead of encoding non-ascii using encoded words. (I designed the new code to make it easy to support this RFC, but even I had no idea the patch would be so small. I hope I didn't miss anything.) I will probably commit this tomorrow, since the deadline is looming. |
|||
| msg243403 - (view) | Author: Maciej Szulik (maciej.szulik) * | Date: 2015-05-17 14:51 | |
David one small nit in docs, but otherwise the patch looks good, applies cleanly and works as expected. |
|||
| msg243408 - (view) | Author: Roundup Robot (python-dev) | Date: 2015-05-17 15:29 | |
New changeset 9f0d5e33230f by R David Murray in branch 'default': #24211: Add RFC6532 support to the email library. https://hg.python.org/cpython/rev/9f0d5e33230f |
|||
| msg243412 - (view) | Author: R. David Murray (r.david.murray) * | Date: 2015-05-17 16:17 | |
Thanks, Maciej. |
|||
| msg243432 - (view) | Author: Roundup Robot (python-dev) | Date: 2015-05-17 23:38 | |
New changeset 4a254750ad20 by R David Murray in branch 'default': #24211: Add missing docs for SMTPUTF8 policy instance. https://hg.python.org/cpython/rev/4a254750ad20 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-05-17 23:38:15 | python-dev | set | messages: + msg243432 |
| 2015-05-17 16:17:21 | r.david.murray | set | status: open -> closed resolution: fixed messages: + msg243412 stage: patch review -> resolved |
| 2015-05-17 15:29:53 | python-dev | set | nosy:
+ python-dev messages: + msg243408 |
| 2015-05-17 14:51:38 | maciej.szulik | set | messages: + msg243403 |
| 2015-05-17 14:25:44 | maciej.szulik | set | nosy:
+ maciej.szulik |
| 2015-05-16 21:35:10 | r.david.murray | set | files: - email_smtputf8.patch |
| 2015-05-16 21:34:50 | r.david.murray | set | files: + email_smtputf8.patch |
| 2015-05-16 21:19:09 | r.david.murray | create | |