[ZODB-Dev] Undo in run-time
Barry A. Warsaw
barry@zope.com
Mon, 28 Oct 2002 14:08:47 -0500
>>>>> "JH" == Jeremy Hylton <jeremy@zope.com> writes:
JH> But what happens to the object itself? When undo changes the
JH> object state, the object is updated to use the old-now-current
JH> state. There's no state for the uncreated object, so what
JH> happens to its state?
That's a good question! We can't get rid of the object in the run
state of the program, but maybe we want to add another ZODB lifecycle
state that causes some exception to be raised whenever a GB'd object's
attributes are accessed?
-Barry