MCPcopy Create free account
hub / github.com/python/cpython / read_known

Function read_known

Tools/c-analyzer/cpython/_analyzer.py:103–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101
102
103def read_known():
104 if not _KNOWN:
105 # Cache a copy the first time.
106 extracols = None # XXX
107 #extracols = ['unsupported']
108 known = _datafiles.read_known(KNOWN_FILE, extracols, REPO_ROOT)
109 # For now we ignore known.values() (i.e. "extra").
110 types, _ = _datafiles.analyze_known(
111 known,
112 analyze_resolved=analyze_resolved,
113 )
114 _KNOWN.update(types)
115 return _KNOWN.copy()
116
117
118def write_known():

Callers 1

analyzeFunction · 0.70

Calls 2

updateMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…