warnings.catch_warnings docs: dubious mention of sys.stdout
オープン
まだ誰も着手していません。
docs
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
https://docs.python.org/3/library/warnings.html#warnings.catch_warnings reads:
If record is
True, a list is returned that is progressively populated with objects as seen by a customshowwarning()function (which also suppresses output tosys.stdout).
Was it meant to say sys.stderr instead?
Otherwise, I don't understand why it mentions stdout specifically. I don't see anything about stdout elsewhere in the module docs or in the implementation.
Linked PRs
- gh-130768
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
docs.python.org/library/warnings.html の warnings.catch_warnings セクションから始め、sys.stdout についての記述を warnings モジュールの実装と比較してください。まずリンクされている PR gh-130768 を確認してください。ドキュメントが出力ストリームを正確に説明し、その結果のドキュメント変更が実装と整合していれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 35/100