-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Support usage of type
with typing.Self
and type aliases
#10621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 11 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
b91cfd2
fix
kc0506 2b448f2
add edge cases
kc0506 746f0ab
fix error < 3.11
kc0506 dbe73b9
revert some changes
kc0506 a66c684
Replace `type` with `Type`
kc0506 3376355
Rerun CI
kc0506 09bd231
fix again
kc0506 a6418bd
add test for TypeAlias
kc0506 fbc2ac7
Apply suggestions from code review
kc0506 df14e81
add eval_str for _get_args_resolving_forward_refs
kc0506 a3b6e8a
Merge branch 'main' into fix-type-of-self
kc0506 98ab66a
Revert "add eval_str for _get_args_resolving_forward_refs"
kc0506 44123f3
add another workaround
kc0506 5fef1a9
re-organize tests of type[]
kc0506 7ca3e0d
fix broken test
kc0506 57a2004
fix broken test again
kc0506 b2b75a3
Apply suggestions from code review
kc0506 be40b6d
clean up errors
kc0506 12a9c26
add comment back
kc0506 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.