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

Pickling a problem removes its context #13

Closed
rileyshahar opened this issue Sep 30, 2021 · 0 comments · Fixed by #14
Closed

Pickling a problem removes its context #13

rileyshahar opened this issue Sep 30, 2021 · 0 comments · Fixed by #14

Comments

@rileyshahar
Copy link
Owner

Found by Jim when testing. This prevents it from capturing its scope, in particular, stops it from accessing any builtins. This is caused because for some reason I thought we needed to unpickle __dict__ as {}; after testing, it seems this is not necessary, so this should be an easy fix.

rileyshahar added a commit that referenced this issue Sep 30, 2021
rileyshahar added a commit that referenced this issue Sep 30, 2021
Mainly for fixing #13.
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 a pull request may close this issue.

1 participant