MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / compile

Function compile

Lib/py_compile.py:71–129  ·  view source on GitHub ↗

Byte-compile one Python source file to Python bytecode. Arguments: file: source filename cfile: target filename; defaults to source with 'c' or 'o' appended ('c' normally, 'o' in optimizing mode, giving .pyc or .pyo) dfile: purported filename; defaults to source

(file, cfile=None, dfile=None, doraise=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

byte_compileFunction · 0.90
mainFunction · 0.70

Calls 11

PyCompileErrorClass · 0.85
wr_longFunction · 0.85
openFunction · 0.70
filenoMethod · 0.45
statMethod · 0.45
readMethod · 0.45
compileMethod · 0.45
writeMethod · 0.45
dumpMethod · 0.45
flushMethod · 0.45
seekMethod · 0.45

Tested by

no test coverage detected