argparser's subparsers.add_parser() should accept an ArgumentParser

Đang mở
#61,406 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cli

Hướng nghiên cứu

Start at argparse subparsers.add_parser() and read the attached issue17204.py reproduction and patch0.diff. Determine the intended ArgumentParser input behavior from those files, then verify that the existing argparse tests cover the accepted parser form and its resulting subparser behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

pending stdlib type-feature
BPO 17204
Nosy @cjerdonek
Files
  • issue17204.py
  • patch0.diff
  • 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 2013-02-14.07:01:07.036>
    labels = ['type-feature', 'library']
    title = "argparser's subparsers.add_parser() should accept an ArgumentParser"
    updated_at = <Date 2014-10-10.04:35:04.656>
    user = 'https://github.com/cjerdonek'
    

    bugs.python.org fields:

    activity = <Date 2014-10-10.04:35:04.656>
    actor = 'paul.j3'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2013-02-14.07:01:07.036>
    creator = 'chris.jerdonek'
    dependencies = []
    files = ['29916', '36858']
    hgrepos = []
    issue_num = 17204
    keywords = ['patch']
    message_count = 4.0
    messages = ['182081', '187226', '204372', '228950']
    nosy_count = 4.0
    nosy_names = ['bethard', 'chris.jerdonek', 'paul.j3', 'Micka\xc3\xabl.Falck']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue17204'
    versions = ['Python 3.4']
    

    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

    Hướng dẫn đóng góp

    Mở hướng dẫn đóng góp

    Bắt đầu từ đâu

    1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
    2. 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.
    3. Fork repository và làm thay đổi trên một nhánh.
    4. Mở pull request có tham chiếu số hiệu của issue.

    Issue khác của python/cpython

    Tất cả issue của python/cpython

    Issue tương tự

    Thêm issue về Python

    Nhận issue mới trong hộp thư của bạn

    Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.