New submission from Philipp Mölders <philipp.moeld...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue12596>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to