Skip to content

argparse: parse_known_args: raising exception on unknown arg following known one #76937

@actionless

Description

@actionless
mannequin
BPO 32756
Nosy @actionless
PRs
  • bpo-32756: fix(Lib: argparse): don't raise exception when encountering uknown explicit arg #5512
  • 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 2018-09-30.03:24:53.151>
    created_at = <Date 2018-02-03.12:31:44.036>
    labels = ['invalid', 'library']
    title = 'argparse: parse_known_args: raising exception on unknown arg following known one'
    updated_at = <Date 2018-09-30.03:24:53.150>
    user = 'https://github.com/actionless'

    bugs.python.org fields:

    activity = <Date 2018-09-30.03:24:53.150>
    actor = 'paul.j3'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-09-30.03:24:53.151>
    closer = 'paul.j3'
    components = ['Library (Lib)']
    creation = <Date 2018-02-03.12:31:44.036>
    creator = 'actionless'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32756
    keywords = []
    message_count = 6.0
    messages = ['311546', '311548', '312151', '312152', '312171', '314104']
    nosy_count = 3.0
    nosy_names = ['bethard', 'paul.j3', 'actionless']
    pr_nums = ['5512']
    priority = 'normal'
    resolution = 'not a bug'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue32756'
    versions = ['Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directory
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions