Skip to content

argparse allows nargs>1 for positional arguments but doesn't allow metavar to be a tuple #58282

@tshepang

Description

@tshepang
mannequin
BPO 14074
Nosy @rhettinger, @cykerway, @shihai1991, @iritkatriel
PRs
  • bpo-14074: argparse doesn't allow metavar to be a tuple #10847
  • Files
  • issue14074.patch
  • issue14074_1.patch
  • 14074.patch: lightweight patch
  • 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 2012-02-21.17:38:38.183>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = "argparse allows nargs>1 for positional arguments but doesn't allow metavar to be a tuple"
    updated_at = <Date 2021-11-26.23:42:00.635>
    user = 'https://bugs.python.org/tshepang'

    bugs.python.org fields:

    activity = <Date 2021-11-26.23:42:00.635>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2012-02-21.17:38:38.183>
    creator = 'tshepang'
    dependencies = []
    files = ['31042', '35049', '47965']
    hgrepos = []
    issue_num = 14074
    keywords = ['patch']
    message_count = 13.0
    messages = ['153884', '154236', '193737', '217184', '217240', '286227', '330854', '360841', '361154', '361184', '361215', '361336', '407109']
    nosy_count = 8.0
    nosy_names = ['rhettinger', 'bethard', 'tshepang', 'paul.j3', 'vvas', 'cykerway', 'shihai1991', 'iritkatriel']
    pr_nums = ['10847']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue14074'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Labels

    3.12only security fixes3.13bugs and security fixes3.14bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Doc issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions