]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private _PyUnicode_AsString() alias (#107021)
authorVictor Stinner <vstinner@python.org>
Sat, 22 Jul 2023 13:15:05 +0000 (15:15 +0200)
committerGitHub <noreply@github.com>
Sat, 22 Jul 2023 13:15:05 +0000 (13:15 +0000)
commit463b56da1265a17e4207f651d6d5835a8d6de2dd
tree6fde62b4d3ed16217a665f06407c2dcd1024ac3b
parent76e20c361c8d6bc20d939d436a1c3d4077a58186
gh-106320: Remove private _PyUnicode_AsString() alias (#107021)

Remove private _PyUnicode_AsString() alias to PyUnicode_AsUTF8(). It
was kept for backward compatibility with Python 3.0 - 3.2.

The PyUnicode_AsUTF8() is available since Python
3.3. The PyUnicode_AsUTF8String() function can be used to keep
compatibility with Python 3.2 and older.
Include/cpython/unicodeobject.h
Misc/NEWS.d/next/C API/2023-07-22-14-40-48.gh-issue-106320.H3u7x4.rst [new file with mode: 0644]