]> granicus.if.org Git - python/commit
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)
commit2e78cd9b5ed8a27a38920879b6d3e34d06baa8a3
tree167476f91ebe19f06fc72c3818900e16f523b87c
parent03e667d15ac2ec7409e94e151cc04b2d9dd2005d
parentaddb0be63e82fd99d931c227b07a8f515ad3d181
Merge: #14645: Generator now emits correct linesep for all parts.

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.
Misc/NEWS