This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Philipp.Mölders
Recipients Philipp.Mölders
Date 2011-07-20.16:20:51
SpamBayes Score 5.225046e-06
Marked as misclassified No
Message-id <1311178852.37.0.806818029519.issue12596@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-07-20 16:20:52Philipp.Mölderssetrecipients: + Philipp.Mölders
2011-07-20 16:20:52Philipp.Mölderssetmessageid: <1311178852.37.0.806818029519.issue12596@psf.upfronthosting.co.za>
2011-07-20 16:20:51Philipp.Mölderslinkissue12596 messages
2011-07-20 16:20:51Philipp.Mölderscreate