New `_Py_STDC_VERSION` macro not available in pyport.h
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- c
- 領域
- build-system
調査の方向性
Read Include/pyport.h around lines 494–495 and Include/Python.h around lines 67–71, then trace where Include/pymacro.h is included. Check the reported include order and confirm whether _Py_STDC_VERSION is defined when pyport.h uses it; done means the macro is available at that point and the affected branch can work as intended.
索引モデルが issue の本文から書いたものです。
説明
Bug report
The new _Py_STDC_VERSION macro introduced in 47163e53753ea681d2b4bd2683f4ca4833838b89, is located in Include/pymacro.h and used in Include/pyport.h, but it seems pymacro.h is only ever included in Python.h, and after pyport.h:
So for example this branch will never be true because _Py_STDC_VERSION is undefined here:
https://github.com/python/cpython/blob/f4043ab1be0205d834a8b9aa72e289be12637344/Include/pyport.h#L494-L495
CPython versions tested on:
3.15, CPython main branch
Operating systems tested on:
Linux
Linked PRs
- gh-160733
- 主要言語
- Python
- スター
- 77.8k
- フォーク
- 37.7k
- 平均マージ
- 17時間 24分
- マージ済み PR(30日)
- 716
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python/cpython のほかの issue
-
build OS-unsupported OS-windows type-bug
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
メンテナーはふだん 1 日以内に返信
-
What's New in 3.12 credits the unstable C API tier to PEP 697 instead of PEP 689対応中かも @TheLouisMahdi が 1 日前に担当しました。 オープンdocs
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
python/cpython#161078 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
OS-windows type-bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
docs
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
python/cpython#161007 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
Null dereferencing of a pointer in initconfig.c対応中かも @lazerg が 4 日前に担当しました。 オープンinterpreter-core topic-C-API type-bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
python/cpython#160962 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
cost:cheap practicality:seen-in-the-wild severity:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fairagro/m4.2_advanced_middleware_api#620 ·
メンテナーはふだん 1 日以内に返信
-
area:security effort:S priority:P2 provider:local-libvirt status:ready type:docs
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
randomparity/kdive#3495 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
microsoft/markitdown#2820 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信