Skip to content

Commit d8a5092

Browse files
Move more globals to the ignored list.
1 parent 754944f commit d8a5092

File tree

2 files changed

+10
-15
lines changed

2 files changed

+10
-15
lines changed

Tools/c-analyzer/cpython/globals-to-fix.tsv

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -321,20 +321,6 @@ Python/perf_trampoline.c - perf_map_file -
321321
Objects/unicodeobject.c - ucnhash_capi -
322322
Python/import.c - import_lock -
323323

324-
#-----------------------
325-
# unlikely to change after init (or main thread)
326-
327-
# through C-API
328-
Python/frozen.c - PyImport_FrozenModules -
329-
Python/frozen.c - _PyImport_FrozenAliases -
330-
Python/frozen.c - _PyImport_FrozenBootstrap -
331-
Python/frozen.c - _PyImport_FrozenStdlib -
332-
Python/frozen.c - _PyImport_FrozenTest -
333-
Python/preconfig.c - Py_FileSystemDefaultEncoding -
334-
Python/preconfig.c - Py_HasFileSystemDefaultEncoding -
335-
Python/preconfig.c - Py_FileSystemDefaultEncodeErrors -
336-
Python/preconfig.c - _Py_HasFileSystemDefaultEncodeErrors -
337-
338324
#-----------------------
339325
# state
340326

Tools/c-analyzer/cpython/ignored.tsv

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Python/initconfig.c - Py_LegacyWindowsStdioFlag -
3333
#-----------------------
3434
# effectively const, initialized before init
3535

36+
Python/frozen.c - PyImport_FrozenModules -
3637
Python/import.c - inittab_copy -
3738
Python/import.c - PyImport_Inittab -
3839

@@ -49,6 +50,10 @@ Python/fileutils.c - force_ascii -
4950
Python/fileutils.c set_inheritable ioctl_works -
5051
Python/import.c import_find_and_load header -
5152
Python/initconfig.c - orig_argv -
53+
Python/preconfig.c - Py_FileSystemDefaultEncoding -
54+
Python/preconfig.c - Py_HasFileSystemDefaultEncoding -
55+
Python/preconfig.c - Py_FileSystemDefaultEncodeErrors -
56+
Python/preconfig.c - _Py_HasFileSystemDefaultEncodeErrors -
5257
Python/pyhash.c - _Py_HashSecret -
5358
Python/pylifecycle.c - runtime_initialized -
5459
Python/sysmodule.c - _preinit_warnoptions -
@@ -554,7 +559,6 @@ Objects/obmalloc.c - _PyMem_Debug -
554559
Objects/obmalloc.c - _PyMem_Raw -
555560
Objects/obmalloc.c - _PyObject -
556561
Objects/obmalloc.c - usedpools -
557-
Python/perf_trampoline.c - _Py_perfmap_callbacks -
558562
Objects/typeobject.c - name_op -
559563
Objects/typeobject.c - slotdefs -
560564
Objects/unicodeobject.c - stripfuncnames -
@@ -579,10 +583,15 @@ Python/frozen.c - aliases -
579583
Python/frozen.c - bootstrap_modules -
580584
Python/frozen.c - stdlib_modules -
581585
Python/frozen.c - test_modules -
586+
Python/frozen.c - _PyImport_FrozenAliases -
587+
Python/frozen.c - _PyImport_FrozenBootstrap -
588+
Python/frozen.c - _PyImport_FrozenStdlib -
589+
Python/frozen.c - _PyImport_FrozenTest -
582590
Python/getopt.c - longopts -
583591
Python/import.c - _PyImport_Inittab -
584592
Python/import.c - _PySys_ImplCacheTag -
585593
Python/opcode_targets.h - opcode_targets -
594+
Python/perf_trampoline.c - _Py_perfmap_callbacks -
586595
Python/pyhash.c - PyHash_Func -
587596
Python/pylifecycle.c - _C_LOCALE_WARNING -
588597
Python/pylifecycle.c - _PyOS_mystrnicmp_hack -

0 commit comments

Comments
 (0)