Skip to content

'__new__' is never shown in dir(SomeEnum) #90427

Description

@sobolevn
BPO 46269
Nosy @ethanfurman, @sobolevn, @AlexWaygood
PRs
  • bpo-46269: remove special-casing of __new__ in Enum.__dir__ #30421
  • 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 2022-01-14.12:09:05.490>
    created_at = <Date 2022-01-05.15:15:11.571>
    labels = ['type-bug', 'library']
    title = "'__new__' is never shown in `dir(SomeEnum)`"
    updated_at = <Date 2022-01-14.12:09:05.490>
    user = 'https://github.com/sobolevn'

    bugs.python.org fields:

    activity = <Date 2022-01-14.12:09:05.490>
    actor = 'sobolevn'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-01-14.12:09:05.490>
    closer = 'sobolevn'
    components = ['Library (Lib)']
    creation = <Date 2022-01-05.15:15:11.571>
    creator = 'sobolevn'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46269
    keywords = ['patch']
    message_count = 3.0
    messages = ['409771', '409785', '409790']
    nosy_count = 3.0
    nosy_names = ['ethan.furman', 'sobolevn', 'AlexWaygood']
    pr_nums = ['30421']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue46269'
    versions = []

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions