MCPcopy Index your code
hub / github.com/python/cpython / read_stable_abi_data

Function read_stable_abi_data

Doc/tools/extensions/c_annotations.py:117–124  ·  view source on GitHub ↗
(stable_abi_file: Path)

Source from the content-addressed store, hash-verified

115
116
117def read_stable_abi_data(stable_abi_file: Path) -> dict[str, StableABIEntry]:
118 stable_abi_data = {}
119 with open(stable_abi_file, encoding="utf8") as fp:
120 for record in csv.DictReader(fp):
121 name = record["name"]
122 stable_abi_data[name] = StableABIEntry(**record)
123
124 return stable_abi_data
125
126
127_VALID_THREADSAFETY_LEVELS = frozenset({

Callers 1

init_annotationsFunction · 0.85

Calls 2

StableABIEntryClass · 0.85
openFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…