class A[X, Y = X]: ...
print(A.__parameters__)
print(A.__parameters__[1].__default__)
This in runtime produces:
While [email protected] produces on python 3.13:
ex.py:1: error: Name "X" is not defined [name-defined]
which just the default configuration.