Skip to content

argparse: repeatedly specifying the same argument ignores the previous ones #59476

Description

@mapleoin
mannequin
BPO 15271
Nosy @florentx
Files
  • disallow_duplicate_positionals.diff: look for duplicate positionals - treat them like options conflicts
  • 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 2012-07-23.00:04:14.768>
    created_at = <Date 2012-07-07.08:45:40.439>
    labels = ['invalid', 'type-bug', 'library']
    title = 'argparse: repeatedly specifying the same argument ignores the previous ones'
    updated_at = <Date 2012-07-23.00:04:14.767>
    user = 'https://bugs.python.org/mapleoin'

    bugs.python.org fields:

    activity = <Date 2012-07-23.00:04:14.767>
    actor = 'bethard'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-07-23.00:04:14.768>
    closer = 'bethard'
    components = ['Library (Lib)']
    creation = <Date 2012-07-07.08:45:40.439>
    creator = 'mapleoin'
    dependencies = []
    files = ['26303']
    hgrepos = []
    issue_num = 15271
    keywords = ['patch']
    message_count = 6.0
    messages = ['164791', '164797', '164864', '164866', '166176', '166187']
    nosy_count = 3.0
    nosy_names = ['bethard', 'flox', 'mapleoin']
    pr_nums = []
    priority = 'normal'
    resolution = 'not a bug'
    stage = 'needs patch'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue15271'
    versions = ['Python 3.3']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard 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