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

cache on class method fails to pickle properly if in __main__ #3

Closed
mmckerns opened this issue Nov 30, 2013 · 1 comment
Closed

cache on class method fails to pickle properly if in __main__ #3

mmckerns opened this issue Nov 30, 2013 · 1 comment
Labels

Comments

@mmckerns
Copy link
Member

likely due to changes in uqfoundation/dill#12.

For a class defined in __main__ and using a picklemap, caching may fail, or fail to reproduce a unique key for a set of *args **kwds. If using a hashmap, caching behavior works as expected. When the class definition is not in __main__, picklemap works as expected.

@mmckerns
Copy link
Member Author

mmckerns commented Dec 1, 2013

fixed in bdee997

@mmckerns mmckerns closed this as completed Dec 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant