pickle and then object changes

James Smith bjlockie at lockie.ca
Tue Jan 20 13:22:42 EST 2015


Say an object like this exists:
class test:
    a = ""
    b = ""

You pickle it.

You change the object definition to have a new field:
class test
    a = ""
    b = ""
    c = ""

You read the pickled object.
Will it load but ignore the new field?
That is what I want.



More information about the Python-list mailing list