[issue1368247] unicode in email.MIMEText and email/Charset.py

R. David Murray report at bugs.python.org
Tue Jun 1 16:05:44 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

Ah, it's not 100% true that it doesn't change "working" behavior.  Before the patch, the first example in this ticket doesn't raise an error until the as_string call.  After this patch, the error is raised as soon as MIMEText is called without the charset parameter.  Since without the patch the code still fails eventually, I think this is an acceptable behavior change for a bug fix, but it does make me a little nervous :)

Updated patch with doc change to Message.set_charset attached.

----------
Added file: http://bugs.python.org/file17514/mimetext_unicode_input.patch

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


More information about the Python-bugs-list mailing list