Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
029780be
Commit
029780be
authored
Aug 24, 2012
by
Stefan Krah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #13072: The array module's 'u' format code is now deprecated and
will be removed in Python 4.0.
parent
8d649ef9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
Doc/library/array.rst
Doc/library/array.rst
+6
-1
Doc/whatsnew/3.3.rst
Doc/whatsnew/3.3.rst
+7
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Doc/library/array.rst
View file @
029780be
...
...
@@ -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`,
...
...
Doc/whatsnew/3.3.rst
View file @
029780be
...
...
@@ -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
=====================
...
...
Misc/NEWS
View file @
029780be
...
...
@@ -32,6 +32,9 @@ Core and Builtins
Library
-------
-
Issue
#
13072
:
The
array
module
's '
u
' format code is now deprecated and
will be removed in Python 4.0.
- Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.
- Issue #15776: Allow pyvenv to work in existing directory with --clean.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment