Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

argparse: assertion failure if optional argument has square/round brackets in metavar #58254

Copy link
Copy link
@oxplot

Description

@oxplot
mannequin
Issue body actions
BPO 14046
Nosy @ncoghlan, @miss-islington
PRs
  • [3.7] bpo-11874: fix assertion failure in argparse metavar handling (GH-1826) #7527
  • [3.6] bpo-11874: fix assertion failure in argparse metavar handling (GH-1826) #7528
  • [3.7] bpo-11874: fix assertion failure in argparse metavar handling (GH-1826) #7530
  • [2.7] bpo-11874: fix assertion failure in argparse metavar handling (GH-1826) #7553
  • Superseder
  • bpo-11874: argparse assertion failure with brackets in metavars
  • Files
  • argparse_wrap_test.py: Test which causes assertion failure.
  • 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 2016-01-17.06:20:12.682>
    created_at = <Date 2012-02-18.05:21:48.914>
    labels = ['type-bug', 'library']
    title = 'argparse: assertion failure if optional argument has square/round brackets in metavar'
    updated_at = <Date 2018-06-09.01:28:05.561>
    user = 'https://bugs.python.org/oxplot'

    bugs.python.org fields:

    activity = <Date 2018-06-09.01:28:05.561>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-01-17.06:20:12.682>
    closer = 'martin.panter'
    components = ['Library (Lib)']
    creation = <Date 2012-02-18.05:21:48.914>
    creator = 'oxplot'
    dependencies = []
    files = ['24554']
    hgrepos = []
    issue_num = 14046
    keywords = []
    message_count = 7.0
    messages = ['153632', '154234', '245970', '319040', '319049', '319053', '319126']
    nosy_count = 6.0
    nosy_names = ['ncoghlan', 'bethard', 'paul.j3', 'oxplot', 'John Jones', 'miss-islington']
    pr_nums = ['7527', '7528', '7530', '7553']
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '11874'
    type = 'behavior'
    url = 'https://bugs.python.org/issue14046'
    versions = ['Python 2.7']

    Reactions are currently unavailable

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        Morty Proxy This is a proxified and sanitized view of the page, visit original site.