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

Investigate preventing resurrection of python objects #201

Open
jhugman opened this issue Aug 4, 2020 · 0 comments
Open

Investigate preventing resurrection of python objects #201

jhugman opened this issue Aug 4, 2020 · 0 comments

Comments

@jhugman
Copy link
Contributor

jhugman commented Aug 4, 2020

Should this similarly poison the object on the python side, like we do in Kotlin? IIRC it is possible that someone might subclass one of these and extend __del__ in a way that resurrects the the python-side object after the rust-side destructor has been called. (They really shouldn't do that, but it's possible).

Originally posted by @rfk in #196

┆Issue is synchronized with this Jira Task
┆Issue Number: UNIFFI-10

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