Skip to content

argparse: potential bugs on add_subparser due to allow_abbrev cannot deal with short options #88767

@zhongxiang117

Description

@zhongxiang117
BPO 44601
Nosy @zhongxiang117
Files
  • myargparse.py: reproduce and explanations
  • 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 2021-07-11.23:21:14.214>
    labels = ['3.8', 'type-bug', 'library', '3.9']
    title = 'argparse: potential bugs on add_subparser due to allow_abbrev cannot deal with short options'
    updated_at = <Date 2021-07-11.23:21:14.214>
    user = 'https://github.com/zhongxiang117'

    bugs.python.org fields:

    activity = <Date 2021-07-11.23:21:14.214>
    actor = 'zhongxiang117'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-07-11.23:21:14.214>
    creator = 'zhongxiang117'
    dependencies = []
    files = ['50143']
    hgrepos = []
    issue_num = 44601
    keywords = []
    message_count = 1.0
    messages = ['397268']
    nosy_count = 1.0
    nosy_names = ['zhongxiang117']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue44601'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of life3.9only security fixespendingThe issue will be closed if no feedback is providedstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      Doc issues

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions