Re: [SQLObject] Obj.destroySelf() and Obj.sync()
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Ian B. <ia...@co...> - 2004-10-20 17:09:37
|
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 |