summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-08-09 20:15:28 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-08-09 20:15:28 (GMT)
commitbb17d2b857d33e474f830c4a665f1fa412eb29f1 (patch)
tree6abcd65ca409e435a0a0b4b7184c3a2318402e3e /Misc
parent3f58277382f3e337d225da547bdb26bc555570a4 (diff)
downloadcpython-bb17d2b857d33e474f830c4a665f1fa412eb29f1.zip
cpython-bb17d2b857d33e474f830c4a665f1fa412eb29f1.tar.gz
cpython-bb17d2b857d33e474f830c4a665f1fa412eb29f1.tar.bz2
#18600: add policy to add_string, and as_bytes and __bytes__ methods.
This was triggered by wanting to make the doctest in email.policy.rst pass; as_bytes and __bytes__ are clearly useful now that we have BytesGenerator. Also updated the Message docs to document the policy keyword that was added in 3.3.
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 261402e..b0e392f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -22,6 +22,9 @@ Core and Builtins
Library
-------
+- Issue #18600: Added policy argument to email.message.Message.as_string,
+ and as_bytes and __bytes__ methods to Message.
+
- Issue #18671: Output more information when logging exceptions occur.
- Issue #18621: Prevent the site module's patched builtins from keeping