Language Features

PyCompileall

Python stdlib module — compileall. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.compile_dir()Neutral
#
Signature
compile_dir(dir, maxlevels, ddir, force, rx, quiet, legacy, optimize, workers, invalidation_mode, stripdir, prependdir, limit_sl_dest, hardlink_dupes)

Byte-compile all modules in the given directory tree.

.compile_file()Neutral
#
Signature
compile_file(fullname, ddir, force, rx, quiet, legacy, optimize, invalidation_mode, stripdir, prependdir, limit_sl_dest, hardlink_dupes)

Byte-compile one file.

.compile_path()Neutral
#
Signature
compile_path(skip_curdir, maxlevels, force, quiet, legacy, optimize, invalidation_mode)

Byte-compile all module on sys.path.

.main()Neutral
#
Signature
main()

Script main program.

.Path()Neutral
#
Signature
Path(...)

PurePath subclass that can make system calls.

.partial()Neutral
#
Signature
partial(...)

partial(func, *args, **keywords) - new function with partial application

Fully-Qualified Names

FQNField
compileallfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import compileall