You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be a side effect of calling the python builtin function hasattr on a treedict object that prevents it from pickling:
To recreate:
frompickleimportdumpsfromtreedictimportTreeDictx=TreeDict(y=1)
dumps(x) # this works first timehasattr(x,'something_random') # returns True, incorrectlydumps(x) # crashes during pickling
The text was updated successfully, but these errors were encountered:
There seems to be a side effect of calling the python builtin function
hasattr
on a treedict object that prevents it from pickling:To recreate:
The text was updated successfully, but these errors were encountered: