[New-bugs-announce] [issue24211] Add RFC 6532 support to the email library

R. David Murray report at bugs.python.org
Sat May 16 23:19:09 CEST 2015


New submission from R. David Murray:

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.

----------
components: email
files: email_smtputf8.patch
keywords: patch
messages: 243368
nosy: barry, r.david.murray
priority: normal
severity: normal
stage: patch review
status: open
title: Add RFC 6532 support to the email library
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file39396/email_smtputf8.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24211>
_______________________________________


More information about the New-bugs-announce mailing list