summaryrefslogtreecommitdiff
path: root/Tools/c-analyzer
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-12-07 15:56:31 -0700
committerGitHub <noreply@github.com>2022-12-07 15:56:31 -0700
commit91a8e002c21a5388c5152c5a4871b9a2d85f0fc1 (patch)
treee6be380d88efc246ca7b4f864a67fc541a62b861 /Tools/c-analyzer
parentd47ffeb9e35dbc7264ffa12fddaa6e0d3ba767a4 (diff)
downloadcpython-git-91a8e002c21a5388c5152c5a4871b9a2d85f0fc1.tar.gz
gh-81057: Move More Globals to _PyRuntimeState (gh-100092)
https://github.com/python/cpython/issues/81057
Diffstat (limited to 'Tools/c-analyzer')
-rw-r--r--Tools/c-analyzer/cpython/globals-to-fix.tsv9
-rw-r--r--Tools/c-analyzer/cpython/ignored.tsv11
2 files changed, 0 insertions, 20 deletions
diff --git a/Tools/c-analyzer/cpython/globals-to-fix.tsv b/Tools/c-analyzer/cpython/globals-to-fix.tsv
index af5b7eb8ea..5c8164517f 100644
--- a/Tools/c-analyzer/cpython/globals-to-fix.tsv
+++ b/Tools/c-analyzer/cpython/globals-to-fix.tsv
@@ -305,20 +305,12 @@ Objects/sliceobject.c - _Py_EllipsisObject -
##-----------------------
## effectively-const but initialized lazily
-## idempotent
-Python/dtoa.c - p5s -
-Objects/obmalloc.c new_arena debug_stats -
-
## others
Python/perf_trampoline.c - perf_map_file -
-Objects/unicodeobject.c - ucnhash_capi -
##-----------------------
## state
-## local buffer
-Python/suggestions.c levenshtein_distance buffer -
-
## other
Objects/object.c - _Py_RefTotal -
Python/perf_trampoline.c - perf_status -
@@ -398,7 +390,6 @@ Modules/faulthandler.c - old_stack -
##-----------------------
## initialized once
-Modules/_io/bufferedio.c _PyIO_trap_eintr eintr_int -
Modules/posixmodule.c os_dup2_impl dup3_works -
Modules/posixmodule.c - structseq_new -
Modules/posixmodule.c - ticks_per_second -
diff --git a/Tools/c-analyzer/cpython/ignored.tsv b/Tools/c-analyzer/cpython/ignored.tsv
index 128336a997..257823574f 100644
--- a/Tools/c-analyzer/cpython/ignored.tsv
+++ b/Tools/c-analyzer/cpython/ignored.tsv
@@ -87,8 +87,6 @@ Parser/myreadline.c - PyOS_ReadlineFunctionPointer -
Python/initconfig.c - _Py_StandardStreamEncoding -
Python/initconfig.c - _Py_StandardStreamErrors -
-# XXX This only gets cleared by Py_Main().
-Python/initconfig.c - orig_argv -
##-----------------------
## public C-API
@@ -144,15 +142,6 @@ Modules/syslogmodule.c - S_ident_o -
Modules/syslogmodule.c - S_log_open -
##-----------------------
-## *not* tied to init/fini cycle
-
-# These do not ge reset with each init/fini cycle.
-# XXX These should probably be tied to init/fini. Move to _PyRuntimeState?
-
-# special-use diagnistic state
-Parser/pegen.c - memo_statistics -
-
-##-----------------------
## one-off temporary state
# used during runtime init