-
-
Notifications
You must be signed in to change notification settings - Fork 3k
implement PEP 585 Generic Builtins (Partially solves #7907) #9564
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 all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
271e387
Allows builtins to be generic aliases (PEP 585)
AllanDaemon 3472679
fix test testNoSubcriptionOfStdlibCollections
AllanDaemon 1299956
fix test testDisallowAnyGenericsBuiltinCollections
AllanDaemon ca5c841
Revert "Allows builtins to be generic aliases (PEP 585)"
AllanDaemon dcfedeb
create get_nongen_builtins() to access nongen_builtins depending on p…
AllanDaemon a9d0996
implements pep585 accepting generic builtins
AllanDaemon 40b5aed
fix code style to mypy guidelines
AllanDaemon d4492ae
Added testcases for pep585ga
cdce8p 14f2732
Allows builtins to be generic aliases (PEP 585)
AllanDaemon 6e9341c
fix test testNoSubcriptionOfStdlibCollections
AllanDaemon f737ef7
fix test testDisallowAnyGenericsBuiltinCollections
AllanDaemon 8d53899
Revert "Allows builtins to be generic aliases (PEP 585)"
AllanDaemon 8b7eb7e
create get_nongen_builtins() to access nongen_builtins depending on p…
AllanDaemon 6b9b798
implements pep585 accepting generic builtins
AllanDaemon 40b2da3
fix code style to mypy guidelines
AllanDaemon 8a17cf9
Merge branch 'pep585ga' into pep585-tests
AllanDaemon 8ca6130
Merge pull request #1 from cdce8p/pep585-tests
AllanDaemon 90a5192
Update test-data/unit/check-generic-alias.test
AllanDaemon 8dbd6ac
@hauntsaninja suggestion
AllanDaemon 779dffd
add tests cases for PEP 585 generic builtins
AllanDaemon 6d58555
add failing tests for PEP 585 to be investigated
AllanDaemon c9ac0ca
fix `tuple[Any, ...]` case
AllanDaemon eca2a13
minor test impr. for tuple
AllanDaemon 55dcbb5
Update mypy/typeanal.py
AllanDaemon c0d0989
disable tests failing due reveal_type()
AllanDaemon ab0e4cd
fix style to pep8
AllanDaemon a81abc8
Update test-data/unit/check-generic-alias.test
AllanDaemon 0edf123
collate future annotations tests, simplify
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
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 was deleted.
Oops, something went wrong.
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.