Language Features

PyCodeop

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

Other Methods

.compile_command()Neutral
#
Signature
compile_command(source, filename, symbol)

Compile a command and determine whether it is incomplete.

.CommandCompiler()Neutral
#
Signature
CommandCompiler(...)

Instances of this class have __call__ methods identical in

.Compile()Neutral
#
Signature
Compile(...)

Instances of this class behave much like the built-in compile

Fully-Qualified Names

FQNField
codeopfqns[0]

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

Import

rule.py
import codeop