Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision d0a04ff95e5c7f4d6f8bddad52c65aa46b8ee10e authored by R. David Murray on 21 February 2010, 04:48:18 UTC, committed by R. David Murray on 21 February 2010, 04:48:18 UTC
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r78276 | r.david.murray | 2010-02-20 23:39:40 -0500 (Sat, 20 Feb 2010) | 16 lines Merged revisions 78274 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78274 | r.david.murray | 2010-02-20 23:23:00 -0500 (Sat, 20 Feb 2010) | 9 lines 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. ........ ................
1 parent 0e7e9ae
Tip revision: d0a04ff95e5c7f4d6f8bddad52c65aa46b8ee10e authored by R. David Murray on 21 February 2010, 04:48:18 UTC
Merged revisions 78276 via svnmerge from
Merged revisions 78276 via svnmerge from
Tip revision: d0a04ff
File | Mode | Size |
---|---|---|
Demo | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Python | ||
Tools | ||
.bzrignore | -rw-r--r-- | 705 bytes |
.hgignore | -rw-r--r-- | 900 bytes |
.hgtags | -rw-r--r-- | 3.9 KB |
LICENSE | -rw-r--r-- | 14.0 KB |
Makefile.pre.in | -rw-r--r-- | 38.8 KB |
README | -rw-r--r-- | 6.9 KB |
configure | -rwxr-xr-x | 690.2 KB |
configure.in | -rw-r--r-- | 113.3 KB |
install-sh | -rwxr-xr-x | 7.0 KB |
pyconfig.h.in | -rw-r--r-- | 31.5 KB |
runtests.sh | -rwxr-xr-x | 2.1 KB |
setup.py | -rw-r--r-- | 71.2 KB |
Computing file changes ...