]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-90868: Add _PyStaticObject_CheckRefcnt() function (#99261)
authorVictor Stinner <vstinner@python.org>
Wed, 9 Nov 2022 07:40:40 +0000 (08:40 +0100)
committerGitHub <noreply@github.com>
Wed, 9 Nov 2022 07:40:40 +0000 (08:40 +0100)
commit0124b5dd28eff7bb80eb7244e97e402a036db13b
treecd97f7b83b57e2115489d81a9813b7b1b3d9a726
parentf7a82cde59b82cb15cbd983ed48c46b5e074631d
gh-90868: Add _PyStaticObject_CheckRefcnt() function (#99261)

Add _PyStaticObject_CheckRefcnt() function to make
_PyStaticObjects_CheckRefcnt() shorter. Use
_PyObject_ASSERT_FAILED_MSG() to log the object causing the fatal
error.
Include/internal/pycore_global_objects_fini_generated.h
Tools/build/generate_global_objects.py