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

Function debug_build

Lib/test/test_embed.py:71–74  ·  view source on GitHub ↗
(program)

Source from the content-addressed store, hash-verified

69 STDLIB_INSTALL = None
70
71def debug_build(program):
72 program = os.path.basename(program)
73 name = os.path.splitext(program)[0]
74 return name.casefold().endswith("_d".casefold())
75
76
77def remove_python_envvars():

Callers 2

setUpMethod · 0.85
check_configMethod · 0.85

Calls 4

splitextMethod · 0.80
casefoldMethod · 0.80
basenameMethod · 0.45
endswithMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…