summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-03-07 21:43:58 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-03-07 21:43:58 (GMT)
commitaddb0be63e82fd99d931c227b07a8f515ad3d181 (patch)
tree94a4f714faf6d318496d8b076c43625516286a10 /Misc
parent0e7ec44aa976dfbf2c8dd0f82078138646052959 (diff)
parente67c6c545b3b102fb84eb9317d8b83fb2ca2ca56 (diff)
downloadcpython-addb0be63e82fd99d931c227b07a8f515ad3d181.zip
cpython-addb0be63e82fd99d931c227b07a8f515ad3d181.tar.gz
cpython-addb0be63e82fd99d931c227b07a8f515ad3d181.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index bbcfcb7..43a38ae 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -193,6 +193,11 @@ Core and Builtins
Library
-------
+- Issue #14645: The email generator classes now produce output using the
+ specified linesep throughout. Previously if the prolog, epilog, or
+ body were stored with a different linesep, that linesep was used. This
+ fix corrects an RFC non-compliance issue with smtplib.send_message.
+
- Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when
the list is being resized concurrently.