8000
Incorrect inference for types with
Incorrect inference for types with __eq__
and no __hash__
#18622
Labels
problem
https://mypy-play.net/?mypy=latest&python=3.13&flags=strict%2Clocal-partial-types&gist=2b23624b1df772175b70c08e36a6e912
yet
solution
iff. class
A
, and only classA
(i.e. excluding any base classes)__eq__
, and__hash__
infer
A.__hash__: ClassVar[None]
The text was updated successfully, but these errors were encountered: