]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46670: Define all macros for stringlib (GH-31176)
authorVictor Stinner <vstinner@python.org>
Mon, 7 Feb 2022 00:26:58 +0000 (01:26 +0100)
committerGitHub <noreply@github.com>
Mon, 7 Feb 2022 00:26:58 +0000 (01:26 +0100)
commit097f74a5a37e2a8a26d529cede456ede7011b66f
tree9fcb89d8fe4944fea4da359e94d3b8ce16f263aa
parent16f96a4cf9ab1e91e6e8e18232378bc4b42bb796
bpo-46670: Define all macros for stringlib (GH-31176)

bytesobject.c, bytearrayobject.c and unicodeobject.c now define all
macros used by stringlib, to avoid using undefined macros.
Fix "gcc -Wundef" warnings.
Objects/bytearrayobject.c
Objects/bytesobject.c
Objects/stringlib/asciilib.h
Objects/stringlib/join.h
Objects/stringlib/split.h
Objects/stringlib/ucs1lib.h
Objects/stringlib/ucs2lib.h
Objects/stringlib/ucs4lib.h
Objects/stringlib/undef.h
Objects/stringlib/unicodedefs.h