Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect multiple inheritance and add py::multiple_inheritance to it #155

Open
virtuald opened this issue Jan 20, 2022 · 1 comment
Open

Comments

@virtuald
Copy link
Member

Similar to #149 , record this information in a .json file and use that to set the flag automatically.

For now, will have to set it manually.

@virtuald
Copy link
Member Author

pybind11 actually will handle this correctly most of the time. The only time that it doesn't handle it is when there's "hidden" MI... eg, the base of your base has MI. I think we might be able to modify pybind11 to detect most of those cases, the only case we'd need something different is if the user ignores a base, then it still needs to be marked as MI... probably. Though, Sendable is ignored everywhere and that's (probably) never caused a problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant