Replies: 1 comment
-
Is there any updates on this conversation ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
pybind11 is missing a
py::issubclass
functionality, analogous topy::isinstance
.I am thinking of adding something like this to pytypes.h:
However, I am not sure this will work for subclasses of
object
, as they are also handled seperately inpy::isinstance
.I would appreciate your feedback!
Beta Was this translation helpful? Give feedback.
All reactions