Re: serialization and versioning

2012-10-13 Thread Dieter Maurer
Neal Becker ndbeck...@gmail.com writes: I wonder if there is a recommended approach to handle this issue. Suppose objects of a class C are serialized using python standard pickling. Later, suppose class C is changed, perhaps by adding a data member and a new constructor argument. It

serialization and versioning

2012-10-12 Thread Neal Becker
I wonder if there is a recommended approach to handle this issue. Suppose objects of a class C are serialized using python standard pickling. Later, suppose class C is changed, perhaps by adding a data member and a new constructor argument. It would see the pickling protocol does not directly

Re: serialization and versioning

2012-10-12 Thread Etienne Robillard
On Fri, 12 Oct 2012 06:42:03 -0400 Neal Becker ndbeck...@gmail.com wrote: I wonder if there is a recommended approach to handle this issue. Suppose objects of a class C are serialized using python standard pickling. Later, suppose class C is changed, perhaps by adding a data member and a

Re: serialization and versioning

2012-10-12 Thread Neal Becker
Etienne Robillard wrote: On Fri, 12 Oct 2012 06:42:03 -0400 Neal Becker ndbeck...@gmail.com wrote: I wonder if there is a recommended approach to handle this issue. Suppose objects of a class C are serialized using python standard pickling. Later, suppose class C is changed, perhaps by

Re: serialization and versioning

2012-10-12 Thread Robert Kern
On 10/12/12 11:42 AM, Neal Becker wrote: I wonder if there is a recommended approach to handle this issue. Suppose objects of a class C are serialized using python standard pickling. Later, suppose class C is changed, perhaps by adding a data member and a new constructor argument. It would see