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

Class MissingDependenciesError

Tools/c-analyzer/c_parser/preprocessor/errors.py:80–93  ·  view source on GitHub ↗

The preprocessor did not have access to all the target's dependencies.

Source from the content-addressed store, hash-verified

78
79
80class MissingDependenciesError(PreprocessorFailure):
81 """The preprocessor did not have access to all the target's dependencies."""
82
83 @classmethod
84 def _msg(cls, missing, **ignored):
85 msg = 'preprocessing failed due to missing dependencies'
86 if missing:
87 msg = f'{msg} ({", ".join(missing)})'
88 return msg
89
90 def __init__(self, filename, missing=None, *args, **kwargs):
91 self.missing = _as_tuple(missing) or None
92
93 super().__init__(filename, *args, **kwargs)
94
95
96class OSMismatchError(MissingDependenciesError):

Callers 1

convert_errorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…