erroneous behavior when creating classes inside a closure
@jeremyhylton is already working on this.
Since May 24, 2026.
Assessment
This issue has not been assessed yet.
Description
| BPO | 9226 |
|---|---|
| Nosy | @gvanrossum, @terryjreedy, @mdickinson, @ncoghlan, @taleinat, @ericvsmith, @benjaminp, @merwok, @bitdancer, @iritkatriel |
| Files |
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']
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 558
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from python/cpython
-
docs pending
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
build type-bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
stdlib topic-email type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
zostera/django-bootstrap4#894 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
use-agent-os/agent-os#3276 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zilliztech/memsearch#759 ·