summaryrefslogtreecommitdiffstats
path: root/Doc/library/base64.rst
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-02-20 18:30:23 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-02-20 18:30:23 (GMT)
commitea6b4d5f70469071912e81cb29319996cfd990e0 (patch)
tree34f26c94b9e7f07b59483ab2891ba4809acd9ab4 /Doc/library/base64.rst
parent0588eac21852d25c8ab1cac09aec9668bc38df9f (diff)
downloadcpython-ea6b4d5f70469071912e81cb29319996cfd990e0.zip
cpython-ea6b4d5f70469071912e81cb29319996cfd990e0.tar.gz
cpython-ea6b4d5f70469071912e81cb29319996cfd990e0.tar.bz2
Issue #13641: Decoding functions in the base64 module now accept ASCII-only unicode strings.
Patch by Catalin Iacob.
Diffstat (limited to 'Doc/library/base64.rst')
-rw-r--r--Doc/library/base64.rst11
1 files changed, 8 insertions, 3 deletions
diff --git a/Doc/library/base64.rst b/Doc/library/base64.rst
index 06f3ab1..afbedce 100644
--- a/Doc/library/base64.rst
+++ b/Doc/library/base64.rst
@@ -18,9 +18,14 @@ POST request. The encoding algorithm is not the same as the
There are two interfaces provided by this module. The modern interface
supports encoding and decoding ASCII byte string objects using all three
-alphabets. The legacy interface provides for encoding and decoding to and from
-file-like objects as well as byte strings, but only using the Base64 standard
-alphabet.
+alphabets. Additionally, the decoding functions of the modern interface also
+accept Unicode strings containing only ASCII characters. The legacy interface
+provides for encoding and decoding to and from file-like objects as well as
+byte strings, but only using the Base64 standard alphabet.
+
+.. versionchanged:: 3.3
+ ASCII-only Unicode strings are now accepted by the decoding functions of
+ the modern interface.
The modern interface provides: