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
{{ message }}
Repository navigation
Narrowing dict | Literal does not work in Mypy 1.5.0 #15860
Oh great, when I created the issue it wasn't fixed on master yet, but now it seems to be fixed indeed. I don't know if you want to keep this issue open for visibility until this is released or not, so feel free to close it as you see fit.
I don't think we need to keep this open. There is little chance #15837 can be included in 1.5.1 (it is quite a major change), so you will need to wait for 1.6.0
Activity
atugushev commentedon Aug 15, 2023
It appears to be fixed in the master branch.
zroug commentedon Aug 15, 2023
Oh great, when I created the issue it wasn't fixed on master yet, but now it seems to be fixed indeed. I don't know if you want to keep this issue open for visibility until this is released or not, so feel free to close it as you see fit.
hauntsaninja commentedon Aug 16, 2023
Looks like the original regression was in a typeshed sync 59a6c5e. Specifically, the addition of
__eq__to Mapping in python/typeshed#10297This recently got fixed by #15837, but perhaps unintentionally
ilevkivskyi commentedon Aug 16, 2023
I don't think we need to keep this open. There is little chance #15837 can be included in 1.5.1 (it is quite a major change), so you will need to wait for 1.6.0