Language Features

PyImportlib

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

Other Methods

.find_loader()Neutral
#
Signature
find_loader(name, path)

Return the loader for the specified module.

.import_module()Neutral
#
Signature
import_module(name, package)

Import a module.

.invalidate_caches()Neutral
#
Signature
invalidate_caches()

Call the invalidate_caches() method on all meta path finders stored in

.reload()Neutral
#
Signature
reload(module)

Reload the module and return it.

Fully-Qualified Names

FQNField
importlibfqns[0]

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

Import

rule.py
import importlib