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

Improve error messages for argparse choices using enum #86667

Copy link
Copy link
@shangxiao

Description

@shangxiao
mannequin
Issue body actions
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']

    Reactions are currently unavailable

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixesonly security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dirtype-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.