You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ mypy t.py
Success: no issues found in 1 source file
Expected Behavior
The relative ordering should not alter the output of mypy. I'm not aware of any reason why the ordering should matter and all orderings pass mypy in 1.15.
Your Environment
Mypy version used: 1.16
Mypy command-line flags: None
Mypy configuration options from mypy.ini (and other config files): None
Python version used: 3.13
The text was updated successfully, but these errors were encountered:
Bug Report
In mypy 1.16, the relative ordering of property methods (i.e.,
getter
/setter
/deleter
) can produce an "Invalid property setter signature" error.To Reproduce
mypy playground with the same example
Having an
@deleter
or@getter
before a@setter
property method produces an error:Move the
@value.deleter
method to after@value.setter
and the error is fixed.Expected Behavior
The relative ordering should not alter the output of mypy. I'm not aware of any reason why the ordering should matter and all orderings pass mypy in 1.15.
Your Environment
mypy.ini
(and other config files): NoneThe text was updated successfully, but these errors were encountered: