Skip to content

Commit 55b83ab

Browse files
committed
Add TIME_TO_BE_FAIR_NS to c-analyzer/ignored.tsv
Following the recommendation in the c-analyzer traceback: Python/lock.c - TIME_TO_BE_FAIR_NS not supported (typespec (unknown)) [...] If the tool reports an unsupported global variable and it is actually const (and thus supported) then first try fixing the declaration appropriately in the code. If that doesn't work then add the variable to the "should be const" section of Tools/c-analyzer/cpython/ignored.tsv. Not sure how to fix the declaration appropriately, so adding it to the ignore list for now. It is declared as const.
1 parent 6995e92 commit 55b83ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tools/c-analyzer/cpython/ignored.tsv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ Python/optimizer.c - _PyCounterOptimizer_Type -
382382
Python/optimizer.c - _PyUOpExecutor_Type -
383383
Python/optimizer.c - _PyUOpOptimizer_Type -
384384
Python/optimizer.c - _PyOptimizer_Default -
385+
Python/lock.c - TIME_TO_BE_FAIR_NS -
385386

386387
##-----------------------
387388
## test code

0 commit comments

Comments
 (0)