There was an error while loading. Please reload this page.
[name-defined]
class A[X, Y = X]: ... print(A.__parameters__) print(A.__parameters__[1].__default__)
This in runtime produces:
(X, Y) X
While mypy@1.18.1 produces on python 3.13:
mypy@1.18.1
ex.py:1: error: Name "X" is not defined [name-defined]
which just the default configuration.