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

Serialize local vars early on #2117

Closed
wants to merge 2 commits into from
Closed

Conversation

sentrivana
Copy link
Contributor

@sentrivana sentrivana commented May 16, 2023

No need to have actual references floating around. This also helps us avoid tampering with the underlying objects by mistake later on.

The "proper" way to do this would be to somehow yank var serialization out of the serializer to be able to use it standalone, but this would be a huge undertaking and possible source of bugs due to how complicated the serializer is. Which is doubly problematic given how integral it is. So what I opted for instead is a minimally invasive approach.

WIP: still getting this right and will probably add another test.

No need to have actual references floating around.
@sentrivana
Copy link
Contributor Author

Closing, I think I found a better way.

@sentrivana sentrivana closed this May 17, 2023
@sentrivana sentrivana deleted the ivana/repr-vars-ealier branch May 22, 2023 08:42
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