[ZODB-Dev] How to predict George Bailey?
Toby Dickenson
tdickenson@geminidataloggers.com
Sun, 3 Nov 2002 16:13:50 +0000
On Sunday 03 November 2002 3:48 pm, Magnus Lycka wrote:
> >Ive detected similar cases by adding a special object as a _v_attribut=
e,
> > and used the __del__ of this object to detect deactivation. Maybe tha=
t
> > would help?
>
> Hm... Maybe. Thanks for the suggetion. But would this
> help when an object is uncreated due to undo?
Yes uncreated objects get deactivated too. It is the failure to reactivat=
e=20
that causes the exceptions when they are subsequently accessed.