Add ./configure --enable-stackref-debug option.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
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
Linked PRs
- gh-149803
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the existing Windows approach referenced in issue 139727, then inspect CPython's ./configure and CI configuration. Done means Linux and macOS can enable Py_STACKREF_DEBUG through the supported option and CI exercises that build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, ci-cd
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100