cpython/Lib/email
R. David Murray 51f1204590 Issue 7970: When email.Parser.Parser parses a MIME message of type
message/rfc822 it turns it into an object whose body consists of
a list containing a single Message object.  HeaderParser, on the
other hand, just copies the body as a string.  Generator.flatten
has a special handler for the message mime type that expected the
body to be the one item list.  This fails if the message was parsed
by HeaderParser.  So we now check to see if the body is a string
first, and if so just we just emit it.
2010-02-21 04:23:00 +00:00
..
mime Remove stray pychecker directive. 2009-06-28 12:10:18 +00:00
test Issue 7970: When email.Parser.Parser parses a MIME message of type 2010-02-21 04:23:00 +00:00
__init__.py decode_rfc2231(): Be more robust against buggy RFC 2231 encodings. 2006-07-17 23:07:51 +00:00
_parseaddr.py Remove a dict.has_key() usage in email._parseaddr found while running -3. 2008-08-03 23:40:13 +00:00
base64mime.py #2622 Import errors in email.message, from a py2app standalone application. 2009-07-11 14:33:51 +00:00
charset.py Remove Barry's love of deprecated syntax to silence warnings in the email 2008-08-03 23:27:32 +00:00
encoders.py Merge email package 4.0 from the sandbox, including documentation, test cases, 2006-03-18 15:41:53 +00:00
errors.py Merge email package 4.0 from the sandbox, including documentation, test cases, 2006-03-18 15:41:53 +00:00
feedparser.py Merge email package 4.0 from the sandbox, including documentation, test cases, 2006-03-18 15:41:53 +00:00
generator.py Issue 7970: When email.Parser.Parser parses a MIME message of type 2010-02-21 04:23:00 +00:00
header.py #2622 Import errors in email.message, from a py2app standalone application. 2009-07-11 14:33:51 +00:00
iterators.py Merge email package 4.0 from the sandbox, including documentation, test cases, 2006-03-18 15:41:53 +00:00
message.py replace has_key with 'in' operator 2009-10-09 22:15:50 +00:00
parser.py Merge email package 4.0 from the sandbox, including documentation, test cases, 2006-03-18 15:41:53 +00:00
quoprimime.py #2622 Import errors in email.message, from a py2app standalone application. 2009-07-11 14:33:51 +00:00
utils.py More yearly updates. 2010-01-01 13:07:05 +00:00