summaryrefslogtreecommitdiffstatshomepage
path: root/zephyr
diff options
context:
space:
mode:
authorAlex Robbins <alexdotrobbins@gmail.com>2017-08-04 18:01:35 -0500
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-08-17 09:25:51 +0300
commit0aa1d3f4477f56faf3bfc2891be627b86d87a63b (patch)
tree8cbae419fbe44eaa01f13e1303b3f5182b897882 /zephyr
parentc89254fd0f7f4517163e095f144bfe154f47758a (diff)
downloadmicropython-0aa1d3f4477f56faf3bfc2891be627b86d87a63b.tar.gz
micropython-0aa1d3f4477f56faf3bfc2891be627b86d87a63b.zip
docs/library/ubinascii: Update base64 docs.
This clarifies return values and the handling of invalid (e.g. newline) characters. Encoding conforms to RFC 3548, but decoding does not, as it ignores invalid characters in base64 input. Instead, it conforms to MIME handling of base64 (RFC 2045). Note that CPython doesn't document handling of invalid characters in a2b_base64() docs: https://docs.python.org/3/library/binascii.html#binascii.a2b_base64 , so we specify it more explicitly than it, based on CPython's actual behavior (with which MicroPython now compliant).
Diffstat (limited to 'zephyr')
0 files changed, 0 insertions, 0 deletions