]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-125174: Mark objects as statically allocated. (#127797)
authorMark Shannon <mark@hotpy.org>
Wed, 11 Dec 2024 17:37:38 +0000 (17:37 +0000)
committerGitHub <noreply@github.com>
Wed, 11 Dec 2024 17:37:38 +0000 (17:37 +0000)
commitbc262de06b10a2d119c28bac75060bf00301697a
treeee2cd2b91e8c9d91aa3b2287b7c59db0097a10ec
parentdd9da738ad1d420fabafaded3fe63912b2b17cfb
GH-125174: Mark objects as statically allocated. (#127797)

* Set a bit in the unused part of the refcount on 64 bit machines and the free-threaded build.

* Use the top of the refcount range on 32 bit machines
Include/internal/pycore_object.h
Include/object.h
Include/refcount.h
Lib/test/test_builtin.py
Lib/test/test_capi/test_immortal.py
Modules/_testinternalcapi.c
Objects/object.c