Skip to content

In argparse empty choices cannot be printed in the help #68632

Closed
@py-user

Description

@py-user
mannequin
BPO 24444
Nosy @py-user, @ambv, @miss-islington, @akulakov
PRs
  • bpo-24444: fix an error in argparse help when help for an option is blank #28050
  • [3.10] bpo-24444: fix an error in argparse help when help for an option is blank (GH-28050) #28931
  • [3.9] bpo-24444: fix an error in argparse help when help for an option is blank (GH-28050) #28932
  • 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 2021-10-13.20:37:35.828>
    created_at = <Date 2015-06-13.06:47:02.770>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'In argparse empty choices cannot be printed in the help'
    updated_at = <Date 2021-10-13.20:37:35.826>
    user = 'https://github.com/py-user'

    bugs.python.org fields:

    activity = <Date 2021-10-13.20:37:35.826>
    actor = 'lukasz.langa'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-10-13.20:37:35.828>
    closer = 'lukasz.langa'
    components = ['Library (Lib)']
    creation = <Date 2015-06-13.06:47:02.770>
    creator = 'py.user'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 24444
    keywords = ['patch']
    message_count = 7.0
    messages = ['245297', '245448', '273317', '403849', '403858', '403871', '403872']
    nosy_count = 5.0
    nosy_names = ['py.user', 'lukasz.langa', 'paul.j3', 'miss-islington', 'andrei.avk']
    pr_nums = ['28050', '28931', '28932']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24444'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9only security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions