Best way to add attributes to shelved objects?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jonathon McKitrick

    Best way to add attributes to shelved objects?


    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.

Working...