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
Commit a522554
Browse filesBrowse the repository at this point in the historyBrowse files
Fix isinstance() with generic protocol subclasses after subscripting (#669)
Fixes#656
The problem is if a generic class inherits from a protocol, then `GenericMeta.__subclasscheck__()`
gets overridden with `_ProtocolMeta.__subclasscheck__()` that calls the former via `super()`, thus causing an extra frame.
0 commit comments