Skip to content

Commit 2062b07

Browse files
Tweak the ignored list.
1 parent 2844323 commit 2062b07

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

Tools/c-analyzer/cpython/ignored.tsv

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,16 @@ Python/import.c - inittab_copy -
3838
Python/import.c - PyImport_Inittab -
3939

4040
#-----------------------
41-
# effectively const, initialized during init
41+
# effectively const, initialized before/during init
4242

4343
Modules/getbuildinfo.c - buildinfo -
4444
Modules/getbuildinfo.c - initialized -
45+
Python/getversion.c - initialized -
46+
Python/getversion.c - version -
47+
48+
#-----------------------
49+
# effectively const, initialized during init
50+
4551
Objects/floatobject.c - double_format -
4652
Objects/floatobject.c - float_format -
4753
Objects/unicodeobject.c - bloom_linebreak -
@@ -50,8 +56,6 @@ Python/bootstrap_hash.c - _Py_HashSecret_Initialized -
5056
Python/fileutils.c - _Py_open_cloexec_works -
5157
Python/fileutils.c - force_ascii -
5258
Python/fileutils.c set_inheritable ioctl_works -
53-
Python/getversion.c - initialized -
54-
Python/getversion.c - version -
5559
Python/import.c import_find_and_load header -
5660
Python/initconfig.c - orig_argv -
5761
Python/preconfig.c - Py_FileSystemDefaultEncoding -
@@ -72,6 +76,7 @@ Python/initconfig.c - _Py_StandardStreamErrors -
7276

7377
#-----------------------
7478
# effectively const but initialized lazily
79+
# XXX Move them to _PyRuntimeState?
7580

7681
# idempotent
7782
Objects/longobject.c long_from_non_binary_base log_base_BASE -
@@ -83,7 +88,6 @@ Parser/action_helpers.c _PyPegen_dummy_name cache -
8388
# used only in the main thread
8489

8590
# REPL
86-
8791
Parser/myreadline.c - _PyOS_ReadlineLock -
8892
Parser/myreadline.c - _PyOS_ReadlineTState -
8993
Parser/myreadline.c - PyOS_InputHook -
@@ -96,17 +100,15 @@ Python/getopt.c - _PyOS_optind -
96100
Python/getopt.c - opt_ptr -
97101
Python/pathconfig.c - _Py_path_config -
98102

99-
#-----------------------
100-
# others
101103

102-
# XXX The analyzer should have ignored these.
104+
##################################
105+
# The analyzer should have ignored these.
106+
# XXX Fix the analyzer.
107+
103108
Modules/_io/_iomodule.c - _PyIO_Module -
104109
Modules/_sqlite/module.c - _sqlite3module -
105110

106-
107-
##################################
108111
# forward/extern references
109-
# XXX The analyzer should have ignored these.
110112

111113
Include/py_curses.h - PyCurses_API -
112114
Include/pydecimal.h - _decimal_api -

0 commit comments

Comments
 (0)