argparse does not preserve namespace with subparser defaults
Đang mở
Chưa có ai nhận issue này.
3.12
stdlib
type-bug
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 558
Mô tả
| 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']
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Issue đề cập đến các subparser của argparse nhưng không nêu tệp nguồn, bài kiểm thử, cách tái hiện hoặc kết quả mong đợi. Hãy bắt đầu bằng việc xem xét cách argparse xử lý namespace của subparser và các PR hiện có 28420, 28442, 28443, 29525, 29530, 29531, 29574 và 30219; công việc được xem là hoàn tất khi hành vi namespace được báo cáo được sửa và có một bài kiểm thử phù hợp bao quát.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100