Comparison operators can be overridden in python, so type checkers need to be conservative when making assumptions about comparability of two values. For that reason, the logic limits the check to ...
I've noticed while upgrading our code to v2 that we had big slowdowns within our test suites. And I narrowed it down to our numerous calls to isinstance checks. Turns out that isinstance for a ...