Skip to content

Improve error message in enum for member name surrounded by underscore. #83148

Description

@RubnJessGarcaHernndez
BPO 38967
Nosy @ethanfurman, @miss-islington, @tirkarthi
PRs
  • bpo-38967: Improve the error msg for reserved _sunder_ names in enum #18370
  • Files
  • enum.diff.txt: Patch for enum.py
  • 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/ethanfurman'
    closed_at = <Date 2020-09-13.20:36:47.981>
    created_at = <Date 2019-12-04.09:06:38.910>
    labels = ['type-feature', 'library', '3.10']
    title = 'Improve error message in enum for member name surrounded by underscore.'
    updated_at = <Date 2020-09-13.20:36:47.980>
    user = 'https://bugs.python.org/RubnJessGarcaHernndez'

    bugs.python.org fields:

    activity = <Date 2020-09-13.20:36:47.980>
    actor = 'ethan.furman'
    assignee = 'ethan.furman'
    closed = True
    closed_date = <Date 2020-09-13.20:36:47.981>
    closer = 'ethan.furman'
    components = ['Library (Lib)']
    creation = <Date 2019-12-04.09:06:38.910>
    creator = 'Rub\xc3\xa9n Jes\xc3\xbas Garc\xc3\xada Hern\xc3\xa1ndez'
    dependencies = []
    files = ['48754']
    hgrepos = []
    issue_num = 38967
    keywords = ['patch']
    message_count = 5.0
    messages = ['357782', '357783', '359059', '376845', '376846']
    nosy_count = 5.0
    nosy_names = ['docs@python', 'ethan.furman', 'miss-islington', 'xtreak', 'Rub\xc3\xa9n Jes\xc3\xbas Garc\xc3\xada Hern\xc3\xa1ndez']
    pr_nums = ['18370']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue38967'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement
    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