]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove _PyUnicode_TransformDecimalAndSpaceToASCII() (#106398)
authorVictor Stinner <vstinner@python.org>
Tue, 4 Jul 2023 08:59:09 +0000 (10:59 +0200)
committerGitHub <noreply@github.com>
Tue, 4 Jul 2023 08:59:09 +0000 (08:59 +0000)
commit8a73b57b9b5f6e36dd5a4c279f4d606d9e71a31f
treebccc6274c4eb18732a6062571bb972aae3ff7584
parentec931fc3943df0b94f2e250d7723892f2b3414bd
gh-106320: Remove _PyUnicode_TransformDecimalAndSpaceToASCII() (#106398)

Remove private _PyUnicode_TransformDecimalAndSpaceToASCII() and other
private _PyUnicode C API functions: move them to the internal C API
(pycore_unicodeobject.h). No longer most of these functions.

Replace _testcapi.unicode_transformdecimalandspacetoascii() with
_testinternal._PyUnicode_TransformDecimalAndSpaceToASCII().
Include/cpython/unicodeobject.h
Include/internal/pycore_unicodeobject.h
Lib/test/test_capi/test_unicode.py
Modules/_testcapi/unicode.c
Modules/_testinternalcapi.c
Python/pystrhex.c