argparse does not preserve namespace with subparser defaults
オープン
まだ誰も着手していません。
3.12
stdlib
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
説明
| BPO | 45235 |
|---|---|
| Nosy | @rhettinger, @ambv, @pablogsal, @miss-islington, @FrostMing, @RhinosF1, @ALSchwalm, @dgw, @lwalejko |
| PRs |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2021-09-17.14:58:54.103>
labels = ['type-bug', '3.8', '3.9', '3.10', '3.11', '3.7', 'library']
title = 'argparse does not preserve namespace with subparser defaults'
updated_at = <Date 2021-12-22.19:20:37.779>
user = 'https://github.com/ALSchwalm'
bugs.python.org fields:
activity = <Date 2021-12-22.19:20:37.779>
actor = 'gvanrossum'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-09-17.14:58:54.103>
creator = 'ALSchwalm'
dependencies = []
files = []
hgrepos = []
issue_num = 45235
keywords = ['patch']
message_count = 23.0
messages = ['402060', '402120', '402121', '402122', '404990', '404991', '405007', '405129', '406052', '406079', '406121', '406123', '406128', '406171', '406172', '406175', '406186', '406231', '406232', '406233', '406571', '406814', '408991']
nosy_count = 10.0
nosy_names = ['rhettinger', 'lukasz.langa', 'paul.j3', 'pablogsal', 'miss-islington', 'Frost Ming', 'RhinosF1', 'ALSchwalm', 'dgw', 'lwalejko']
pr_nums = ['28420', '28442', '28443', '29525', '29530', '29531', '29574', '30219']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45235'
versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue では argparse のサブパーサーが挙げられていますが、ソースファイル、テスト、再現手順、期待される結果のいずれも示されていません。まず argparse のサブパーサーにおける namespace の扱いと、既存の PR 28420、28442、28443、29525、29530、29531、29574、30219 を確認してください。報告された namespace の動作が修正され、適切なテストでカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100