FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
gh-74690: typing: Call `_get_protocol_attrs` and `_callable_members_only` at protocol class creation time, not during `isinstance()` checks by AlexWaygood · Pull Request #103160 · python/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.3k
Star
74.7k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-74690: typing: Call _get_protocol_attrs and _callable_members_only at protocol class creation time, not during isinstance() checks
- #103160
#103160
Merged
AlexWaygood
merged 9 commits into
python:main
python/cpython:main
from
AlexWaygood:protocol-attrs-cache-1
AlexWaygood/cpython:protocol-attrs-cache-1
Copy head branch name to clipboard
Apr 5, 2023
Conversation
Commits
9
(9)
Checks
Files changed
Merged
gh-74690: typing: Call _get_protocol_attrs and _callable_members_only at protocol class creation time, not during isinstance() checks
#103160
AlexWaygood
merged 9 commits into
python:main
python/cpython:main
from
AlexWaygood:protocol-attrs-cache-1
AlexWaygood/cpython:protocol-attrs-cache-1
Copy head branch name to clipboard
Commits
Commits on Mar 31, 2023
gh-74690: typing: Cache results of `_get_protocol_attrs` and `_callable_member_only`
AlexWaygood
committed
f15c64a
View commit details
Copy full SHA for f15c64a
Browse repository at this point
Commits on Apr 1, 2023
Simplify and inline
AlexWaygood
committed
f3ec3db
View commit details
Copy full SHA for f3ec3db
Browse repository at this point
Use a metaclass instance method, not a classmethod on the class
AlexWaygood
committed
8e3c6f7
View commit details
Copy full SHA for 8e3c6f7
Browse repository at this point
Move to class-creation time
AlexWaygood
committed
a34f700
View commit details
Copy full SHA for a34f700
Browse repository at this point
Use `__init__`, not `__new__`
AlexWaygood
committed
4d05074
View commit details
Copy full SHA for 4d05074
Browse repository at this point
Add missing `super().__init__()` call, to be safe
AlexWaygood
authored
d3f9ebe
View commit details
Copy full SHA for d3f9ebe
Browse repository at this point
Commits on Apr 2, 2023
Merge branch 'main' into protocol-attrs-cache-1
AlexWaygood
authored
e8a6304
View commit details
Copy full SHA for e8a6304
Browse repository at this point
Commits on Apr 5, 2023
Merge branch 'main' into protocol-attrs-cache-1
AlexWaygood
authored
4816afa
View commit details
Copy full SHA for 4816afa
Browse repository at this point
Update Lib/typing.py
AlexWaygood
authored
08af615
View commit details
Copy full SHA for 08af615
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL