Skip to content

Added tests for double get of a ref in C++ object #1112

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tdavidovicNV
Copy link

This PR references a problem where an object of type Outter that holds a reference to an object of type Inner (both with intrusive pointers) triggers the double set_py_self error when used like this:

outter = Outter()
print(outter.get_inner().get_name())
print(outter.get_inner().get_name()) # hits abort here

This is referenced in #1111

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

Successfully merging this pull request may close these issues.

1 participant