Version-Specific Features

Python 3.15 — Stable ABI for free-threaded builds

The new stable ABI targets free-threaded CPython extension binaries. Existing abi3 binaries do not automatically acquire this compatibility. Migration may require new module export hooks and type-data APIs; verify extension build tags and supported runtime configurations. Requires Python 3.15 or the relevant build; example is not executed locally.

Formal Syntax & Structure

python syntaxpython
abi3t

Return Value

Feature-specific

No single return type; see the example and feature description.

Working Example

Example Snippetpython
# Native extension design sketch:# Select abi3t target, audit Limited API calls, build, test with free-threaded CPython.
Python Reference