summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2013-10-02 14:43:22 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2013-10-02 14:43:22 (GMT)
commitfdf239a855c82bc20df157815de947867aa2648e (patch)
tree05995514fc9cbb3283c5bdd2586982baebc3286b /Misc
parent73c6ee00805729919f98d4f2dbe27e16c54b4db2 (diff)
downloadcpython-fdf239a855c82bc20df157815de947867aa2648e.zip
cpython-fdf239a855c82bc20df157815de947867aa2648e.tar.gz
cpython-fdf239a855c82bc20df157815de947867aa2648e.tar.bz2
Close #17839: support bytes-like objects in base64 module
This mostly affected the encodebytes and decodebytes function (which are used by base64_codec) Also added a test to ensure all bytes-bytes codecs can handle memoryview input and tests for handling of multidimensional and non-bytes format input in the modern base64 API.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f7a118c..57901cf 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -20,6 +20,10 @@ Core and Builtins
Library
-------
+- Issue #17839: base64.decodebytes and base64.encodebytes now accept any
+ object that exports a 1 dimensional array of bytes (this means the same
+ is now also true for base64_codec)
+
- Issue #19132: The pprint module now supports compact mode.
- Issue #19137: The pprint module now correctly formats instances of set and