Skip to content

erroneous behavior when creating classes inside a closure #53472

Description

@monsanto
mannequin
BPO9226
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=Noneclosed_at=Nonecreated_at=<Date2010-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=<Date2021-12-01.16:29:28.072>user='https://bugs.python.org/monsanto'

    bugs.python.org fields:

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

    Metadata

    Metadata

    Assignees

    Labels

    3.13bugs and security fixes3.14bugs and security fixes3.15pre-release feature fixes, bugs and 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