Language Features

PyCode

Python stdlib module — code. 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.

.interact()Neutral
#
Signature
interact(banner, readfunc, local, exitmsg)

Closely emulate the interactive Python interpreter.

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

Instances of this class have __call__ methods identical in

.InteractiveConsole()Neutral
#
Signature
InteractiveConsole(...)

Closely emulate the behavior of the interactive Python interpreter.

.InteractiveInterpreter()Neutral
#
Signature
InteractiveInterpreter(...)

Base class for InteractiveConsole.

Fully-Qualified Names

FQNField
codefqns[0]

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

Import

rule.py
import code