Re: [Zope-dev] Intializing the objects formerly-known-as-RackMountables

2000-07-19 Thread Phillip J. Eby
At 12:42 PM 7/19/00 +0300, Itamar Shtull-Trauring wrote: >I need to do initialize some properties of new instances of a DataSkin >subclass - ASPAccount. However, I can't put this in __init__ since the >object hasn't been stored at that point. > >Doing self.__dict__['name'] = 'Rincewind' seems k

[Zope-dev] Intializing the objects formerly-known-as-RackMountables

2000-07-19 Thread Itamar Shtull-Trauring
I need to do initialize some properties of new instances of a DataSkin subclass - ASPAccount. However, I can't put this in __init__ since the object hasn't been stored at that point. Doing self.__dict__['name'] = 'Rincewind' seems kinda ugly. Maybe newItem should by default call a function on