how to get isinstance() to pass? #1970
|
I want my Rust code to pass a python (I think I might have asked this in chat months ago but can't find the answer) |
Answered by
birkenfeld
Nov 8, 2021
Replies: 3 comments 1 reply
|
Tricky: the magic method This is why |
1 reply
|
Creating types with custom metaclass seems to be hard to impossible (for abi3) right now from the C API. See https://bugs.python.org/issue15870 for a discussion. |
0 replies
Answer selected by
LegNeato
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Creating types with custom metaclass seems to be hard to impossible (for abi3) right now from the C API. See https://bugs.python.org/issue15870 for a discussion.