python / python/cpython

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

オープン
#148,721 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

build type-feature
主要言語
Python
スター
77.2k
フォーク
35.9k
PR マージ指標
PR 指標を取得中

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

issue 139727で参照されている既存のWindows向けアプローチから始め、次にCPythonの./configureとCI設定を調査します。LinuxとmacOSがサポートされているオプションを通じてPy_STACKREF_DEBUGを有効化でき、CIがそのビルドを実行すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
build-system, ci-cd
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。