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

Method compile_dir

Lib/test/test_compileall.py:1008–1010  ·  view source on GitHub ↗
(self, *, dedup=True, optimize=(0, 1, 2), force=False)

Source from the content-addressed store, hash-verified

1006 return script_helper.make_script(self.path, name, code)
1007
1008 def compile_dir(self, *, dedup=True, optimize=(0, 1, 2), force=False):
1009 compileall.compile_dir(self.path, quiet=True, optimize=optimize,
1010 hardlink_dupes=dedup, force=force)
1011
1012 def test_bad_args(self):
1013 # Bad arguments combination, hardlink deduplication make sense

Callers 15

test_disabledMethod · 0.95
test_hardlinkMethod · 0.95
test_only_two_levelsMethod · 0.95
test_recompilationMethod · 0.95
test_importMethod · 0.95
recreation_checkMethod · 0.80
test_compile_filesMethod · 0.80
test_optimizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected