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) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Tricky: the magic method This is why |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Looks like there is a task tracking: #906 |
Beta Was this translation helpful? Give feedback.
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.