]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39573: Use Py_REFCNT() macro (GH-18388)
authorVictor Stinner <vstinner@python.org>
Thu, 6 Feb 2020 23:38:59 +0000 (00:38 +0100)
committerGitHub <noreply@github.com>
Thu, 6 Feb 2020 23:38:59 +0000 (00:38 +0100)
commita93c51e3a8e15f1a486d11d5b55a64f3381babe0
treea84997f6ca55cb27c92248dc04eda44e01a07a2a
parent446463f8dbce0556be8020914f37089b63bb8ab6
bpo-39573: Use Py_REFCNT() macro (GH-18388)

Replace direct acccess to PyObject.ob_refcnt with usage of the
Py_REFCNT() macro.
Modules/_functoolsmodule.c
Modules/_testcapimodule.c
Objects/enumobject.c
Objects/fileobject.c
Objects/object.c
Objects/tupleobject.c
Objects/typeobject.c
Objects/weakrefobject.c
Python/sysmodule.c