-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Function namespace preservation #466
Comments
So far, I have just written a proxy object that is supposed to effectively trap whenever the global variables dictionary is pickled (analogous to trapping segfaults to load memory in demand paging) and update the cache with the keys that have already been written out. I still need to handle pickling the https://github.com/anivegesana/dill/tree/shared_namespace |
@anivegesana: the following is the current behavior in
Which is different than what you are reporting from |
That piece of code works when recurse is off. The issue is that the same equalities don't hold when recurse is on. |
Aha... using |
Continuing the discussion from #462 (comment)
Even cloudpickle's behavior is a little bit finicky and has some unintuitive behavior. I think that there are design decisions that need to be made with regards to how we handle global dictionaries and functions.
The text was updated successfully, but these errors were encountered: