]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105156: Deprecate the old Py_UNICODE type in C API (#105157)
authorVictor Stinner <vstinner@python.org>
Thu, 1 Jun 2023 06:56:35 +0000 (08:56 +0200)
committerGitHub <noreply@github.com>
Thu, 1 Jun 2023 06:56:35 +0000 (08:56 +0200)
commit8ed705c083e8e5ff37649d998a8b1524ec921519
tree88bdd612236308b4585d851e168c94dc1ddf5bf0
parentf332594dd47947612e1e5d2faf287930552a5110
gh-105156: Deprecate the old Py_UNICODE type in C API (#105157)

Deprecate the old Py_UNICODE and PY_UNICODE_TYPE types in the C API:
use wchar_t instead.

Replace Py_UNICODE with wchar_t in multiple C files.

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Doc/c-api/unicode.rst
Doc/whatsnew/3.13.rst
Include/cpython/unicodeobject.h
Misc/NEWS.d/next/C API/2023-05-31-18-37-57.gh-issue-105156.R4El5V.rst [new file with mode: 0644]
Modules/_io/fileio.c
Modules/_testcapi/getargs.c
Modules/arraymodule.c
Objects/unicodeobject.c
Python/modsupport.c