`Py_SETREF` and `Py_NewRef` is not explained in extending new types using a C extension
オープン
まだ誰も着手していません。
docs
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
Documentation
The documentation for extending new types using a C extension just uses Py_SETREF and Py_NewRef with no extra clarification as to what those functions do. It'd be nicer and more convenient if they were explained on-the-spot instead of having to search for it in the docs. They are also not explained in the previous topic (that explains Py_INCREF and Py_DECREF) and the other topics thereafter.
Linked PRs
- gh-101234
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンク先の新しい型のチュートリアルにある「データ属性をより細かく制御する」セクションから始めてください。Py_SETREF と Py_NewRef が使用されている箇所でそれらを説明し、周辺の参照カウントに関するトピックも一貫して扱われているか確認してください。読者が他の場所を調べなくても両方の関数を理解できるようになれば、ドキュメントは完成です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 25/100