summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_runtime.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-12-14 18:53:57 (GMT)
committerGitHub <noreply@github.com>2022-12-14 18:53:57 (GMT)
commitaa8591e9ca9a3e55e96a03c17fa9d3902f0674dc (patch)
tree78cce30e75e22a74f975252ce03cb945fb584a03 /Include/internal/pycore_runtime.h
parent96638538002fc6e209755c06f613b0a59eb91166 (diff)
downloadcpython-aa8591e9ca9a3e55e96a03c17fa9d3902f0674dc.zip
cpython-aa8591e9ca9a3e55e96a03c17fa9d3902f0674dc.tar.gz
cpython-aa8591e9ca9a3e55e96a03c17fa9d3902f0674dc.tar.bz2
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
Diffstat (limited to 'Include/internal/pycore_runtime.h')
-rw-r--r--Include/internal/pycore_runtime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_runtime.h b/Include/internal/pycore_runtime.h
index 92ed459..d100e83 100644
--- a/Include/internal/pycore_runtime.h
+++ b/Include/internal/pycore_runtime.h
@@ -163,7 +163,7 @@ typedef struct pyruntimestate {
/* All the objects that are shared by the runtime's interpreters. */
struct _Py_cached_objects cached_objects;
- struct _Py_global_objects global_objects;
+ struct _Py_static_objects static_objects;
/* The following fields are here to avoid allocation during init.
The data is exposed through _PyRuntimeState pointer fields.