Skip to content

SystemError compiling __classdict__ class annotation #149805

Description

@StanFromIreland

Bug 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

Activity

  1. added 3 commits that reference this issue on Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

interpreter-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