-
Notifications
You must be signed in to change notification settings - Fork 262
Kill __subclasscheck__ #283
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 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
7d73596
Started #136
ilevkivskyi 20de824
Started #136
ilevkivskyi 8e6f0a6
More work on #136
ilevkivskyi bcde4c6
Finish first round of #136
ilevkivskyi 9987bb2
Shorter error messages
ilevkivskyi 90d72da
Added lru_cache for Generic[]
ilevkivskyi 603ff6d
Flexible cache for Generic[]
ilevkivskyi fa4a681
Skip GenericMeta in FrozenSetMeta MRO
ilevkivskyi cc99972
Revert "Skip GenericMeta in FrozenSetMeta MRO"
ilevkivskyi b587dc0
Remove redundant metaclass for frozenset
ilevkivskyi e25b303
Some formatting
ilevkivskyi 3ccb7a9
Fix async/await tests
ilevkivskyi 0606059
Fixed ContextManger test
ilevkivskyi 8b909d6
Be consistent about _TypeAlias
ilevkivskyi 554f2ed
Removed debugging print()
ilevkivskyi 11189b0
Simplified code
ilevkivskyi 4c91c3b
Increased cache size to 50; start backporting changes to Python 2
ilevkivskyi 1920009
Backport Union and Optional to Python 2
ilevkivskyi f003eca
Finished backport to Python 2; some polishing is needed
ilevkivskyi e130c77
Added many unit tests for bugs fixed by PR
ilevkivskyi fe2d3b7
Updated docstrings and other minor things
ilevkivskyi e4cebff
Optimized caching + first part of response to comments
ilevkivskyi 9b443cb
Second part of response to comments. Need to port all comments etc. t…
ilevkivskyi bd160a1
Start backporting comments to Python2; improve caching
ilevkivskyi 80ce513
Get rid of frozensetmeta, it causes random failures
ilevkivskyi c4f11e8
Backported everything to Python 2
230a500
Do not duplicate real errors while caching
ilevkivskyi e8c85b2
Merge remote-tracking branch 'origin/master'
ilevkivskyi 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
Flexible cache for Generic[]
- Loading branch information
commit 603ff6d8e6285f9aeb4e49df1e7d0ccd46a35294
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rather see
import functools
, like the following imports. (abstractmethod and -property are special because they are used a lot, and also well-known).