ArgumentParser nested subparsers resolve paths in improper order
まだ誰も着手していません。
評価
調査の方向性
ArgumentParser のネストされたサブパーサー処理から始め、issue で説明されているパス解決の順序を再現します。ネストされたサブコマンドがどのように解決されるかを追跡し、その後、誤った順序を示すリグレッションテストを追加します。ネストされたサブパーサーが既存の argparse の動作を壊すことなく正しくパスを解決できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
| BPO | 42457 |
|---|---|
| Nosy | @rhettinger, @carsonwilber |
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 2020-11-25.04:36:54.586>
labels = ['type-bug', '3.8', '3.9', '3.10']
title = 'ArgumentParser nested subparsers resolve paths in improper order'
updated_at = <Date 2020-11-25.06:13:00.376>
user = 'https://github.com/carsonwilber'
bugs.python.org fields:
activity = <Date 2020-11-25.06:13:00.376>
actor = 'izbyshev'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2020-11-25.04:36:54.586>
creator = 'carsonwilber'
dependencies = []
files = []
hgrepos = []
issue_num = 42457
keywords = []
message_count = 1.0
messages = ['381789']
nosy_count = 2.0
nosy_names = ['rhettinger', 'carsonwilber']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue42457'
versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python/cpython のほかの issue
-
docs pending
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
stdlib type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
stdlib type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
build type-bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
stdlib topic-email type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
似ている issue
-
🐛 Bug 🔔 Pending processing
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
jumpserver/jumpserver#17584 ·
-
link-check link-check:sphinx-theme
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
modelscope/DiffSynth-Studio#1702 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
OpenHands/extensions#626 · コメント 1 件 ·