Skip to content
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

What to do about __subclasshook__? #21

Closed
RussBaz opened this issue Aug 22, 2016 · 1 comment
Closed

What to do about __subclasshook__? #21

RussBaz opened this issue Aug 22, 2016 · 1 comment

Comments

@RussBaz
Copy link
Owner

RussBaz commented Aug 22, 2016

What should we do about this? I am a bit unsure where to fit this in the current model.

Should this hook replace the entire inheritance check? Should this work only in covariant mode? Or should this be used for all cases other than invariant and expect users to know about this?

@RussBaz
Copy link
Owner Author

RussBaz commented Sep 9, 2016

Implemented in the dev branch and will be available in 0.3.0 release (#25)

NOTE: It is only ignored in two cases: 'invariant' and 'generic' cases. In all other cases it is fully respected.

@RussBaz RussBaz closed this as completed Sep 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant