Staging
v0.8.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f
Revision 1fa911654bf3368e3699592d60e8e4618bc88ea6 authored by R. David Murray on 21 February 2010, 04:30:12 UTC, committed by R. David Murray on 21 February 2010, 04:30:12 UTC
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 4bd4585
History
Tip revision: 550e4673be538d98b6ddf5550b3922539cf5c4b2 authored by Victor Stinner on 08 December 2020, 23:32:54 UTC
bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)
Tip revision: 550e467
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.bzrignore -rw-r--r-- 673 bytes
.hgignore -rw-r--r-- 866 bytes
.hgtags -rw-r--r-- 4.2 KB
LICENSE -rw-r--r-- 13.8 KB
Makefile.pre.in -rw-r--r-- 38.3 KB
README -rw-r--r-- 53.6 KB
configure -rwxr-xr-x 675.0 KB
configure.in -rw-r--r-- 108.7 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 28.9 KB
setup.py -rw-r--r-- 81.3 KB

README

back to top