summaryrefslogtreecommitdiff
path: root/Include/internal/pycore_global_objects.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-03-06 19:40:09 -0700
committerGitHub <noreply@github.com>2023-03-06 19:40:09 -0700
commit8606697f49dc58ff7e18147401ac65a09c38cf57 (patch)
treedea36ac4b586c474ddb97ab9d25e02490a8b8ab0 /Include/internal/pycore_global_objects.h
parentf9cdeb7b99d408a2e884101ede576952510bcc9b (diff)
downloadcpython-git-8606697f49dc58ff7e18147401ac65a09c38cf57.tar.gz
gh-90110: Fix the c-analyzer Tool (#102483)
Some incompatible changes had gone in, and the "ignore" lists weren't properly undated. This change fixes that. It's necessary prior to enabling test_check_c_globals, which I hope to do soon. Note that this does include moving last_resort_memory_error to PyInterpreterState. https://github.com/python/cpython/issues/90110
Diffstat (limited to 'Include/internal/pycore_global_objects.h')
-rw-r--r--Include/internal/pycore_global_objects.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_global_objects.h b/Include/internal/pycore_global_objects.h
index 30c7c4e3bb..9957da1fc5 100644
--- a/Include/internal/pycore_global_objects.h
+++ b/Include/internal/pycore_global_objects.h
@@ -86,6 +86,7 @@ struct _Py_interp_static_objects {
// hamt_empty is here instead of global because of its weakreflist.
_PyGC_Head_UNUSED _hamt_empty_gc_not_used;
PyHamtObject hamt_empty;
+ PyBaseExceptionObject last_resort_memory_error;
} singletons;
};