From: Andrew B. <and...@pu...> - 2004-10-20 16:24:19
Hi,
Is it intentional that doing:
Obj.destroySelf()
Obj.sync()
will raise an error?
More generally, what operations on an SQLObject are valid after destroySelf
has been called on it? The current comment of "Kills this object. Kills it
dead!" doesn't tell me very much :)
-Andrew.
Andrew Bennetts wrote:
> Hi,
>
> Is it intentional that doing:
>
> Obj.destroySelf()
> Obj.sync()
>
> will raise an error?
>
> More generally, what operations on an SQLObject are valid after destroySelf
> has been called on it? The current comment of "Kills this object. Kills it
> dead!" doesn't tell me very much :)
Nothing should be valid after an object has been destroyed. The object
is just a corpse at that point; unfortunately there's no way to actually
remove it from the system (except garbage collection, which we don't
control).
--
Ian Bicking / ia...@co... / http://blog.ianbicking.org