]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39487: Merge duplicated _Py_IDENTIFIER identifiers in C code (GH-18254)
authorHai Shi <shihai1992@gmail.com>
Thu, 30 Jan 2020 23:20:25 +0000 (17:20 -0600)
committerGitHub <noreply@github.com>
Thu, 30 Jan 2020 23:20:25 +0000 (15:20 -0800)
commit46874c26ee1fc752e2e6930efa1d223b2351edb8
treeb4c85470214ac73ec6e4fa9981bb1f0e7b46472e
parentc232c9110cfefa0935cbf158e35e91746a8a9361
bpo-39487: Merge duplicated _Py_IDENTIFIER identifiers in C code (GH-18254)

Moving repetitive `_Py_IDENTIFIER` instances to a global location helps identify them more easily in regards to sub-interpreter support.
12 files changed:
Objects/bytesobject.c
Objects/descrobject.c
Objects/fileobject.c
Objects/iterobject.c
Objects/moduleobject.c
Objects/odictobject.c
Objects/rangeobject.c
Objects/typeobject.c
Python/_warnings.c
Python/ceval.c
Python/errors.c
Python/import.c