[issue12596] cPickle - stored data differ for same dictionary
Ramchandra Apte
report at bugs.python.org
Thu Feb 7 13:26:04 CET 2013
Ramchandra Apte added the comment:
Try `./python -R -c "import pickle; print(pickle.dumps({'a':1, 'v':1}))" |md5sum`. The output will differ on subsequent run, while trying `./python -R -c "import pickle; print(pickle.dumps({'a':1}))" |md5sum`, the output is always the same. I suspect because the order of dicts are different on every run (try repr).
----------
nosy: +ramchandra.apte
versions: +Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12596>
_______________________________________
More information about the Python-bugs-list
mailing list