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

2000-07-19 Thread Itamar Shtull-Trauring
"Phillip J. Eby" wrote: Doing self.__dict__['name'] = 'Rincewind' seems kinda ugly. Maybe newItem should by default call a function on newly created objects, say __init? I don't want to have to subclass Specialist (or in my case, LoginManager) each time I want to this, since it's a *very*

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

2000-07-19 Thread Phillip J. Eby
At 05:41 PM 7/19/00 +0300, Itamar Shtull-Trauring wrote: class ASPAccount(LoginUser, MemberMixin): def __init__(self, id, title=''): LoginUser.__init__(self, id) self.__dict__['_currentPayment'] = None self.__dict__['debt'] = Payment.Debt(0.0)