]> granicus.if.org Git - python/commit
Merged revisions 81658 via svnmerge from
authorR. David Murray <rdmurray@bitdance.com>
Wed, 2 Jun 2010 22:11:01 +0000 (22:11 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Wed, 2 Jun 2010 22:11:01 +0000 (22:11 +0000)
commite036af0ce5a564b958381e49c61a91f7a3591d1a
tree90544abfc3edce5e786e44598d411337fb013221
parentb56b50ddd149fd0d81e8b37d38efac60e736da9e
Merged revisions 81658 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81658 | r.david.murray | 2010-06-02 18:03:15 -0400 (Wed, 02 Jun 2010) | 9 lines

  #1368247: make set_charset/MIMEText automatically encode unicode _payload.

  Fixes (mysterious, to the end user) UnicodeErrors when using utf-8 as
  the charset and unicode as the _text argument.  Also makes the way in
  which unicode gets encoded to quoted printable for other charsets more
  sane (it only worked by accident previously).  The _payload now is encoded
  to the charset.output_charset if it is unicode.
........
Doc/library/email.message.rst
Doc/library/email.mime.rst
Lib/email/message.py
Lib/email/test/test_email.py
Misc/NEWS