diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-02-20 18:50:33 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-02-20 18:50:33 (GMT) |
commit | 5743691b878b03352f4473d862c656b3de442bcf (patch) | |
tree | 33afd64e69304e14e76e8d442abc9fcfe8f0429c /Doc | |
parent | aa8a62dcc0351282c418bc7be540b1fff113df43 (diff) | |
parent | c229e6e8ff6de61581f59266dc553f04f2c870c3 (diff) | |
download | cpython-5743691b878b03352f4473d862c656b3de442bcf.zip cpython-5743691b878b03352f4473d862c656b3de442bcf.tar.gz cpython-5743691b878b03352f4473d862c656b3de442bcf.tar.bz2 |
Merged upstream changes.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/base64.rst | 11 | ||||
-rw-r--r-- | Doc/whatsnew/3.3.rst | 14 |
2 files changed, 22 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: diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 8cabab6..20e2914 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -939,6 +939,20 @@ Porting C code :c:func:`PyUnicode_FromFormat()`, your code will automatically take advantage of the new unicode representations. +Building C extensions +--------------------- + +* The range of possible file names for C extensions has been narrowed. + Very rarely used spellings have been suppressed: under POSIX, files + named ``xxxmodule.so``, ``xxxmodule.abi3.so`` and + ``xxxmodule.cpython-*.so`` are no longer recognized as implementing + the ``xxx`` module. If you had been generating such files, you have + to switch to the other spellings (i.e., remove the ``module`` string + from the file names). + + (implemented in :issue:`14040`.) + + Other issues ------------ |