Re: pickle's backward compatibility

2009-10-13 Thread M.-A. Lemburg
exar...@twistedmatrix.com wrote: On 03:17 pm, pengyu...@gmail.com wrote: Hi, 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

Re: pickle's backward compatibility

2009-10-13 Thread exarkun
On 02:48 pm, m...@egenix.com wrote: exar...@twistedmatrix.com wrote: On 03:17 pm, pengyu...@gmail.com wrote: Hi, 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

Re: pickle's backward compatibility

2009-10-13 Thread M.-A. Lemburg
exar...@twistedmatrix.com wrote: On 02:48 pm, m...@egenix.com wrote: exar...@twistedmatrix.com wrote: On 03:17 pm, pengyu...@gmail.com wrote: Hi, 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

pickle's backward compatibility

2009-10-12 Thread Peng Yu
Hi, 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

Re: pickle's backward compatibility

2009-10-12 Thread exarkun
On 03:17 pm, pengyu...@gmail.com wrote: Hi, 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

Re: pickle's backward compatibility

2009-10-12 Thread Gabriel Genellina
En Mon, 12 Oct 2009 12:17:52 -0300, Peng Yu pengyu...@gmail.com escribió: 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. From http://docs.python.org/library/pickle.html: The pickle

Re: pickle's backward compatibility

2009-10-12 Thread Gabriel Genellina
En Mon, 12 Oct 2009 12:17:52 -0300, Peng Yu pengyu...@gmail.com escribió: 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. From http://docs.python.org/library/pickle.html: The pickle