-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Crazy type introspection for default similar_type
Make similar_type() work by default in nearly all circumstances, by introspecting the type tree using fsa_abstract(), supertype() and a bunch of other ugly stuff involving `TypeVar`s. Ugh... just ugh, but I hope it'll make it easier for users. * Remove the specialized similar_type() implementations for concrete types as they're no longer needed * Fix up README to reflect the new implementation * Add some extra tests
- Loading branch information
Chris Foster
committed
Jun 1, 2016
1 parent
39a9595
commit a2a762d
Showing
4 changed files
with
89 additions
and
41 deletions.
There are no files selected for viewing
This file contains 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 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 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 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