Skip to content

Argparse needs better error handling for nargs #54058

@JasonBaker

Description

@JasonBaker
BPO 9849
Nosy @rhettinger, @merwok, @iritkatriel
Files
  • nargswarn.patch
  • test_nargswarn.py
  • nargswarn.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 = 'https://github.com/rhettinger'
    closed_at = <Date 2020-11-07.00:37:17.204>
    created_at = <Date 2010-09-13.23:25:11.224>
    labels = ['library']
    title = 'Argparse needs better error handling for nargs'
    updated_at = <Date 2020-11-07.00:37:17.202>
    user = 'https://bugs.python.org/JasonBaker'

    bugs.python.org fields:

    activity = <Date 2020-11-07.00:37:17.202>
    actor = 'iritkatriel'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2020-11-07.00:37:17.204>
    closer = 'iritkatriel'
    components = ['Library (Lib)']
    creation = <Date 2010-09-13.23:25:11.224>
    creator = 'Jason.Baker'
    dependencies = []
    files = ['29998', '29999', '30010']
    hgrepos = []
    issue_num = 9849
    keywords = ['patch']
    message_count = 12.0
    messages = ['116355', '116357', '186962', '187132', '187166', '187614', '187686', '187687', '187754', '192719', '220017', '380484']
    nosy_count = 6.0
    nosy_names = ['rhettinger', 'bethard', 'eric.araujo', 'Jason.Baker', 'paul.j3', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue9849'
    versions = ['Python 2.7', 'Python 3.2']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directory

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions