]> granicus.if.org Git - python/commitdiff
Merge: #14645: Generator now emits correct linesep for all parts.
authorR David Murray <rdmurray@bitdance.com>
Thu, 7 Mar 2013 22:31:21 +0000 (17:31 -0500)
committerR David Murray <rdmurray@bitdance.com>
Thu, 7 Mar 2013 22:31:21 +0000 (17:31 -0500)
Previously the parts of the message retained whatever linesep they had on
read, which means if the messages weren't read in univeral newline mode, the
line endings could well be inconsistent.  In general sending it via smtplib
would result in them getting fixed, but it is better to generate them
correctly to begin with.  Also, the new send_message method of smtplib does
not do the fixup, so that method is producing rfc-invalid output without this
fix.

1  2 
Misc/NEWS

diff --cc Misc/NEWS
Simple merge