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
Loading the same session after dump creates a different file #195
Comments
You can use |
@matsjoyce thanks for the explanation. I tried using In terms of the ordered json serialization. Did you mean using that over pickle ? |
If you really need consistency, then yes, use json (or msgpack, which is faster and more compact). The only problem you would then have to deal with is dict order randomisation, which can be solved reasonably easily. Of course this won't work if you need to pickle any python object, as json and friends are limited in the number of types they can handle. |
@sb2nov: I don't see the need to do anything here. Is there any reason to not close this issue? |
@mmckerns closing it now |
I have some trouble understanding why the file
c.pkl
would be different fromb.pkl
as we're loading the session we just dumped. Thank you for the help.Sample output
cc: @mmckerns
The text was updated successfully, but these errors were encountered: