]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-90111: Minor Cleanup for Runtime-Global Objects (gh-100254)
authorEric Snow <ericsnowcurrently@gmail.com>
Wed, 14 Dec 2022 18:53:57 +0000 (11:53 -0700)
committerGitHub <noreply@github.com>
Wed, 14 Dec 2022 18:53:57 +0000 (11:53 -0700)
commitaa8591e9ca9a3e55e96a03c17fa9d3902f0674dc
tree78cce30e75e22a74f975252ce03cb945fb584a03
parent96638538002fc6e209755c06f613b0a59eb91166
gh-90111: Minor Cleanup for Runtime-Global Objects (gh-100254)

* move _PyRuntime.global_objects.interned to _PyRuntime.cached_objects.interned_strings (and use _Py_CACHED_OBJECT())
* rename _PyRuntime.global_objects to _PyRuntime.static_objects

(This also relates to gh-96075.)

https://github.com/python/cpython/issues/90111
Include/internal/pycore_global_objects.h
Include/internal/pycore_runtime.h
Include/internal/pycore_runtime_init.h
Objects/unicodeobject.c