diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-08-09 20:15:28 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-08-09 20:15:28 (GMT) |
commit | bb17d2b857d33e474f830c4a665f1fa412eb29f1 (patch) | |
tree | 6abcd65ca409e435a0a0b4b7184c3a2318402e3e /Misc | |
parent | 3f58277382f3e337d225da547bdb26bc555570a4 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |