summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-08-24 18:14:12 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-08-24 18:14:12 (GMT)
commit029780be09ab5483ac4562d795ea4b4b6d456f44 (patch)
treeb79cc087c93edbe779335dcc0719c0b17fc81f64 /Doc
parent8d649ef9513613b6b9fc413ce64b24e80e7e33c3 (diff)
downloadcpython-029780be09ab5483ac4562d795ea4b4b6d456f44.zip
cpython-029780be09ab5483ac4562d795ea4b4b6d456f44.tar.gz
cpython-029780be09ab5483ac4562d795ea4b4b6d456f44.tar.bz2
Issue #13072: The array module's 'u' format code is now deprecated and
will be removed in Python 4.0.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/array.rst7
-rw-r--r--Doc/whatsnew/3.3.rst7
2 files changed, 13 insertions, 1 deletions
diff --git a/Doc/library/array.rst b/Doc/library/array.rst
index 2eb926c..8f6943a 100644
--- 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 unicode character
+ 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`,
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index 90ce5a6..968e788 100644
--- 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
=====================