Skip to content

argparse handling multiple "--" in args improperly #58130

@wt

Description

@wt
mannequin
BPO 13922
Nosy @ericvsmith, @bitdancer, @mmaker, @wt
Files
  • test.py: minimal test script
  • argparse.patch: Fix to argparse '--' handling
  • dbldash.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 = <Date 2012-07-22.03:00:33.887>
    created_at = <Date 2012-02-01.21:42:36.140>
    labels = ['type-bug']
    title = 'argparse handling multiple "--" in args improperly'
    updated_at = <Date 2014-07-07.17:16:45.395>
    user = 'https://github.com/wt'

    bugs.python.org fields:

    activity = <Date 2014-07-07.17:16:45.395>
    actor = 'paul.j3'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-07-22.03:00:33.887>
    closer = 'r.david.murray'
    components = []
    creation = <Date 2012-02-01.21:42:36.140>
    creator = 'wt'
    dependencies = []
    files = ['24424', '24936', '29845']
    hgrepos = []
    issue_num = 13922
    keywords = ['patch']
    message_count = 27.0
    messages = ['152443', '152644', '152650', '153045', '153286', '153463', '156255', '156257', '156259', '156260', '156261', '156262', '156263', '156276', '156315', '166054', '166100', '166101', '166103', '168754', '168758', '170054', '186092', '186110', '186119', '186884', '222479']
    nosy_count = 10.0
    nosy_names = ['bethard', 'eric.smith', 'kalt', 'r.david.murray', 'maker', 'python-dev', 'paul.j3', 'wt', 'jeffknupp', 'gcbirzan']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue13922'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions