Skip to main content

applicable_stable_abi

Function applicable_stable_abi 

Source
fn applicable_stable_abi(
    implementation: PythonImplementation,
    version: PythonVersion,
    gil_disabled: bool,
    abi3_version: Option<StableAbiVersion>,
    abi3t_version: Option<StableAbiVersion>,
) -> Option<(StableAbi, PythonVersion)>
Expand description

Selects which stable ABI (kind and minimum version) from the abi3-py3* and abi3t-py3* features (if any) applies to the given interpreter.

Interpreters which cannot target the requested stable ABI (e.g. free-threaded CPython before 3.15) get a version-specific build instead. A bare abi3/abi3t feature request resolves to the interpreter version.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here