Python 3.12 removed the last batch of C functions related to the old Py_UNICODE type. But the type itself is still part of the C API. It is still used in some area of the Python code base where the wchar_t type should be used instead.
I propose to deprecate the Py_UNICODE type and schedule its removal in Python 3.15. This type should not be used since Python 3.3: PEP 393.
Linked PRs
Python 3.12 removed the last batch of C functions related to the old
Py_UNICODEtype. But the type itself is still part of the C API. It is still used in some area of the Python code base where thewchar_ttype should be used instead.I propose to deprecate the
Py_UNICODEtype and schedule its removal in Python 3.15. This type should not be used since Python 3.3: PEP 393.Linked PRs