Issue #7143: get_payload used to strip any trailing newline from a
base64 transfer-encoded payload *after* decoding it; it no longer does.
email had a special method in utils, _bdecode, specifically to do this,
so it must have served a purpose at some point, yet it is clearly wrong
per RFC. Fixed with Barry's approval, but no backport. Email package
minor version number is bumped, now version 4.0.1.
Patch by Joaquin Cuenca Abela.
diff --git a/Misc/NEWS b/Misc/NEWS
index b1431a3..1f16de8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,11 @@
Library
-------
+- Issue #7143: get_payload used to strip any trailing newline from a
+ base64 transfer-encoded payload *after* decoding it; it no longer does.
+ This is a behavior change, so email's minor version number is now
+ bumped, to version 4.0.2, for the 2.7 release.
+
Extension Modules
-----------------
@@ -28,6 +33,7 @@
and standard packing.)
+
What's New in Python 2.7 alpha 4?
=================================