Skip to content

argparse: Missing subparser error message should be more clear #78372

@vporton

Description

@vporton
mannequin
BPO 34191
Nosy @vporton, @jacobtylerwalls
Superseder
  • bpo-29298: argparse fails with required subparsers, un-named dest, and empty argv
  • 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 = <Date 2022-02-08.03:47:56.578>
    created_at = <Date 2018-07-22.19:58:30.527>
    labels = ['3.7', 'type-bug', 'library']
    title = 'argparse: Missing subparser error message should be more clear'
    updated_at = <Date 2022-02-08.03:47:56.577>
    user = 'https://github.com/vporton'

    bugs.python.org fields:

    activity = <Date 2022-02-08.03:47:56.577>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-02-08.03:47:56.578>
    closer = 'ned.deily'
    components = ['Library (Lib)']
    creation = <Date 2018-07-22.19:58:30.527>
    creator = 'porton'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34191
    keywords = []
    message_count = 4.0
    messages = ['322164', '322229', '322241', '412615']
    nosy_count = 3.0
    nosy_names = ['paul.j3', 'porton', 'jacobtylerwalls']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '29298'
    type = 'behavior'
    url = 'https://bugs.python.org/issue34191'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions