Best way to add attributes to shelved objects?
Jonathon McKitrick
jcm at FreeBSD-uk.eu.org
Fri Apr 23 15:39:51 EDT 2004
More information about the Python-list mailing list
Fri Apr 23 15:39:51 EDT 2004
- Previous message (by thread): Best way to add attributes to shelved objects?
- Next message (by thread): Best way to add attributes to shelved objects?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm working on an app that persists a few classes with shelve. But if I load older saved classes, I get an exception in code that uses the new attributes, of course. What is the best way to load these older classes, check for the new attributes, and add them so they will work with the new code? jm -- My other computer is your Windows box.
- Previous message (by thread): Best way to add attributes to shelved objects?
- Next message (by thread): Best way to add attributes to shelved objects?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list