Skip to content

Raised exception in Enum keeping user objects alive unnecessarily #86414

Description

@efroemling
mannequin
BPO 42248
Nosy @mdickinson, @pitrou, @ethanfurman, @efroemling
PRs
  • bpo-42248: [Enum] ensure exceptions raised in _missing_ are released #25350
  • [3.8] bpo-42248: [Enum] ensure exceptions raised in _missing_ are released. #25369
  • [3.9] bpo-42248: [Enum] ensure exceptions raised in _missing_ are released. #25370
  • Files
  • enum_ref_loop_example.py: script to demonstrate the issue
  • 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 2021-11-13.19:10:16.809>
    created_at = <Date 2020-11-02.20:46:49.158>
    labels = ['3.8', 'type-bug', 'library', '3.9', '3.10']
    title = 'Raised exception in Enum keeping user objects alive unnecessarily'
    updated_at = <Date 2021-11-13.19:10:16.809>
    user = 'https://github.com/efroemling'

    bugs.python.org fields:

    activity = <Date 2021-11-13.19:10:16.809>
    actor = 'ethan.furman'
    assignee = 'ethan.furman'
    closed = True
    closed_date = <Date 2021-11-13.19:10:16.809>
    closer = 'ethan.furman'
    components = ['Library (Lib)']
    creation = <Date 2020-11-02.20:46:49.158>
    creator = 'efroemling'
    dependencies = []
    files = ['49564']
    hgrepos = []
    issue_num = 42248
    keywords = ['patch']
    message_count = 12.0
    messages = ['380249', '382523', '390093', '390095', '390859', '390889', '390913', '391285', '403860', '403861', '403862', '403875']
    nosy_count = 5.0
    nosy_names = ['mark.dickinson', 'pitrou', 'ethan.furman', 'efroemling', 'gerald.dalley2']
    pr_nums = ['25350', '25369', '25370']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42248'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard 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