8000 Improve error messages for argparse choices using enum · Issue #86667 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
Improve error messages for argparse choices using enum #86667
Closed
@shangxiao

Description

@shangxiao
mannequin
BPO 42501
Nosy @rhettinger, @miss-islington, @tirkarthi, @shangxiao
PRs
  • bpo-42501: Revise the usage note for Enums with the choices #23563
  • [3.9] bpo-42501: Revise the usage note for Enums with the choices (GH-23563) #23573
  • 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 = 'https://github.com/rhettinger'
    closed_at = <Date 2020-11-30.21:22:19.709>
    created_at = <Date 2020-11-29.10:20:31.016>
    labels = ['type-bug', '3.10', 'docs']
    title = 'Improve error messages for argparse choices using enum'
    updated_at = <Date 2020-11-30.21:22:19.708>
    user = 'https://github.com/shangxiao'

    bugs.python.org fields:

    activity = <Date 2020-11-30.21:22:19.708>
    actor = 'rhettinger'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2020-11-30.21:22:19.709>
    closer = 'rhettinger'
    components = ['Documentation']
    creation = <Date 2020-11-29.10:20:31.016>
    creator = 'shangxiao'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42501
    keywords = ['patch']
    message_count = 8.0
    messages = ['382051', '382054', '382058', '382063', '382094', '382096', '382168', '382193']
    nosy_count = 5.0
    nosy_names = ['rhettinger', 'paul.j3', 'miss-islington', 'xtreak', 'shangxiao']
    pr_nums = ['23563', '23573']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42501'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixesdocsDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0