Language Features

PySysconfig

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

Other Methods

.expand_makefile_vars()Neutral
#
Signature
expand_makefile_vars(s, vars)

Expand Makefile-style variables -- "${foo}" or "$(foo)" -- in

.get_config_h_filename()Neutral
#
Signature
get_config_h_filename()

Return the path of pyconfig.h.

.get_config_var()Neutral
#
Signature
get_config_var(name)

Return the value of a single variable using the dictionary returned by

.get_config_vars()Neutral
#
Signature
get_config_vars(args)

With no arguments, return a dictionary of all configuration

.get_default_scheme()Neutral
#
Signature
get_default_scheme()

get_default_scheme function.

.get_makefile_filename()Neutral
#
Signature
get_makefile_filename()

Return the path of the Makefile.

.get_path()Neutral
#
Signature
get_path(name, scheme, vars, expand)

Return a path corresponding to the scheme.

.get_path_names()Neutral
#
Signature
get_path_names()

Return a tuple containing the paths names.

.get_paths()Neutral
#
Signature
get_paths(scheme, vars, expand)

Return a mapping containing an install scheme.

.get_platform()Neutral
#
Signature
get_platform()

Return a string that identifies the current platform.

Fully-Qualified Names

FQNField
sysconfigfqns[0]

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

Import

rule.py
import sysconfig