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
Optional strict checking of isinstance checks #4332
The current semantics of isinstance checks make some assumptions about inheritance, such as there being no multiple inheritance from certain classes. This is probably reasonable as a default, since it makes easier to annotate legacy codebases. However, we could provide an option to have safer and stricter checking of isinstance checks. The exact behavior of this mode is still not quite clear.
Activity
ilevkivskyi commentedon Dec 6, 2017
Just for the reference here is the previous proposal #3603 (comment)
msullivan commentedon Jan 28, 2020
I don't think this meets the bar of adding a new flag and we're moving towards more intersection stuff