pickle's backward compatibility

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Mon Oct 12 17:31:38 CEST 2009

On 03:17 pm, pengyu.ut at gmail.com wrote:
>If I define my own class and use pickle to serialize the objects in
>this class, will the serialized object be successfully read in later
>version of python.
>What if I serialize (using pickle) an object of a class defined in
>python library, will it be successfully read in later version of

Sometimes.  Sometimes not.  Python doesn't really offer any guarantees 
regarding this.


More information about the Python-list mailing list