pickle behavior

Skip Montanaro skip at pobox.com
Wed Oct 24 23:19:05 EDT 2001


    taw> When pickling an object, is the expected behavior that it be
    taw> pickled identically each and every time?

In general, no, you can't rely on this.  Dictionaries, in particular, might
have their key/value pairs serialized in different orders from one time to
the next.

-- 
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list