Skip to content

Build fails with Py_STACKREF_DEBUG set. #135125

Open
@markshannon

Description

@markshannon

Bug report

Bug description:

I think this is a relatively recent regression, probably in the last month or so.

Can be reproduced by uncommenting the line:

/ #define Py_STACKREF_DEBUG 1

in pycore_structs.h

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Activity

markshannon

markshannon commented on Jun 6, 2025

@markshannon
MemberAuthor

Bisected to 6dcb0fd

added
interpreter-core(Objects, Python, Grammar, and Parser dirs)
buildThe build process and cross-build
on Jun 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Build fails with `Py_STACKREF_DEBUG` set. · Issue #135125 · python/cpython

      Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

      Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant