Skip to content

argparse: positional arguments containing - in name not handled well #59330

Closed
@nstiurca

Description

@nstiurca
mannequin
BPO 15125
Nosy @merwok, @bitdancer, @florentx, @vadmium, @khughitt, @shihai1991
Files
  • argparse-argument-names.diff
  • 15125-1.patch
  • 15125-2.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 = None
    created_at = <Date 2012-06-21.15:34:07.013>
    labels = ['3.11', 'type-bug', '3.9', '3.10', 'docs']
    title = 'argparse: positional arguments containing - in name not handled well'
    updated_at = <Date 2021-12-10.17:15:56.002>
    user = 'https://bugs.python.org/nstiurca'

    bugs.python.org fields:

    activity = <Date 2021-12-10.17:15:56.002>
    actor = 'iritkatriel'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation']
    creation = <Date 2012-06-21.15:34:07.013>
    creator = 'nstiurca'
    dependencies = []
    files = ['26286', '27860', '27863']
    hgrepos = []
    issue_num = 15125
    keywords = ['patch']
    message_count = 22.0
    messages = ['163340', '163383', '163456', '163457', '163461', '164789', '164792', '164808', '164968', '165060', '165067', '166181', '174655', '174656', '174660', '174677', '174725', '225527', '225628', '225744', '348622', '350811']
    nosy_count = 14.0
    nosy_names = ['bethard', 'sfllaw', 'eric.araujo', 'r.david.murray', 'flox', 'docs@python', 'tshepang', 'martin.panter', 'paul.j3', 'nstiurca', 'mapleoin', 'khughitt', 'Socob', 'shihai1991']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue15125'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.14bugs and security fixesdocsDocumentation in the Doc dirstdlibPython 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