FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
gh-132493: lazy evaluation of annotations in `typing._proto_hook` by felixscherz · Pull Request #132534 · python/cpython · GitHub
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.3k
(2.3k)
Actions
Projects
Security and quality
Insights
gh-132493: lazy evaluation of annotations in typing._proto_hook
- #132534
#132534
Merged
JelleZijlstra
merged 13 commits into
python:main
python/cpython:main
from
felixscherz:fix/protocol-isinstance-lazy-annotations
felixscherz/cpython:fix/protocol-isinstance-lazy-annotations
Copy head branch name to clipboard
Apr 16, 2025
Conversation
Commits
13
(13)
Checks
Files changed
Merged
gh-132493: lazy evaluation of annotations in typing._proto_hook
#132534
JelleZijlstra
merged 13 commits into
python:main
python/cpython:main
from
felixscherz:fix/protocol-isinstance-lazy-annotations
felixscherz/cpython:fix/protocol-isinstance-lazy-annotations
Copy head branch name to clipboard
Commits
Commits on Apr 14, 2025
gh-132493: enable protocol isinstance checks against classes with deferred annotations
felixscherz
committed
34c6039
View commit details
Copy full SHA for 34c6039
Browse repository at this point
Commits on Apr 15, 2025
fix: typo in test name
Show description for 8ad1181
felixscherz
and
JelleZijlstra
authored
8ad1181
View commit details
Copy full SHA for 8ad1181
Browse repository at this point
test: add case for class implementing protocol with deferred annotations
felixscherz
committed
079cf59
View commit details
Copy full SHA for 079cf59
Browse repository at this point
docs: add a news entry
felixscherz
committed
998e83c
View commit details
Copy full SHA for 998e83c
Browse repository at this point
docs: reference Protocol and isinstance correctly
Show description for 92e5ab9
felixscherz
and
sobolevn
authored
92e5ab9
View commit details
Copy full SHA for 92e5ab9
Browse repository at this point
feat: no longer check whether annotations is a mapping since it is guaranteed
Show description for 3413f78
felixscherz
and
AlexWaygood
authored
3413f78
View commit details
Copy full SHA for 3413f78
Browse repository at this point
Merge branch 'main' into fix/protocol-isinstance-lazy-annotations
JelleZijlstra
authored
a82ac39
View commit details
Copy full SHA for a82ac39
Browse repository at this point
feat: check for Generic subclass and Protocol first to improve performance for common case
felixscherz
committed
8c7a1e9
View commit details
Copy full SHA for 8c7a1e9
Browse repository at this point
test: add a test with a sub-protocol
felixscherz
committed
63e5a5b
View commit details
Copy full SHA for 63e5a5b
Browse repository at this point
test: clarify override of method
felixscherz
committed
a820f7f
View commit details
Copy full SHA for a820f7f
Browse repository at this point
test: fix test by removing non-member attribute
felixscherz
committed
19d925a
View commit details
Copy full SHA for 19d925a
Browse repository at this point
Commits on Apr 16, 2025
feat: compute annotations only if necessary
Show description for 316741e
felixscherz
and
JelleZijlstra
authored
316741e
View commit details
Copy full SHA for 316741e
Browse repository at this point
fix: replace assertTrue(...) with helper methods
felixscherz
committed
3d13c56
View commit details
Copy full SHA for 3d13c56
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL