]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-89653: Use int type for Unicode kind (#92704)
authorVictor Stinner <vstinner@python.org>
Fri, 13 May 2022 10:41:05 +0000 (12:41 +0200)
committerGitHub <noreply@github.com>
Fri, 13 May 2022 10:41:05 +0000 (12:41 +0200)
commitf62ad4f2c4214fdc05cc45c27a5c068553c7942c
tree5c8cf46c3ae7c874ac601f3e18357a1862474fba
parent22a1db378c5c381272362c5b2f68ac78a368e136
gh-89653: Use int type for Unicode kind (#92704)

Use the same type that PyUnicode_FromKindAndData() kind parameter
type (public C API): int.
13 files changed:
Include/cpython/unicodeobject.h
Modules/_csv.c
Modules/_datetimemodule.c
Modules/_decimal/_decimal.c
Modules/_elementtree.c
Modules/_operator.c
Modules/_pickle.c
Modules/pyexpat.c
Objects/bytesobject.c
Objects/longobject.c
Objects/stringlib/localeutil.h
Objects/unicodeobject.c
Python/formatter_unicode.c