]> granicus.if.org Git - python/commit
Close #17839: support bytes-like objects in base64 module
authorNick Coghlan <ncoghlan@gmail.com>
Wed, 2 Oct 2013 14:43:22 +0000 (00:43 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Wed, 2 Oct 2013 14:43:22 +0000 (00:43 +1000)
commitfdf239a855c82bc20df157815de947867aa2648e
tree05995514fc9cbb3283c5bdd2586982baebc3286b
parent73c6ee00805729919f98d4f2dbe27e16c54b4db2
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.
Doc/library/base64.rst
Doc/library/codecs.rst
Lib/base64.py
Lib/test/test_base64.py
Lib/test/test_codecs.py
Misc/NEWS