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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2017-05-29.09:16:49.884>labels= ['library', 'performance']
title='Performance of typing._ProtocolMeta._get_protocol_attrs and isinstance'updated_at=<Date2017-06-02.17:44:59.311>user='https://github.com/orenbenkiki'
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
Linked PRs
_get_protocol_attrstwice in_ProtocolMeta.__instancecheck__#103141typing._get_protocol_attrs#103152_ProtocolMeta.__instancecheck__#103159_get_protocol_attrsand_callable_members_onlyat protocol class creation time, not duringisinstance()checks #103160typing._ProtocolMeta.__instancecheck__#103280typing._ProtocolMeta.__instancecheck__: Exit early for protocols that only have callable members #103310isinstance()andissubclass()calls against runtime-checkable protocols by avoiding costlysuper()calls #112708_ProtocolMeta.__subclasscheck__#112717