Skip to content

SystemError compiling __classdict__ class annotation #149805

@StanFromIreland

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

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