Skip to content

Add ./configure --enable-stackref-debug option. #148721

@corona10

Description

@corona10

While Windows already has a way to enable this, there is currently no clean or supported way to enable Py_STACKREF_DEBUG on Linux and macOS without modifying the codebase directly.

It would be helpful to add a dedicated configuration option for enabling Py_STACKREF_DEBUG on those platforms, and also to add CI coverage for that build configuration. That would make this mode easier to test and help catch related issues earlier.

If I missed an existing way to enable this without modifying the codebase, please let me know.

cc @colesbury @markshannon @Fidget-Spinner

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions