GeezerVison is showing github.com — `SystemError` compiling `__classdict__` class annotation · Issue #149805 · python/cpython
SystemError compiling __classdict__ class annotation #149805
Labels interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug report
Bug description:
>>> class _:
... a: int
... __classdict__: a
SystemError: compiler_lookup_arg(name='__classdict__') with reftype=5 failed in _; freevars of code __annotate__: ('__classdict__',)
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
Activityadded 3 commits that reference this issue on Jun 2, 2026gh-149805: Fix `SystemError` when compiling `__classdict__` class ann…
MetadataMetadatainterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DevelopmentNo branches or pull requestsIssue actions
|