summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-02-08 16:48:20 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-02-08 16:48:20 (GMT)
commit905c8c3d8dfe081d91e399aa5fd93d1659655264 (patch)
tree898bc50c4048cc85caddcd74af36237e0768475e /Misc
parent7c389e2404b97b5e48c02e2735229eef30e3f1cf (diff)
downloadcpython-905c8c3d8dfe081d91e399aa5fd93d1659655264.zip
cpython-905c8c3d8dfe081d91e399aa5fd93d1659655264.tar.gz
cpython-905c8c3d8dfe081d91e399aa5fd93d1659655264.tar.bz2
#19772: Do not mutate message when downcoding to 7bit.
This is a bit of an ugly hack because of the way generator pieces together the output message. The deepcopys aren't too expensive, though, because we know it is only called on messages that are not multiparts, and the payload (the thing that could be large) is an immutable object. Test and preliminary work on patch by Vajrasky Kok.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ae5f83a..cedd4e5 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -48,6 +48,9 @@ Core and Builtins
Library
-------
+- Issue #19772: email.generator no longer mutates the message object when
+ doing a down-transform from 8bit to 7bit CTEs.
+
- Issue #18805: the netmask/hostmask parsing in ipaddress now more reliably
filters out illegal values and correctly allows any valid prefix length.