__getattr__ and pickle
Christian Tismer
tismer at appliedbiometrics.com
Thu Jul 6 12:32:15 EDT 2000
More information about the Python-list mailing list
Thu Jul 6 12:32:15 EDT 2000
- Previous message (by thread): __getattr__ and pickle
- Next message (by thread): Singleton COM local/remote server?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Sean Mc Grath wrote: > > Thanks to Christian and Gordon, I think I am well on > the way to pickling Pyxie trees. > > More news anon. Your pickling was just fine. Now your classes need to learn how to unpickle, and that's simple: Add a __setstate__ method that initializes the missing CurPos object. cheers - chris -- Christian Tismer :^) <mailto:tismer at appliedbiometrics.com> Applied Biometrics GmbH : Have a break! Take a ride on Python's Kaunstr. 26 : *Starship* http://starship.python.net 14163 Berlin : PGP key -> http://wwwkeys.pgp.net PGP Fingerprint E182 71C7 1A9D 66E9 9D15 D3CC D4D7 93E2 1FAE F6DF where do you want to jump today? http://www.stackless.com
- Previous message (by thread): __getattr__ and pickle
- Next message (by thread): Singleton COM local/remote server?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list