cpython: 9c7515e29219 (original) (raw)
Mercurial > cpython
changeset 78748:9c7515e29219
Issue #13072: The array module's 'u' format code is now deprecated and will be removed in Python 4.0. [#13072]
Stefan Krah skrah@bytereef.org | |
---|---|
date | Fri, 24 Aug 2012 20:14:12 +0200 |
parents | 88e041f69fc7 |
children | 52aaa9295cc4 |
files | Doc/library/array.rst Doc/whatsnew/3.3.rst Misc/NEWS |
diffstat | 3 files changed, 16 insertions(+), 1 deletions(-)[+] [-] Doc/library/array.rst 7 Doc/whatsnew/3.3.rst 7 Misc/NEWS 3 |
line wrap: on
line diff
--- a/Doc/library/array.rst +++ b/Doc/library/array.rst @@ -47,10 +47,15 @@ defined: Notes: (1)
- The
'u'
type code corresponds to Python's obsolete unicode character (:c:type:Py_UNICODE
which is :c:type:wchar_t
). Depending on the platform, it can be 16 bits or 32 bits. 'u'
will be removed together with the rest of the :c:type:Py_UNICODE
- API. +
- .. deprecated-removed:: 3.3 4.0 +
(2)
The 'q'
and 'Q'
type codes are available only if
the platform C compiler used to build Python supports C :c:type:long long
,
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -1841,6 +1841,13 @@ Encoders:
:c:func:PyUnicode_TransformDecimalToASCII
+Deprecated features
+-------------------
+
+The :mod:array
module's 'u'
format code is now deprecated and will be
+removed in Python 4 together with the rest of the (:c:type:Py_UNICODE
) API.
+
+
Porting to Python 3.3
=====================
--- a/Misc/NEWS +++ b/Misc/NEWS @@ -32,6 +32,9 @@ Core and Builtins Library ------- +- Issue #13072: The array module's 'u' format code is now deprecated and