Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address review: Py_UNICODE was removed in 3.16, not Python 4
  • Loading branch information
fedonman committed Aug 28, 2026
commit bd1d78dd2643bd8d07aff2663d661ae9bd6fdfbb
9 changes: 5 additions & 4 deletions Doc/whatsnew/3.3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2265,8 +2265,8 @@ Deprecated Python modules, functions and methods
Deprecated functions and types of the C API
-------------------------------------------

The :c:type:`!Py_UNICODE` has been deprecated by :pep:`393` and will be
removed in Python 4. All functions using this type are deprecated:
The :c:type:`!Py_UNICODE` has been deprecated by :pep:`393` and was
removed in Python 3.16. All functions using this type are deprecated:

Unicode functions and methods using :c:type:`!Py_UNICODE` and
``Py_UNICODE*`` types:
Expand Down Expand Up @@ -2328,8 +2328,9 @@ Encoders:
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.
The :mod:`array` module's ``'u'`` format code is now deprecated and was later
removed in Python 3.16 together with the rest of the (:c:type:`!Py_UNICODE`)
API.


Porting to Python 3.3
Expand Down
Loading