Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21364

Re: pickle/unpickle class which has changed

From Gelonida N <gelonida@gmail.com>
Subject Re: pickle/unpickle class which has changed
Date 2012-03-08 01:16 +0100
References <jj508q$i1q$1@dough.gmane.org> <jj54q0$mui$1@dough.gmane.org> <jj69on$a9g$1@dough.gmane.org> <jj74qf$bre$1@dough.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.498.1331165808.3037.python-list@python.org> (permalink)

Show all headers | View raw


On 03/07/2012 09:04 AM, Peter Otten wrote:
> Gelonida N wrote:

> If you know in advance that your class will undergo significant changes you 
> may also consider storing more stable data in a file format that can easily 
> be modified, e. g. json.
> 
Good point, that's what I'm partially doing. I just wondered whether
there were already some kind of pre-existing data migration tools /
concepts / helpers like for example south for Django or whether I had to
roll my own migration scheme for persistent non DB data.




Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: pickle/unpickle class which has changed Gelonida N <gelonida@gmail.com> - 2012-03-08 01:16 +0100

csiph-web