El jue, 06-03-2008 a las 09:11 +0100, Jürgen Kartnaller escribió:
Has anyone ever reached a similar situation? Any solution?
You can do this on your instance :
del obj.__dict__['attr1']
Oh, so stupidly simple and it did the job perfectly :-)
Thanks Jürgen!
Lorenzo
On Thu, Mar 6, 2008 at 3:11 AM, Jürgen Kartnaller [EMAIL PROTECTED] wrote:
You can do this on your instance :
del obj.__dict__['attr1']
Of course, if that's *all* you do to it, you'll need to set the
changed flag yourself:
obj._p_changed = True
-Fred
--
Fred L. Drake, Jr.