Pickled Object Versioning?

The pickle format has no such proviso. Why don't you just make the "serial version number" part of the object's attributes, to be pickled right along with the rest? Then the "notification" can be trivially had by comparing actual and desired version -- don't see why it should be a PITA.

Yeah, that's the direction I think we are going to take. I think I may have overestimated the level of effort required to add in and check this data. Since we restore all our saved state in one place, adding whatever logic we need (dealing with unversioned objects or objects who were previously unversioned and now are shouldn't be too bad).

Just though I would ping the community to see if pickle provided this behaviour and I was reinventing the wheel. – Paul Osborne Mar 2 '10 at 19:57.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions