Skip to content

argparse claims '*' positional argument is required in error output #72795

Closed
@rrt

Description

@rrt
mannequin
BPO 28609
Nosy @benhoyt, @charlierproctor, @iritkatriel
Files
  • optional_arguments.patch: Check that action.nargs not in [OPTIONAL, ZERO_OR_MORE]
  • 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 2016-11-04.15:19:23.095>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = "argparse claims '*' positional argument is required in error output"
    updated_at = <Date 2021-12-10.17:07:21.760>
    user = 'https://bugs.python.org/rrt'

    bugs.python.org fields:

    activity = <Date 2021-12-10.17:07:21.760>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2016-11-04.15:19:23.095>
    creator = 'rrt'
    dependencies = []
    files = ['45357']
    hgrepos = []
    issue_num = 28609
    keywords = ['patch']
    message_count = 12.0
    messages = ['280052', '280072', '280074', '280161', '280169', '280171', '280180', '280181', '280230', '288644', '343614', '408225']
    nosy_count = 6.0
    nosy_names = ['benhoyt', 'paul.j3', 'charlie.proctor', 'rrt', 'svenevs', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28609'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.12only security fixes3.13bugs and security fixes3.14bugs and security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      Doc issues

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions