You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I embarked on an adventure to port multiple inheritance support from pybind11 to nanobind via gpt-5.3-codex. I got pretty far, and it occurred to me that probably one could implement this without actually modifying nanobind at all (or at least, in a very limited way).
As I was contemplating nb_type_get, I started searching for other projects and found your polymorphic type caster implementation and the related MI helpers.... so I guess I was right, one can do that. :)
MI is a really common need, so it seems to me that extracting the code into a separate pypi project would be a pretty reasonable thing to do. Are you interested in doing this? If not, I'll probably swipe some of it and do it myself.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I embarked on an adventure to port multiple inheritance support from pybind11 to nanobind via gpt-5.3-codex. I got pretty far, and it occurred to me that probably one could implement this without actually modifying nanobind at all (or at least, in a very limited way).
As I was contemplating
nb_type_get, I started searching for other projects and found your polymorphic type caster implementation and the related MI helpers.... so I guess I was right, one can do that. :)MI is a really common need, so it seems to me that extracting the code into a separate pypi project would be a pretty reasonable thing to do. Are you interested in doing this? If not, I'll probably swipe some of it and do it myself.
Beta Was this translation helpful? Give feedback.
All reactions