]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105156: Cleanup usage of old Py_UNICODE type (#105158)
authorVictor Stinner <vstinner@python.org>
Thu, 1 Jun 2023 07:18:09 +0000 (09:18 +0200)
committerGitHub <noreply@github.com>
Thu, 1 Jun 2023 07:18:09 +0000 (07:18 +0000)
commit7d07e5891d2843f269fac00dc8847abfe3671765
tree0dca70aca596fddbc634dfd870e358dbdb329007
parent424049cc1117d66dfa86196ee5f694c15b46ac6c
gh-105156: Cleanup usage of old Py_UNICODE type (#105158)

* refcounts.dat:

  * Remove Py_UNICODE functions.
  * Replace Py_UNICODE argument type with wchar_t.

* _PyUnicode_ToLowercase(), _PyUnicode_ToUppercase(),
  _PyUnicode_ToTitlecase() are no longer deprecated in comments.
  It's no longer needed since they now use Py_UCS4 type, rather than
  the deprecated Py_UNICODE type.
* gdb: Remove unused char_width() method.
Doc/data/refcounts.dat
Include/cpython/unicodeobject.h
Objects/stringlib/README.txt
Tools/gdb/libpython.py