cpython/Lib/email
R. David Murray d2d08c6872 Merged revisions 81660 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81660 | r.david.murray | 2010-06-02 21:58:28 -0400 (Wed, 02 Jun 2010) | 25 lines

  Fix Charset.body_encode to encode to output_charset before calling base64mime.

  This means that what gets encoded in base64 is the encoded version of the
  unicode payload.  This bug was revealed by a forward port of the tests from
  Issue 1368247, but the fix was completely different.

  Note that the merge is only of the tests, the doc changes were inappropriate
  since email5 expects unicode, not bytes.  I'm also not convinced that
  quopri works correctly in email5, but that's a different issue.

  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.
  ........
................
2010-06-03 02:05:47 +00:00
..
mime Merged revisions 73623-73624 via svnmerge from 2009-06-28 17:35:48 +00:00
test Merged revisions 81660 via svnmerge from 2010-06-03 02:05:47 +00:00
__init__.py Copying the email package back, despite its failings. 2007-08-30 01:15:14 +00:00
_parseaddr.py Copying the email package back, despite its failings. 2007-08-30 01:15:14 +00:00
base64mime.py Remove nonexisting stuff from __all__. 2009-06-04 09:37:16 +00:00
charset.py Merged revisions 81660 via svnmerge from 2010-06-03 02:05:47 +00:00
encoders.py Merged revisions 79996,80855 via svnmerge from 2010-05-06 01:53:03 +00:00
errors.py Copying the email package back, despite its failings. 2007-08-30 01:15:14 +00:00
feedparser.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
generator.py Merged revisions 78276 via svnmerge from 2010-02-21 04:48:18 +00:00
header.py Make test_email.py completely pass. This is cheating though because the two 2007-08-31 10:55:37 +00:00
iterators.py Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
message.py Merged revisions 80078 via svnmerge from 2010-04-14 19:05:38 +00:00
parser.py Patch for issue 2848, mostly by Humberto Diogenes, with a couple of 2008-06-12 04:06:45 +00:00
quoprimime.py Remove nonexisting stuff from __all__. 2009-06-04 09:37:16 +00:00
utils.py Merged revisions 77389 via svnmerge from 2010-01-09 18:48:46 +00:00