Python stdlib module — py_compile. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.compile()Neutralcompile(file, cfile, dfile, doraise, optimize, invalidation_mode, quiet)
Byte-compile one Python source file to Python bytecode.
.PyCompileError()NeutralPyCompileError(...)
Exception raised when an error occurs while attempting to
| FQN | Field | |
|---|---|---|
| py_compile | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import py_compile