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

Function _get_default_invalidation_mode

Lib/py_compile.py:72–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70
71
72def _get_default_invalidation_mode():
73 if os.environ.get('SOURCE_DATE_EPOCH'):
74 return PycInvalidationMode.CHECKED_HASH
75 else:
76 return PycInvalidationMode.TIMESTAMP
77
78
79def compile(file, cfile=None, dfile=None, doraise=False, optimize=-1,

Callers 1

compileFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…