Skip to content

erroneous behavior when creating classes inside a closure #53472

Open
@monsanto

Description

@monsanto
mannequin
BPO 9226
Nosy @gvanrossum, @terryjreedy, @mdickinson, @ncoghlan, @taleinat, @ericvsmith, @benjaminp, @merwok, @bitdancer, @iritkatriel
Files
  • test.py: Test case
  • obscure_corner_cases.patch
  • obscure_corner_cases2.patch
  • test3.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 = None
    closed_at = None
    created_at = <Date 2010-07-11.19:56:34.789>
    labels = ['interpreter-core', 'type-bug', '3.9', '3.10', '3.11']
    title = 'erroneous behavior when creating classes inside a closure'
    updated_at = <Date 2021-12-01.16:29:28.072>
    user = 'https://bugs.python.org/monsanto'

    bugs.python.org fields:

    activity = <Date 2021-12-01.16:29:28.072>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2010-07-11.19:56:34.789>
    creator = 'monsanto'
    dependencies = []
    files = ['17950', '17953', '17954', '18164']
    hgrepos = []
    issue_num = 9226
    keywords = ['patch']
    message_count = 15.0
    messages = ['110037', '110038', '110039', '110040', '110041', '110045', '110046', '110048', '111386', '111488', '111489', '111509', '111512', '322383', '407468']
    nosy_count = 11.0
    nosy_names = ['gvanrossum', 'terry.reedy', 'mark.dickinson', 'ncoghlan', 'taleinat', 'eric.smith', 'benjamin.peterson', 'eric.araujo', 'r.david.murray', 'monsanto', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue9226'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions