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
-
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