summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2011-06-18 12:57:28 -0400
committerR David Murray <rdmurray@bitdance.com>2011-06-18 12:57:28 -0400
commite5e366c856b677d568b4ee35194ed9b8c7d4bbb4 (patch)
treea3ae5b34dc67dccb52939e23e0f99c03b8aa2690 /Misc
parent6bdb1769dcd1a95a7f6fa7d98d05e835be931466 (diff)
downloadcpython-git-e5e366c856b677d568b4ee35194ed9b8c7d4bbb4.tar.gz
#11584: make Header and make_header handle binary unknown-8bit input
Analogous to the decode_header fix, this fix makes Header.append and make_header correctly handle the unknown-8bit charset introduced by email5.1, when the input to them is binary strings. Previous to this fix the make_header(decode_header(x)) == x invariant was broken in the face of the unknown-8bit charset.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 9c3f69347e..0ec55b6a9a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -26,7 +26,8 @@ Library
-------
- Issue #11584: email.header.decode_header no longer fails if the header
- passed to it is a Header object.
+ passed to it is a Header object, and Header/make_header no longer fail
+ if given binary unknown-8bit input.
- Issue #11700: mailbox proxy object close methods can now be called multiple
times without error.