[WIP] handle diverging protocols - #22025
ilevkivskyi wants to merge 13 commits into
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@JukkaL I am still investigating things here, but there is something interesting I noticed: But, the fun part is removing union simplification there makes For now I will probably simply set some high protocol stack size. This should fix at least three crashes. But I also think we should consider cutting some corners in type inference (in a separate PR), since 2x speed-up looks very tempting. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅ |
|
OK, I think I have enough data to make a real PR, I will close this one an open a new clean PR. |
No description provided.