summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-03-07 21:38:03 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-03-07 21:38:03 (GMT)
commite67c6c545b3b102fb84eb9317d8b83fb2ca2ca56 (patch)
tree25bac1df1e48f604fa9b0ef95829fb636cac0ba1 /Misc
parent697e7bacbcd85abc073a4a91eedd396940695faf (diff)
downloadcpython-e67c6c545b3b102fb84eb9317d8b83fb2ca2ca56.zip
cpython-e67c6c545b3b102fb84eb9317d8b83fb2ca2ca56.tar.gz
cpython-e67c6c545b3b102fb84eb9317d8b83fb2ca2ca56.tar.bz2
#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 95dea0a..0c43f46 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -233,6 +233,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.