Author rb
Recipients loewis, rb
Date 2009-03-20.14:23:28
SpamBayes Score 2.27975e-06
Marked as misclassified No
Message-id <1237559010.8.0.200009208816.issue5518@psf.upfronthosting.co.za>
In-reply-to
Content
Martin,

Sorry, I don't follow. I realise that the refcounts will be different;
but pickling an object should surely be independent of the refcount as
there is no need to include the refcount in the output?

What other way (using pickle or not) can I convert a generic immutable
Python object to a string to use as a key in external storage?

Currently the documentation points out that the output may be different
between pickle and cPickle which implies that the output will be
consistent for a single module.

If pickle is not required to produce consistent output for the same
input (and refcount isn't really part of the input in this case; it is 
a side issue) than can this be documented?
History
Date User Action Args
2009-03-20 14:23:30rbsetrecipients: + rb, loewis
2009-03-20 14:23:30rbsetmessageid: <1237559010.8.0.200009208816.issue5518@psf.upfronthosting.co.za>
2009-03-20 14:23:28rblinkissue5518 messages
2009-03-20 14:23:28rbcreate