-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add support for generic classes #21
Comments
You mean
don't you? |
d'oh, yes. lemme fix that. |
I would be interested to get this feature implemented in pytypes. Unfortunately I don't have time to work on this right now and it is not a trivial thing to implement.
|
As of Stewori/pytypes@c1c207b the described functionality is provided by pytypes. @chadrik |
Bump on this -- @agronholm how feasible would it be to add support for generic classes? |
It could be, but likely won't be implemented any time soon. I have my hands full with the other features coming in v3.0, and then other projects that urgently require my attention. |
Hello @agronholm |
It would be great to be able to do runtime type checking of generic classes, e.g.:
I sketched out something like this already: https://gist.github.com/chadrik/54d7b3d051839f90983676a47368526b
The text was updated successfully, but these errors were encountered: