[New-bugs-announce] [issue12596] cPickle - stored data differ for same dictionary

Philipp Mölders report at bugs.python.org
Wed Jul 20 18:20:52 CEST 2011


New submission from Philipp Mölders <philipp.moelders at googlemail.com>:

I think there is a problem within cPickle. I wanted to store a dictionary with only one entry with cPickle.dump() this works fine and can be loaded with cPickle.load(). But if you store the loaded data with cPickle.dump() again, the stored data differ from the first stored data. But the load works fine only the written data on disk differ. I've written a sample script, that shows the problem within code. 
This problem occurs only in the 2.7 version of Python and only with dictionaries with one entry.

----------
components: None
files: cPickletest.py
messages: 140750
nosy: Philipp.Mölders
priority: normal
severity: normal
status: open
title: cPickle - stored data differ for same dictionary
versions: Python 2.7
Added file: http://bugs.python.org/file22706/cPickletest.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12596>
_______________________________________


More information about the New-bugs-announce mailing list