Skip to content

Documentation about debug and release build ABI compatibility is misleading #146907

@konstin

Description

@konstin

Documentation

The documentation on the ABI compatibility says:

.. versionchanged:: 3.8
Release builds and debug builds are now ABI compatible: defining the
``Py_DEBUG`` macro no longer implies the ``Py_TRACE_REFS`` macro (see the
:option:`--with-trace-refs` option).

However, this isn't ABI compatibility in the general sense, it's a one-way compatibility: An extension module built against a release build can run on a debug build, but an extension module built against a debug build may use symbols that are only defined in a debug build.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions